mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-23 09:51:04 +01:00
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:
committed by
Max Williams
parent
0ee9d633d3
commit
cd7e56c821
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user