Skip to content

Commit

Permalink
update vpc-endpoints output
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 20, 2023
1 parent 5f18d21 commit 06b2618
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,13 @@ output "vpc_endpoints_ssm" {
"us-gov-west-1" = keys(nonsensitive(local.vpc_endpoints_ssm_west))
}
}

output "vpc_endpoints_ssm_ids" {
description = "VPC Endpoints with ID created by SSM parameter"
value = {
# "us-gov-east-1" = { for k,v in nonsensitive(local.vpc_endpoints_ssm_east): k => v }
# "us-gov-west-1" = { for k,v in nonsensitive(local.vpc_endpoints_ssm_west): k => v }
"us-gov-east-1" = { for k, v in nonsensitive(local.vpc_endpoints_ssm_east) : v.name => v.id }
"us-gov-west-1" = { for k, v in nonsensitive(local.vpc_endpoints_ssm_west) : v.name => v.id }
}
}

0 comments on commit 06b2618

Please sign in to comment.