localstack-demo icon indicating copy to clipboard operation
localstack-demo copied to clipboard

CREATE_FAILED: HttpHandleRequestLambdaFunction

Open ersanir opened this issue 1 year ago • 4 comments

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 ?

ersanir avatar Sep 19 '23 20:09 ersanir

image

ersanir avatar Sep 19 '23 20:09 ersanir

Facing the same issue, did you find a solution?

Jspascal avatar Oct 06 '23 13:10 Jspascal

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 commanddocker-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

ersanir avatar Oct 06 '23 14:10 ersanir

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!

lakkeger avatar Nov 13 '23 15:11 lakkeger