Closed eeaton closed 1 month ago
add logic to fail gracefully if the map reference egress_policies.value["from"]["sources"] or ingress_policies.value["from"]["sources"] fails because the "sources" index does not exist. Both the from and sources blocks are optional in provider docs.
egress_policies.value["from"]["sources"]
ingress_policies.value["from"]["sources"]
Issue identified in: https://github.com/terraform-google-modules/terraform-example-foundation/pull/1251#issuecomment-2128298785
/gcbrun
add logic to fail gracefully if the map reference
egress_policies.value["from"]["sources"]
oringress_policies.value["from"]["sources"]
fails because the "sources" index does not exist. Both the from and sources blocks are optional in provider docs.Issue identified in: https://github.com/terraform-google-modules/terraform-example-foundation/pull/1251#issuecomment-2128298785