This repository has been archived on 2022-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
infra-aws-eks/state/README.md
Patrick MARIE 1425c98072 Use a lockable state repository.
Also, make use of terraform workspaces.
2022-02-19 17:03:41 +01:00

369 B

state

This terraform infra creates mandatory s3 bucket & dynamo db for locks to handle terraform's states.

Usage

$ export AWS_PROFILE=infra-test
$ terraform init
$ terraform plan -var "aws_profile=$AWS_PROFILE" -out tf.plan
$ terraform apply tf.plan
...

$

Once created, other terraform infras' states can be saved in those s3/dynamo's repositories.