How to setup Localstack for Terraform Infrastructure Code

preview_player
Показать описание
This episode shows how to setup Localstack and spinning up infrastructure code using Terraform.

This video involves setting up Localstack using docker compose and spinning up the infrastructure written using terraform into this Localstack.

References:

#AWS #Localstack #Terraform #MockingAWS #LambdaFunction #TerraformInDocker
Рекомендации по теме
Комментарии
Автор

this is going to be pretty useful i will try it out, thanks!

Gbzn
Автор

Compact, informative and nothing extraneous... just how I like tech videos!!

paulcarroll
Автор

Hello, thank you for the tutorial! I am wondering if there is a way how to do this easier - etc. having an extra layer - config file with TEST and PROD environment that would be used as a source. Therefore if it is possible to have standard terraform file where just environment would be switched, delivering either localstack or aws configuration and no other changes would be necessary for the files and the lambda function code.
This is quite laborious and requires a lot of changes which breaks the rule of having an environment for testing as close to the production.

Did you encounter any good practice for such use between aws and locastack?

milaburian
Автор

Hi Pablo, Can you please share your github repo for the code in this video

sborngamer
Автор

localstack is a great idea but the poor docs and no UI makes it a bit of a pain.

andreashe