Skip to content

moarpheus/terraform-aws-backend

Repository files navigation

S3 Backend for terraform state with Dynamo DB to hold the lock

Providers

Name Version
aws 5.29.0

Modules

No modules.

Resources

Name Type
aws_dynamodb_table.terraform-lock resource
aws_kms_alias.bucket_kms_key_alias resource
aws_kms_key.bucket_kms_key resource
aws_s3_bucket.state_bucket resource
aws_s3_bucket_lifecycle_configuration.lifecycle_config resource
aws_s3_bucket_ownership_controls.bucket_ownership resource
aws_s3_bucket_policy.state_bucket_policy resource
aws_s3_bucket_public_access_block.block_public_access resource
aws_s3_bucket_server_side_encryption_configuration.encryption_config resource
aws_s3_bucket_versioning.enable_versioning resource
aws_iam_policy_document.bucket_kms_policy data source
aws_iam_policy_document.state_bucket_policy_document data source

Inputs

Name Description Type Default Required
bucket_name S3 Bucket name string n/a yes
bucket_tags n/a map(string) n/a yes
dynamo_db_name Dynamo DB name string n/a yes
managing_arns Compulsory list of managing principal ARNs to avoid creating un-accessible keys list(string) n/a yes
principal_arns Compulsory list of principal ARNs that expected to read and write the tf states into the bucket list(string) n/a yes

Outputs

No outputs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages