Open
Description
Followed quick-start to create minimal terraform repository with EKS cluster.
When running plan job there is warning:
╷
│ Warning: Argument is deprecated
│
│ with module.eks_wp01_us-east-1.module.cluster.aws_eip.nat_gw,
│ on .terraform/modules/eks_wp01_us-east-1/aws/_modules/eks/vpc.tf line 43, in resource "aws_eip" "nat_gw":
│ 43: vpc = true
│
│ use domain attribute instead
Probably problem is in this code, where vpc = true
should be changed to domain = "vpc"
resource "aws_eip" "nat_gw" {
count = var.vpc_subnet_map_public_ip == false ? length(var.availability_zones) : 0
tags = local.eks_metadata_tags
vpc = true
}