Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 21, 2023
1 parent f74f2ce commit d73eeb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpc-interface-endpoint/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ resource "aws_route53_record" "vpce_ptr_info" {

resource "aws_ssm_parameter" "vpce" {
# count = local.r53_create ? 1 : 0
count = local.has_service ? 1 : 0
count = var.create_central_vpc_endpoint && local.has_service ? 1 : 0
name = format("/enterprise/%v/vpc-endpoints/%v/%v", data.aws_arn.current.partition, local.region, data.aws_vpc_endpoint_service.interface_endpoint.service)
description = format("VPC Endpoint details for %v", data.aws_vpc_endpoint_service.interface_endpoint.service)
type = "String"
Expand Down

0 comments on commit d73eeb4

Please sign in to comment.