Skip to content

Commit

Permalink
limit depends on to kubeconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoucgitter committed Sep 26, 2024
1 parent d6f3220 commit cfe718f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ resource "terraform_data" "run_command" {
command = "kubectl --kubeconfig=${local.kubeconfig_path} patch storageclass gp2 --patch '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"true\"}}}' "
}

depends_on = [module.kubeconfig]
depends_on = [module.kubeconfig.kube_config]
}

# Database Setup - https://registry.terraform.io/modules/terraform-aws-modules/rds/aws/6.2.0
Expand Down

0 comments on commit cfe718f

Please sign in to comment.