Usage
module "terraform_backend" {
source = "github.com/fencepencil/fencepencil-aws-modules//terraform-backend"
bucket_name = "<bucket_name>"
lock_table_name = "<lock_table_name>"
tags = var.tags
}Inputs (5)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
bucket_name | string | S3 bucket name for state | — | yes |
lock_table_name | string | DynamoDB table name for locking | — | yes |
force_destroy | bool | Allow bucket to be destroyed with objects | false | no |
kms_key_arn | string | Optional KMS key ARN for encryption | null | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (4)
| Name | Description |
|---|---|
bucket_name | State S3 bucket name |
bucket_arn | State S3 bucket ARN |
lock_table_name | DynamoDB lock table name |
lock_table_arn | DynamoDB lock table ARN |