DEV Community

Discussion on: Localstack with Terraform and Docker for running AWS locally

Collapse
 
eduardbargues profile image
Eduard • Edited

Great article!!!
One question: Why are there no lambdas?

  • steps to reproduce: (1) clone repo (2) docker-compose up -d --build terraform init terraform apply --auto-approve (3) aws --endpoint-url=localhost:4566 lambda list-functions
  • received response: (aparently I don't know how to upload images :s ...) { "Functions": [] }
  • expected response:
  • the array should not be empty

  • additional info:
    seems the lambdas were created accordingly to terraform
    Also, in your post you also receive an empty array. What am I missing?

Collapse
 
eduardbargues profile image
Eduard

Found the issue! I was using eu-west-1 as my default aws region. Once I change it everything worked perfectly.

Great article man!! Thank you so much!!