serverless-localstack
serverless-localstack copied to clipboard
⚡ Serverless plugin for running against LocalStack
I am creating the ssm param before running "serverless deploy" using the following command `docker run --rm -e AWS_ACCESS_KEY_ID=foobar -e AWS_SECRET_ACCESS_KEY=foobar --network=backend -it amazon/aws-cli secretsmanager --endpoint-url=http://localstack:4566 --region=us-east-1 create-secret --name lambda_secret...
I have a config similar to this: ``` service: apps provider: name: aws runtime: nodejs8.10 stage: ${env:ENVIRONMENT} timeout: 300 memorySize: 256 versionFunctions: false region: ${env:AWS_REGION} environment: ENVIRONMENT: ${env:ENVIRONMENT} MY_URL:${ssm:/path/to/entry} custom:...
I'm a little stuck with this one and appsync: `botocore.errorfactory.MalformedPolicyDocumentException: An error occurred (MalformedPolicyDocument) when calling the PutRolePolicy operation: Resource /aws/appsync/apis/3908675c must be in ARN format or "*"` The Cloudformation...
I have deployed a lambda function with a container image to localstack using this plugin. With `host: http://localstack`, the deploy command worked perfectly, even from within a docker container (VSCode...
Hi! I'm trying to connect in between two containers (one database on a network called `development`) and the other using `serverless-localstack` with the following configuration: ``` localstack: debug: true host:...
I run `localstack start` and then once it is ready I run `sls deploy`. I get this from localstack... ``` 2021-07-27T01:42:08:WARNING:localstack.utils.cloudformation.template_deployer: Error calling with params: {'FunctionName': 'slsfoo-dev-hello', 'Runtime': 'nodejs14.x', 'Role':...
Hi dear devs, would like to know how can I specific the url format or define my own development random id inside the url ? ` endpoint: http://localhost:4566/restapis/hjq33nkd9f/local/_user_request_ functions: hello:...
If mountCode: True deploy crashing other hand mountCode: False deploy is ok. serverless-python-requirements serverless-localstack serverless.yml Slightly modified https://github.com/serverless/examples/tree/master/aws-python-line-echo-bot ```yaml # ⚠️⚠️ REPLACE THIS COMMENT WITH FULL serverless.yml CONTENT service: aws-python-line-echo-bot...
I'm trying to invoke a function locally using localstack and a Golang binary as a handler. If I mount the directory (`mountCode: True`), I get the following message when doing...
``` 2022-01-20T05:14:29.300:DEBUG:localstack.utils.cloudformation.template_deployer: Error applying changes for CloudFormation stack "CFN_STACKNAME": 'str' object has no attribute 'get' Traceback (most recent call last): aws-mocks | File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 1525, in _run aws-mocks |...