From 77f64e55381c3d40796f6428906c45ab8fd6440d Mon Sep 17 00:00:00 2001 From: Marvin Bertram Date: Wed, 18 Sep 2024 12:47:31 +0200 Subject: [PATCH 1/2] Fix naming for private subnet routing tables --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 301900d18..cfe60d9c7 100644 --- a/main.tf +++ b/main.tf @@ -17,7 +17,7 @@ locals { ) # Use `local.vpc_id` to give a hint to Terraform that subnets should be deleted before secondary CIDR blocks can be free! - vpc_id = try(aws_vpc_ipv4_cidr_block_association.this[0].vpc_id, aws_vpc_ipv4_cidr_block_association.ipam[0].vpc_id, aws_vpc.this[0].id, "") + vpc_id = try(aws_vpc_ipv4_cidr_block_association.this[0].vpc_id, aws_vpc_ipv4_cidr_block_association.ipam[0].vpc_id, aws_vpc.this[0].id, "") create_vpc = var.create_vpc && var.putin_khuylo } @@ -291,7 +291,7 @@ resource "aws_route_table" "private" { "Name" = (var.single_nat_gateway ? "${var.name_prefix}-${var.short_aws_region}-rtb-${var.private_subnet_suffix}" : format("%s-%s%s-rtb-%s", var.name_prefix, var.short_aws_region, substr(element(var.azs, count.index), -1, 1), - var.public_subnet_suffix + var.private_subnet_suffix ) ) }, From cedb19d445be59cb3a2027927e19464204424329 Mon Sep 17 00:00:00 2001 From: Marvin Bertram Date: Wed, 18 Sep 2024 12:48:29 +0200 Subject: [PATCH 2/2] Bump up version --- .spacelift/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.spacelift/config.yml b/.spacelift/config.yml index eae14d053..481ceef0b 100644 --- a/.spacelift/config.yml +++ b/.spacelift/config.yml @@ -1,3 +1,3 @@ version: 1 -module_version: 0.3.2 +module_version: 0.3.3