Commit 96067db1 authored by David Pestana's avatar David Pestana

add provider config

parent 5b01ccb8
......@@ -7,6 +7,13 @@ terraform {
}
}
provider "kubectl" {
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data)
host = data.aws_eks_cluster.cluster.endpoint
token = data.aws_eks_cluster_auth.auth.token
load_config_file = false
}
resource "kubectl_manifest" "letsencrypt-produccion-cluster-issuer" {
yaml_body = <<YAML
apiVersion: cert-manager.io/v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment