Fix idempotency with node group remote_access block (#625)

* add kubernetes provider configuration for managed_node_groups example

* use dynamic block for remote_access

* update changelog
This commit is contained in:
Jeff Hastings
2019-12-11 11:50:09 -05:00
committed by Max Williams
parent 7824e8b263
commit 11d8ee8631
3 changed files with 30 additions and 4 deletions

View File

@@ -23,6 +23,22 @@ provider "template" {
version = "~> 2.1"
}
data "aws_eks_cluster" "cluster" {
name = module.eks.cluster_id
}
data "aws_eks_cluster_auth" "cluster" {
name = module.eks.cluster_id
}
provider "kubernetes" {
host = data.aws_eks_cluster.cluster.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data)
token = data.aws_eks_cluster_auth.cluster.token
load_config_file = false
version = "~> 1.10"
}
data "aws_availability_zones" "available" {
}