diff --git a/dynamodb_gateway.tf b/dynamodb_gateway.tf index 94c7aef..064cd22 100644 --- a/dynamodb_gateway.tf +++ b/dynamodb_gateway.tf @@ -1,5 +1,4 @@ resource "aws_vpc_endpoint" "dynamodb" { - count = var.read_dynamodb ? 1 : 0 vpc_id = aws_vpc.main.id vpc_endpoint_type = "Gateway" service_name = "com.amazonaws.ca-central-1.dynamodb" diff --git a/variables.tf b/variables.tf index 114ccd8..6d43c95 100644 --- a/variables.tf +++ b/variables.tf @@ -21,10 +21,10 @@ variable "ssh_public_key" { type = string } -variable "read_dynamodb" { - type = bool - default = false -} +# variable "read_dynamodb" { +# type = bool +# default = false +# } # variable "dynamodb_tables" { # type = list(string)