Skip to content

this is repo for showcase on how to use localstack with terraform

Notifications You must be signed in to change notification settings

Karabiy/localstack-terraform-example

Repository files navigation

First make sure you've started docker compose. In order to start it you can use

sudo docker-compose up -d 

Now you need to create infra

In order to create it, first you need to download provider binary locally. https://learn.hashicorp.com/tutorials/terraform/install-cli - cli installation
Make sure you've terraform installed.

terraform init

That's the moment of win - you need to run terraform plan in order to check on which resources will be created

terraform plan

In order to create resources, but not only observe which of these could be created, you should run

terraform apply

As you've seen, the base resource which would be created is dynamodb, now you can test its usage with simple python script included here

python3 app-example.py

Useful links

About

this is repo for showcase on how to use localstack with terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published