Managing Terraform state in AWS S3 bucket. Create S3 bucket for storing the
Terraform state and DynamoDB for keep the Terraform lock.
Resources
- AWS KMS key
- S3 bucket
- S3 bucket server side encryption
- S3 bucket acl and block public access
- S3 bucket versioning
- DynamoDB table
Create S3 bucket and DynamoDB table
main.tf
state.tf