sam Questions

4

I want to set a stage name for the API Gateway in a SAM template.yaml. But whatever I try I'm not succeeding. Without trying to name my stage, everything works as expected but with the default stag...
Schedule asked 23/6, 2020 at 13:38

5

Solved

I've been struggling so long with the error below. I've tried so many tutorials and stackoverflow answers and none of the solutions fixes my problem. Access to XMLHttpRequest at 'https://xxx' ...

3

Solved

When creating Lambda function through the SAM CLI using template.yaml, I have to pass few environment variables, and they shouldn't be exposed on GitHub. Is there any way I can refer the environmen...
Sherrellsherrer asked 11/3, 2021 at 9:11

3

Yesterday, my SAM build was working with the below GitHub actions. Today it suddenly started failing with an error: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' The ...
Mantra asked 2/1, 2023 at 11:56

2

Solved

I'd like to create a SAM template.yml containing lambda and several sqs's. I'd like to deploy it with parameters but not populate all the sqs's only some depending on the environment I need to depl...
Glyndaglynias asked 15/4, 2020 at 23:7

1

Solved

I am trying to set up an AWS API Gateway with SAM templates. I want to use defined models to validate the incoming event data before inserting it into a database, which I have done through the inte...
Exhibitionist asked 20/5, 2022 at 22:3

3

Solved

How do I find the URL address of the API Gateway after deployment from Command line ? I use a script similar to below to deploy my API Gateway and Authorizer, and it deploys fine. https://github...
Guffey asked 12/6, 2018 at 17:52

3

I've written a SAM stack and I can build, package and deploy it on AWS. I can also use start-local or invoke to test. Now I need to test to other AWS resources. I've added those resources to my SAM...
Danby asked 5/2, 2020 at 14:3

1

Solved

sam build fails with the following error: Error: PythonPipBuilder:ResolveDependencies - {numpy==1.20.3(wheel)} I tried sam build --use-container, but get the same error.
Fencing asked 11/5, 2021 at 16:0

8

Solved

I already have my cognito user pool cloudformation template working, and have it integrated to my api gateway. But somehow i still have to manually configure the app client settings, domain, and fe...

1

Solved

I am writing a serverless app by using SAM. I created a config folder to keep some table information and some other info. then I load it in my app.js. when I deploy the app.js locally by using SA...
Barchan asked 22/10, 2019 at 10:53

1

Solved

I created a stack of lambda functions and I use the ide pycharm to test them on my localhost. In the requirements.txt file I added a reference to a private repository on github. The repository wo...
Gerfen asked 16/6, 2020 at 2:41

1

I'd like to choose a framework for building and deploying AWS services and I need to have a full list of pros/cons to justify one framework over the other. Since this forum doesn't want peopl...
Outgroup asked 8/5, 2020 at 22:21

1

I have a new project that requires a relatively small amount of services, maybe 10 or less (and therefore it is not economical to place each in a separate project repository). Each service will be ...
Jayjaycee asked 15/7, 2018 at 23:52

1

Solved

I want to get started with AWS SAM and I encounter this issue when trying to deploy to the AWS. I am trying to deploy a 'Hello World!'-application that can be found here. This is the error I enco...
Delineator asked 24/1, 2020 at 10:45

1

When I try to deploy package on SAM, the very first status comes in cloud formation console is ROLLBACK_IN_PROGRESS after that it gets changed to ROLLBACK_COMPLETE I have tried deleting the stack ...
Cunningham asked 20/1, 2020 at 13:21
1

© 2022 - 2024 — McMap. All rights reserved.