Unable to deploy CloudFormation stack to localstack #362
Unanswered
hem-bhagat-tark
asked this question in
Q&A
Replies: 1 comment
-
@hem-bhagat-tark Good morning. I'm unsure it would work, you may try setting service specific Thanks, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using
dotnet lambda deploy-serverless
command to deploy a serverless application as CloudFormation stack onlocalstack
. I have created a profile for localstack as follows.I have mentioned the profile in
aws-lambda-tools-defaults.json
,However, when I run the command
dotnet lambda deploy-serverless
, I get errorBut, if I set the endpoint URL to
http://localhost:4566
usingAWS_ENDPOINT_URL
env variable before running the command, I get errorThis suggests that the
dotnet lambda
command is not reading theendpoint_url
from profile. Also, it seems like it is usingvirtual-hosted style URLs
which is not working with localstack expecting path style URL (ex: http://localhost:4566/some-bucket).How can I deploy to localstack using this tool?
Beta Was this translation helpful? Give feedback.
All reactions