Skip to content

Commit 15d3d84

Browse files
committed
update variable types
1 parent 0d26590 commit 15d3d84

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

variables.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ variable "backend_bucket" {
22
}
33

44
variable "dynamodb_lock_table_enabled" {
5-
default = 1
5+
type = bool
6+
default = true
67
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"
78
}
89

910
variable "dynamodb_lock_table_stream_enabled" {
10-
default = 0
11+
type = bool
12+
default = false
1113
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"
1214
}
1315

@@ -20,10 +22,12 @@ variable "dynamodb_lock_table_name" {
2022
}
2123

2224
variable "lock_table_read_capacity" {
25+
type = number
2326
default = 1
2427
}
2528

2629
variable "lock_table_write_capacity" {
30+
type = number
2731
default = 1
2832
}
2933

0 commit comments

Comments
 (0)