A generic remote state storage generator.
|
2 лет назад | |
---|---|---|
.gitignore | 2 лет назад | |
.pre-commit-config.yaml | 2 лет назад | |
.terraform.lock.hcl | 2 лет назад | |
.tflint.hcl | 2 лет назад | |
.tfsec.yaml | 2 лет назад | |
README.md | 2 лет назад | |
config.tf | 2 лет назад | |
dynamodb.tf | 2 лет назад | |
output.tf | 2 лет назад | |
provider.tf | 2 лет назад | |
required_providers.tf | 2 лет назад | |
s3.tf | 2 лет назад |
Creates an S3 bucket and a dynamodb table for terraform remote state storage.
If this is your first time using this module, remove the backend.tf
file, then create fresh via:
terraform apply
Save the output as backend.tf
(replacing the key with a unique string), and run terraform apply
again to migrate the state of this module back to S3.
You can use the output again in other projects.
If you wish to recreate, do not update the config. You must terraform destroy
, remove backend.tf
, make changes, then terraform apply
Name | Version |
---|---|
terraform | >= 1.0 |
aws | ~> 4.0 |
Name | Version |
---|---|
aws | 4.34.0 |
No modules.
Name | Type |
---|---|
aws_dynamodb_table.lock_table | resource |
aws_s3_bucket.state_storage | resource |
aws_s3_bucket_acl.state_storage | resource |
aws_s3_bucket_lifecycle_configuration.state_storage | resource |
aws_s3_bucket_public_access_block.state_storage | resource |
aws_s3_bucket_server_side_encryption_configuration.state_storage | resource |
aws_s3_bucket_versioning.state_storage | resource |
No inputs.
Name | Description |
---|---|
backend_tf | n/a |