·
29 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
rdscomponent is deployed withenabled = false, it relies on thevpccomponent which may not be deployed yet. So theenabled: falseflag is used for both thevpcandrds, howeverrdswill still try to retrieve from the remote statevpcwhich 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