Parcourir la source

fix subnetting

Chris Mague il y a 6 ans
Parent
commit
0c1e458783
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      private_subnets.tf

+ 1 - 0
private_subnets.tf

@@ -9,6 +9,7 @@ resource "aws_subnet" "private" {
 resource "aws_eip" "private-nat-eip" {
   count      = "${length(var.vpc-azs)}"
   vpc        = true
+  tags       = merge({ Name = "${var.vpc-name}-nat-eip-${count.index}" }, var.common-tags)
   depends_on = ["aws_internet_gateway.vpc"]
 }