|
||
---|---|---|
.. | ||
.terraform.lock.hcl | ||
dynamo.tf | ||
main.tf | ||
README.md | ||
s3.tf | ||
variables.tf |
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.