feat: Add a homemade depends_on for MNG submodule to ensure ordering of resource creation (#867)

This commit is contained in:
Thierno IB. BARRY
2020-06-28 02:31:23 +02:00
committed by GitHub
parent 1e4a908a95
commit 616d30ec67
5 changed files with 27 additions and 19 deletions

View File

@@ -34,3 +34,11 @@ variable "node_groups" {
type = any
default = {}
}
# Hack for a homemade `depends_on` https://discuss.hashicorp.com/t/tips-howto-implement-module-depends-on-emulation/2305/2
# Will be removed in Terraform 0.13 with the support of module's `depends_on` https://github.com/hashicorp/terraform/issues/10462
variable "ng_depends_on" {
description = "List of references to other resources this submodule depends on"
type = any
default = null
}