Files
terraform-modules/remote-state/README.md

3.6 KiB

Requirements

The following requirements are needed by this module:

Providers

The following providers are used by this module:

Modules

The following Modules are called:

states_bucket

Source: terraform-aws-modules/s3-bucket/aws

Version:

Resources

The following resources are used by this module:

Required Inputs

No required inputs.

Optional Inputs

The following input variables are optional (have default values):

bucket_name_override

Description: Explicit name for the remote state bucket. If not specified, the bucket will be named as {name_prefix}-{region_name}-states

Type: string

Default: null

name_prefix

Description: Resource names prefixed by this string.

Type: string

Default: null

table_billing_mode

Description: Table billing mode. Can be PAY_PER_REQUEST or PROVISIONED

Type: string

Default: "PAY_PER_REQUEST"

table_encryption_at_rest

Description: Wheather or not apply encryption at rest for the DynamoDB.

Type: bool

Default: false

table_name_override

Description: Explicit name for the remote state lock DynamoDB table. If not specified, the table will be named as {name_prefix}-{region_name}-tf-state-locks

Type: string

Default: null

table_read_capacity

Description: (Optional) The number of read units for this table. If the billing_mode is PROVISIONED, this field is required

Type: number

Default: 0

table_write_capacity

Description: (Optional) The number of write units for the lock table. If the billing_mode is PROVISIONED, this field is required

Type: number

Default: 0

Outputs

The following outputs are exported:

bucket_name

Description: n/a

kms_key

Description: n/a

lock_table

Description: n/a

lock_table_name

Description: n/a

terraform_policy

Description: n/a