Fixed issue with 'workers_group_defaults_defaults.iam_role_id' and added explicit depends_on for 'update_config_map_aws_auth' (#147)

* fix worker default 'iam_role_id' dependency

* Add explicit depends_on to eks cluster for 'update_config_map_aws_auth'
This commit is contained in:
Matthew Caya
2018-10-09 04:38:00 -04:00
committed by Max Williams
parent 0ee9d633d3
commit cd7e56c821
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ resource "local_file" "config_map_aws_auth" {
}
resource "null_resource" "update_config_map_aws_auth" {
depends_on = ["aws_eks_cluster.this"]
provisioner "local-exec" {
command = "kubectl apply -f ${var.config_output_path}config-map-aws-auth_${var.cluster_name}.yaml --kubeconfig ${var.config_output_path}kubeconfig_${var.cluster_name}"
}