Fix #187 for windows compatibility (#207)

* Added ability to choose local-exec interpreter

* Remove accidental extra file

* formatting
This commit is contained in:
Andrew Roth
2018-12-11 08:55:26 -05:00
committed by Max Williams
parent 0948c20e1d
commit edbea30cfc
4 changed files with 44 additions and 35 deletions

View File

@@ -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 {