18 lines
369 B
Markdown
18 lines
369 B
Markdown
# state
|
|
|
|
This terraform infra creates mandatory s3 bucket & dynamo db for locks to handle terraform's states.
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
$ 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.
|