@thukhakyawe
Cloud Engineer | Site Reliability Engineer
Cloud & SRE specializing in AWS and DevOps. I share my ongoing learning journey through practical tutorials and insights. Let's grow together.
Nothing here yet.
Thank you! I see there is minor error. Add the following EIP resource to your main.tf file, preferably before the NAT Gateway resource: Elastic IPs for NAT Gateways (conditional) resource "aws_eip" "nat" { count = local.create_nat_gateway ? local.az_count : 0 domain = "vpc" tags = { Name = "${var.project_name}-${var.environment}-nat-eip-${count.index + 1}" } }