Skip to content

Commit 96f9bdb

Browse files
fix terraform-community-modules#46 - character point in VPC name
1 parent cf261f5 commit 96f9bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data "aws_vpc" "vpc" {
33
}
44

55
locals {
6-
vpc_name = lookup(data.aws_vpc.vpc.tags, "Name", var.vpc_id)
6+
vpc_name = replace(lookup(data.aws_vpc.vpc.tags, "Name", var.vpc_id), ".", "-")
77
}
88

99
resource "random_id" "salt" {

0 commit comments

Comments
 (0)