Skip to content

Commit

Permalink
feat: dynamodb private link always there
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinRodo committed Mar 24, 2021
1 parent b61aca2 commit d341bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion dynamodb_gateway.tf
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d341bca

Please sign in to comment.