aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

Results 385 aws-sam-cli issues
Sort by recently updated
recently updated
newest added

### Description: I am writing a CDK Stack that deploys a Lambda that uses the Parameters and Secrets extension. When I try to `local invoke` it fails with the error...

type/question
blocked/close-if-inactive
area/local/invoke
area/local

When running sam build --build-in-source, the build process fails for the lambda function with an esbuild error. However, sam build without the --build-in-source flag works successfully. **Steps to reproduce:** Set...

type/bug
area/build

### Description: In one project, I'm outputting a Lambda layer: ``` Outputs: LayerArn: Description: "" Value: !Ref LayerResource Export: Name: LayerArn ``` In a separate project, I want to import...

type/question
blocked/close-if-inactive
area/local

aws-cli version : 2.17.59 sam verison : 1.124.0 im running on wsl2 ![image](https://github.com/user-attachments/assets/53e2008c-1b3a-4c8d-ba87-06593f772250)

blocked/more-info-needed
area/local/invoke

### Description: When using the `sam local invoke` command on Windows, the `--debug-port` (or `-d`) argument does not seem to be applied, which prevents the debugging process from starting. ###...

area/docker
blocked/more-info-needed
area/local/invoke
stage/bug-repro

Since version 1.124.0 I can no longer build an aws sam template with a lambda function inside in nodejs log: > Running workflow 'NodejsNpmBuilder' > 2024-09-23 14:17:50,494 | Running NodejsNpmBuilder:NpmPack...

blocked/more-info-needed
area/build
area/node-npm

### Description: There are LambdaFunction & LambdaLayer in the my SAM template. LambdaLayer has BuildMethod: makefile command `sam build with parameter --manifest (-m)` leads to error **Build Failed Error: CustomMakeBuilder:MakeBuild...

blocked/close-if-inactive
area/node-npm

Currently the calls to terraform use a hardcoded set of flags. There are some use cases where passing additional flags would be helpful, such as the -var/-var-file flags to provide...

type/feature
stage/pm-review
area/terraform

### Description: Got this error when trying to test my lambda authorizer locally with `sam build` and `sam local start-api`: `Unable to parse the Lambda ARN for Authorizer 'LambdaAuthorizer', skipping`...

blocked/more-info-needed
area/local/start-api
area/intrinsics
stage/bug-repro

### Describe your idea/feature/enhancement There is a custom build method called donet7 shown here: https://github.com/aws/aws-sam-cli/blob/9f956dfa7760c50b86f79c1d86bef5a1b61e9e6f/samcli/lib/build/workflow_config.py#L150 This command isn't really specific to version 7 of .NET since it just calls into...

type/feature
area/build