Add gcp org policy constraints file to bootstrap stage (#1775)
* add gcp org policy constraints file to bootstrap * make the org policy factories more resilient
This commit is contained in:
committed by
GitHub
parent
b0c552cff5
commit
77a4696aa6
@@ -19,7 +19,7 @@
|
||||
locals {
|
||||
_factory_data_raw = merge([
|
||||
for f in try(fileset(var.org_policies_data_path, "*.yaml"), []) :
|
||||
yamldecode(file("${var.org_policies_data_path}/${f}"))
|
||||
try(yamldecode(file("${var.org_policies_data_path}/${f}")), {})
|
||||
]...)
|
||||
|
||||
# simulate applying defaults to data coming from yaml files
|
||||
|
||||
Reference in New Issue
Block a user