Terraform Kubernetes Provider: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://www.terraform.io/docs/providers/kubernetes/index.html")
 
No edit summary
 
Line 2: Line 2:


* https://www.terraform.io/docs/providers/kubernetes/index.html
* https://www.terraform.io/docs/providers/kubernetes/index.html
=Internal=
* [[Terraform Concepts#Kubernetes|Terraform Concepts]]
=Overview=
=Example=
<syntaxhighlight lang='json'>
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
}
</syntaxhighlight>

Latest revision as of 01:12, 3 March 2020

External

Internal

Overview

Example

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
}