Copy/paste.
This commit is contained in:
17
terraform/0-provider.tf
Normal file
17
terraform/0-provider.tf
Normal file
@@ -0,0 +1,17 @@
|
||||
provider "helm" {
|
||||
kubernetes {
|
||||
config_path = "~/.kube/config"
|
||||
}
|
||||
}
|
||||
|
||||
# provider "helm" {
|
||||
# kubernetes {
|
||||
# host = aws_eks_cluster.demo.endpoint
|
||||
# cluster_ca_certificate = base64decode(aws_eks_cluster.demo.certificate_authority[0].data)
|
||||
# exec {
|
||||
# api_version = "client.authentication.k8s.io/v1beta1"
|
||||
# args = ["eks", "get-token", "--cluster-name", aws_eks_cluster.demo.id]
|
||||
# command = "aws"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
Reference in New Issue
Block a user