mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-01 12:54:29 +02:00
feat: Removed ng_depends_on variable and related hack (#1672)
This commit is contained in:
committed by
GitHub
parent
fb3a7ce450
commit
56e93d77de
@@ -18,14 +18,8 @@ module "node_groups" {
|
||||
|
||||
tags = var.tags
|
||||
|
||||
# Hack to ensure ordering of resource creation.
|
||||
# This is a homemade `depends_on` https://discuss.hashicorp.com/t/tips-howto-implement-module-depends-on-emulation/2305/2
|
||||
# Do not create node_groups before other resources are ready and removes race conditions
|
||||
# Ensure these resources are created before "unlocking" the data source.
|
||||
# Will be removed in Terraform 0.13
|
||||
ng_depends_on = [
|
||||
depends_on = [
|
||||
aws_eks_cluster.this,
|
||||
kubernetes_config_map.aws_auth,
|
||||
aws_iam_role_policy_attachment.workers_AmazonEKSWorkerNodePolicy,
|
||||
aws_iam_role_policy_attachment.workers_AmazonEKS_CNI_Policy,
|
||||
aws_iam_role_policy_attachment.workers_AmazonEC2ContainerRegistryReadOnly
|
||||
|
||||
Reference in New Issue
Block a user