s3-backend-dependencies
axetrading/s3-backend-dependencies/axetrading
Resources for bootstrapping a Terraform setup
Terraform S3 Backend Depdendencies Resources for bootstrapping a Terraform setup. The id parameter is used to prefix the tfstate bucket and tflocks table. It is recommended to set this to the AWS account name and use these prefixes to find the right bucket/table, which protects you from accidentally running Terraform in the wrong account. Requirements | Name | Version | |------|---------| | aws | ~> 4.22 | | github | ~> 4.0 | Providers | Name | Version | |------|---------| | aws | ~> 4.22 | Resources | Name | Type | |------|------| | aws_dynamodb_table.tflocks | resource | | aws_s3_bucket.tfstate | resource | | aws_s3_bucket_ownership_controls.tfstate | resource | | aws_s3_bucket_public_access_block.tfstate | resource | | aws_s3_bucket_server_side_encryption_configuration.tfstate | resourc
| Name | Type | Description | Default |
|---|---|---|---|
| id | string | Unique identifier to include in the name. Use of AWS account name recommended (s | required |
tfstate_bucket_name — Name of the S3 bucket for storing Terraform statetfstate_bucket_arn — ARN of the S3 bucket for storing Terraform statetflocks_table_name — Name of the DynamoDB table for locking Terraform statetflocks_table_arn — ARN of the DynamoDB table for locking Terraform state