feat: resource group dependencies #358
Labels
enhancement
New feature or request
PR: Referenced 👀
Issue is referenced in a PR
Type: Enhancement ✨
New feature or request
Description
Consider the scenario where the module is used to create resource group, with the intention these are used by components such as umi's and vnets.
This can be almost be accomplished by setting the
resource_group_creation_enabled
flag and passing in the name of the RG, except there is no dependency in place between these resources and the RG module, and thus it can fail.Q. Is this approach valid, are we at risk of introducing unnecessary dependencies?
Describe the solution you'd like
Proposal is to add dependencies on the RG module. It would also be good to add the RGs to the outputs so components external to the module can make use of them.
Currently I create the resource groups outside the LZ module.
Additional context
The text was updated successfully, but these errors were encountered: