aws-sam Questions
8
I'm working on a NextJS project where I'm using AWS Amplify for authentication with Amazon Cognito. However, I'm encountering an issue where I receive an error message stating "Auth UserPool n...
Hilarius asked 15/12, 2023 at 17:40
5
I am using SAM CLI to develop an API Gateway Lambda proxy integration. According to the docs, I should be able to use sam local start-api to test my endpoint locally. The start-api command allows f...
Backlog asked 15/11, 2021 at 16:12
5
Please check below is the screenshot it is having problem. Aws credentials are configured correctly and its working fine when we use separately in boto3 but in SAM lambda function trigger it gettin...
2
When running sams locally to test my api gateway and passing environment variables, I can run the command
sam local start-api -n env-vars.json
This works well when the environment variables are ...
Spunk asked 2/5, 2019 at 18:37
2
Solved
I am trying to programmatically set up stages as part of my AWS API Gateway deployment. I am using SAM CLI. The cloudformation docs give the definition:
DeploymentId The ID of the deployment th...
Matusow asked 18/3, 2019 at 21:31
2
I am building a flask lambda application using AWS SAM and my requirements.txt file looks like follows
requests
contentful
flask-lambda
numpy
Recently the flask lambda libraries were updated and si...
2
Solved
I know I can invoke lambdas with sam local and also the command line.
But sometimes it's convenient to test the lambda by invoking it through the UI by configuring a test event there.
Is it possibl...
Implead asked 12/5, 2020 at 23:56
1
I'm creating an API using AWS SAM with an API Gateway to pass requests to multiple Lambda handler functions.
I share code between them so I'd like to use Lambda Layers to avoid rewriting redundant ...
Quean asked 3/5, 2021 at 14:50
1
Solved
I'm new to sam so doing this for the first time. So far I have done sam init & then sam build, these commands work but, when I try to invoke HelloWorldFunction it gives me this error
Sam CLI Ve...
Pinkie asked 6/7, 2023 at 15:16
1
TLDR: My Question & Problem
Using SAM, I want develop and test lambda functions that uses NLTK locally on my machine.
I created a lambda layer to hold the NLTK data files that is required for ...
Cristencristi asked 28/6, 2023 at 5:18
3
I just started building serverless application with aws toolkit in intellij, and I got stuck in this error after executing the template.
Build Failed
Error: JavaMavenWorkflow:Resolver - No Maven e...
Pearlstein asked 23/5, 2020 at 7:40
5
I'm trying out AWS SAM with nodeJS and Typescript using 'sam init', but when I want to build the example hello-world-typescript application using 'sam build', I get the following message:
Building ...
Kling asked 9/6, 2022 at 9:7
3
Solved
I've just gotten started using SAM Local, but am coming up againast an issue when trying to configure an Authorizer function for my endpoints.
I've been looking at the main SAM documentation for ...
Perrone asked 23/8, 2019 at 20:16
2
Solved
When I changed AWS::ApiGateway::Method properties by AWS SAM template and deployed it. but I noticed that change was not reflected until I deploy API manually from AWS management console. I think i...
Figone asked 10/1, 2020 at 4:4
6
Solved
I'm trying to enable CORS in my AWS SAM app. Here is the snippet from my template.yaml:
Globals:
Api:
Cors:
AllowMethods: "'*'"
AllowHeaders: "'*'"
AllowOrigin: "'*'&q...
Buttock asked 12/4, 2021 at 20:16
4
Solved
I want to create a deployment script for some lambda functions using AWS SAM. Two of those functions will be deployed into one account(account A) but will be triggered by an s3 bucket object creati...
Abidjan asked 23/6, 2020 at 22:29
2
Amazon's SAM CLI does not pick up changes without rebuilding. The documentation SOUNDS like I should not have to start/rebuild/restart every time I make a change to a function. In fact, issuing the...
Beshore asked 19/3, 2021 at 18:2
2
Solved
When trying to deploy to AWS using AWS SAM CLI my Lambda functions using the following script:
aws cloudformation deploy --template-file /Users/ndelvalle/Projects/foo/functions/packaged-template.y...
Gert asked 6/9, 2018 at 20:19
1
Solved
PackageType: image seems to require a Dockerfile (looking at the hello-world example) along with ImageUri and Metadata
And it also doesn't want me to use Runtime, Handler, Layers (not even using la...
Salina asked 7/6, 2022 at 23:26
1
Solved
I have a NodeJS AWS Lambda function which generates an e-mail based on a html template file (emailTemplate.html). I started building my lambdas with esbuild via SAM. Now I wonder how I can configur...
Hibbler asked 22/11, 2022 at 14:14
5
Solved
I am trying to create a new AWS Serverless Application on Pycharm but i am getting this error:
Could not execute `sam init`!: [Cloning from https://github.com/aws/aws-sam-cli-app-templates (process...
Wheelchair asked 1/7, 2022 at 10:6
2
I am trying to use aws-sam to develop / simulate my API Gateway locally. My API gateway makes liberal use of the HTTP proxy integrations. The production Resource looks like this:
All of the aws-...
Bacardi asked 12/3, 2019 at 19:15
3
Solved
AWS SAM deploying codebase to AWS cloud using aws-sam-cli but it throw me below error.
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure ...
Hamnet asked 8/9, 2018 at 12:52
1
I'm using SAM. The following setup works:
Function:
Type: AWS::Serverless::Function
Properties:
CodeUri: ./code/
Runtime: go1.x
MemorySize: 64
Handler: main
Events:
TesstApi:
Type: Api
...
Oneeyed asked 13/4, 2020 at 17:20
2
Solved
I am learning AWS SAM and having trouble finding information on how to create an API Key and usage plan through the SAM template.
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-...
Survivor asked 3/3, 2019 at 20:40
1 Next >
© 2022 - 2024 — McMap. All rights reserved.