For learning purposes. Based on https://github.com/terraform-in-action/terraform-aws-s3backend
Name | Version |
---|---|
terraform | >= 0.15 |
aws | ~> 3.28 |
random | ~> 3.0 |
Name | Version |
---|---|
aws | ~> 3.28 |
random | ~> 3.0 |
No modules.
Name | Type |
---|---|
aws_dynamodb_table.dynamodb_table | resource |
aws_iam_policy.iam_policy | resource |
aws_iam_role.iam_role | resource |
aws_iam_role_policy_attachment.policy_attach | resource |
aws_kms_key.kms_key | resource |
aws_resourcegroups_group.resourcegroups_group | resource |
aws_s3_bucket.s3_bucket | resource |
aws_s3_bucket_public_access_block.s3_bucket | resource |
random_string.rand | resource |
aws_caller_identity.current | data source |
aws_iam_policy_document.policy_doc | data source |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
force_destroy_state | Force destroy the s3 bucket containing state files? | bool |
true |
no |
namespace | The project namespace to use for unique resource naming | string |
"team-rocket" |
no |
principal_arns | A list of principal arns allowed to assume the IAM role | list(string) |
null |
no |
Name | Description |
---|---|
config | n/a |