forked from stavxyz/terraform-aws-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
27 lines (21 loc) · 1.15 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
variable "backend_bucket" {}
variable "dynamodb_lock_table_enabled" {
default = 1
description = "Affects terraform-aws-backend module behavior. Set to false or 0 to prevent this module from creating the DynamoDB table to use for terraform state locking and consistency. More info on locking for aws/s3 backends: https://www.terraform.io/docs/backends/types/s3.html. More information about how terraform handles booleans here: https://www.terraform.io/docs/configuration/variables.html"
}
variable "dynamodb_lock_table_stream_enabled" {
default = 0
description = "Affects terraform-aws-backend module behavior. Set to false or 0 to disable DynamoDB Streams for the table. More info on DynamoDB streams: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html. More information about how terraform handles booleans here: https://www.terraform.io/docs/configuration/variables.html"
}
variable "dynamodb_lock_table_stream_view_type" {
default = "NEW_AND_OLD_IMAGES"
}
variable "dynamodb_lock_table_name" {
default = "terraform-lock"
}
variable "lock_table_read_capacity" {
default = 1
}
variable "lock_table_write_capacity" {
default = 1
}