Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation message when running fresh quick-start with EKS #319

Open
lotyp opened this issue Sep 20, 2023 · 0 comments
Open

Deprecation message when running fresh quick-start with EKS #319

lotyp opened this issue Sep 20, 2023 · 0 comments
Labels
EKS good first issue Good for newcomers

Comments

@lotyp
Copy link

lotyp commented Sep 20, 2023

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
}
@pst pst added good first issue Good for newcomers EKS labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EKS good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants