Difference between revisions of "Template:Provider kubernetes eks"
Jump to navigation
Jump to search
(Created page with " provider "kubernetes" { host = var.cluster_endpoint cluster_ca_certificate = base64decode(var.cluster_ca_cert) exec { api_version = "cli...") |
|||
Line 1: | Line 1: | ||
provider "kubernetes" { | provider "kubernetes" { | ||
host = var.cluster_endpoint | host = var.cluster_endpoint | ||
− | cluster_ca_certificate = base64decode(var.cluster_ca_cert) | + | cluster_ca_certificate = [[base64decode]](var.cluster_ca_cert) |
[[exec]] { | [[exec]] { | ||
api_version = "[[client.authentication.k8s.io/v1alpha1]]" | api_version = "[[client.authentication.k8s.io/v1alpha1]]" |
Latest revision as of 14:53, 8 January 2024
provider "kubernetes" { host = var.cluster_endpoint cluster_ca_certificate = base64decode(var.cluster_ca_cert) exec { api_version = "client.authentication.k8s.io/v1alpha1" args = ["eks", "get-token", "--cluster-name", var.cluster_name] command = "aws" } }
Advertising: