mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
* Added ability to choose local-exec interpreter * Remove accidental extra file * formatting
This commit is contained in:
committed by
Max Williams
parent
0948c20e1d
commit
edbea30cfc
@@ -8,7 +8,8 @@ resource "null_resource" "update_config_map_aws_auth" {
|
||||
depends_on = ["aws_eks_cluster.this"]
|
||||
|
||||
provisioner "local-exec" {
|
||||
command = "for i in {1..5}; do kubectl apply -f ${var.config_output_path}config-map-aws-auth_${var.cluster_name}.yaml --kubeconfig ${var.config_output_path}kubeconfig_${var.cluster_name} && break || sleep 10; done"
|
||||
command = "for i in {1..5}; do kubectl apply -f ${var.config_output_path}config-map-aws-auth_${var.cluster_name}.yaml --kubeconfig ${var.config_output_path}kubeconfig_${var.cluster_name} && break || sleep 10; done"
|
||||
interpreter = ["${var.local_exec_interpreter}"]
|
||||
}
|
||||
|
||||
triggers {
|
||||
|
||||
Reference in New Issue
Block a user