Skip to content

Commit

Permalink
fix: Failed to create NAT gateway for eks-cluster-with-new-vpc exam…
Browse files Browse the repository at this point in the history
…ple if local zones are enabled (#1095)
  • Loading branch information
aaroniscode authored Oct 27, 2022
1 parent 774da43 commit 0529549
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/eks-cluster-with-new-vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ data "aws_eks_cluster_auth" "this" {
name = module.eks_blueprints.eks_cluster_id
}

data "aws_availability_zones" "available" {}
data "aws_availability_zones" "available" {
filter {
name = "opt-in-status"
values = ["opt-in-not-required"]
}
}

locals {
name = basename(path.cwd)
Expand Down

0 comments on commit 0529549

Please sign in to comment.