Skip to content

Commit 00d2a1d

Browse files
authored
fix: Fixed wrong count in DMS endpoint (#566)
1 parent 6fbf213 commit 00d2a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpc-endpoints.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ resource "aws_vpc_endpoint" "codeartifact_repositories" {
15351535
# VPC Endpoint for Database Migration Service
15361536
#############################################
15371537
data "aws_vpc_endpoint_service" "dms" {
1538-
count = var.create_vpc && var.dms_endpoint_subnet_ids ? 1 : 0
1538+
count = var.create_vpc && var.enable_dms_endpoint ? 1 : 0
15391539

15401540
service = "dms"
15411541
}

0 commit comments

Comments
 (0)