localstack-demo
localstack-demo copied to clipboard
CREATE_FAILED: HttpHandleRequestLambdaFunction
Hi,
I am seeing below error when I try to run the make deploy
command.
Error: CREATE_FAILED: HttpHandleRequestLambdaFunction (AWS::Lambda::Function) Waiter FunctionActiveV2 failed: Waiter encountered a terminal failure state: For expression "Configuration.State" we matched expected path: "Failed"
Can someone please help me resolve this ?
Facing the same issue, did you find a solution?
Yes! I had to start up local stack using the docker-compose.yml file. The docker-compose file for starting SNS service looks like this `version: "3.8"
services:
localstack:
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
image: localstack/localstack
ports:
- "4566:4566" # LocalStack Gateway
environment:
- DEFAULT_REGION=us-east-1
- SERVICES=sns
- DEBUG=1
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
Then I started up localstack using the command
docker-compose up` on my mac.
If you are trying to start up this demo app, you need to add whatever services you plan on using to the 'SERIVCES' parameter on the docker-compose.yml and then start up localstack using the 'docker-compose' file. Then try deploying this app
Hi. We just wanted to follow up on our last message to see whether your issue has been resolved. Were you able to get it working with the instructions we provided? We would appreciate your feedback!