cloudposse-releaser
released this
06 May 04:54
·
15 commits
to refs/heads/main
since this release
🚀 Enhancements
fix: use try on length(var.subnets) @nitrocode (#179)
what
- fix: use try on length(var.subnets)
why
- If the length is used without a try, if subnets are not passed in, the module will fail
- The use case is when the
rds
component is deployed withenabled = false
, it relies on thevpc
component which may not be deployed yet. So theenabled: false
flag is used for both thevpc
andrds
, howeverrds
will still try to retrieve from the remote statevpc
which will try to pass in a null list of subnets which causes this failure - A local plan against this branch results in the correct plan
references
N/A