Commit 00d2a1da authored by Anton Babenko's avatar Anton Babenko Committed by GitHub

fix: Fixed wrong count in DMS endpoint (#566)

parent 6fbf2139
...@@ -1535,7 +1535,7 @@ resource "aws_vpc_endpoint" "codeartifact_repositories" { ...@@ -1535,7 +1535,7 @@ resource "aws_vpc_endpoint" "codeartifact_repositories" {
# VPC Endpoint for Database Migration Service # VPC Endpoint for Database Migration Service
############################################# #############################################
data "aws_vpc_endpoint_service" "dms" { data "aws_vpc_endpoint_service" "dms" {
count = var.create_vpc && var.dms_endpoint_subnet_ids ? 1 : 0 count = var.create_vpc && var.enable_dms_endpoint ? 1 : 0
service = "dms" service = "dms"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment