mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-04 22:34:38 +02:00
fix: Updated code and version requirements to work with Terraform 0.15 (#1165)
This commit is contained in:
@@ -13,11 +13,10 @@ data "aws_eks_cluster_auth" "cluster" {
|
||||
}
|
||||
|
||||
provider "kubernetes" {
|
||||
host = element(concat(data.aws_eks_cluster.cluster[*].endpoint, list("")), 0)
|
||||
cluster_ca_certificate = base64decode(element(concat(data.aws_eks_cluster.cluster[*].certificate_authority.0.data, list("")), 0))
|
||||
token = element(concat(data.aws_eks_cluster_auth.cluster[*].token, list("")), 0)
|
||||
host = element(concat(data.aws_eks_cluster.cluster[*].endpoint, [""]), 0)
|
||||
cluster_ca_certificate = base64decode(element(concat(data.aws_eks_cluster.cluster[*].certificate_authority.0.data, [""]), 0))
|
||||
token = element(concat(data.aws_eks_cluster_auth.cluster[*].token, [""]), 0)
|
||||
load_config_file = false
|
||||
version = "~> 1.11"
|
||||
}
|
||||
|
||||
module "eks" {
|
||||
|
||||
8
examples/create_false/versions.tf
Normal file
8
examples/create_false/versions.tf
Normal file
@@ -0,0 +1,8 @@
|
||||
terraform {
|
||||
required_version = ">= 0.13.1"
|
||||
|
||||
required_providers {
|
||||
aws = ">= 3.22.0"
|
||||
kubernetes = "~> 1.11"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user