You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: module "something": "depends_on" is not a valid argument
Expected Behavior
As per the documentation and a lot of other similar issues (mostly complaining that a module cannot depends_on a resource created in in another module) in which terraform is saying that a module can depends_on a resource, the expected behaviour is that the resource mentioned in the depends_on will be created before the module.
please note that this is not a duplicate of #18239, #10462 or #10603, those issues are talking about referencing a resource created in another module, while this is just talking about referencing another resource that hasn't been created as part of a module.
The text was updated successfully, but these errors were encountered:
Sorry about any confusion here, as the other issues have often digress onto other tracks, but If I understand you correctly, this really is a duplicate of #10462. The error you see is because depends_on isn't valid in a module block, which is expected because that configuration option isn't supported at this time.
If there is documentation implying that depends_on can be used within the module block, please let us know so that it can be updated in the meantime.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 2, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Crash Output
Error: module "something": "depends_on" is not a valid argument
Expected Behavior
As per the documentation and a lot of other similar issues (mostly complaining that a module cannot
depends_on
a resource created in in another module) in which terraform is saying that a module candepends_on
a resource, the expected behaviour is that the resource mentioned in thedepends_on
will be created before the module.Actual Behavior
getting an error
References
Additional Context
please note that this is not a duplicate of #18239, #10462 or #10603, those issues are talking about referencing a resource created in another module, while this is just talking about referencing another resource that hasn't been created as part of a module.
The text was updated successfully, but these errors were encountered: