Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatic layer config option doesn't work with cdk approach #2091

Open
rengler33 opened this issue Jan 30, 2024 · 0 comments
Open

automatic layer config option doesn't work with cdk approach #2091

rengler33 opened this issue Jan 30, 2024 · 0 comments

Comments

@rengler33
Copy link

It seems that the automatic_layer = true doesn't work when deploying with cdk deploy.

here is my runtime/.chalice/config.json:

{
  "version": "2.0",
  "app_name": "campster",
  "stages": {
    "dev": {
      "api_gateway_stage": "api",
      "automatic_layer": true,
      "lambda_functions": {
        "api_handler": {
          "environment_variables": {
            "APP_TABLE_NAME": ""
          }
        }
      }
    }
  }
}

When I run cdk deploy, I see a lambda that looks like this (0 layers):
image

Is layering to be expected when using cdk deploy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant