Skip to content

Commit

Permalink
Merge pull request #8 from spring-media/ocp-maps/pen-184
Browse files Browse the repository at this point in the history
Ocp maps/pen 184
  • Loading branch information
as-extern-mbertram authored Sep 18, 2024
2 parents e72d365 + cedb19d commit 7d00393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .spacelift/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: 1

module_version: 0.3.2
module_version: 0.3.3
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
)
)
},
Expand Down

0 comments on commit 7d00393

Please sign in to comment.