Organization module refactor, in-module firewall policy factory for organization and folder (#385)

* move iam and logging to separate files, minimal refactoring

* update README

* fix example

* factory

* tfdoc

* boilerplate

* remove data_folder variable

* tfdoc

* fix default factory name

* add firewall policy to folder module

* add factory example
This commit is contained in:
Ludovico Magnocavallo
2021-12-13 08:41:02 +01:00
committed by GitHub
parent 026d634812
commit 174de3a087
19 changed files with 734 additions and 400 deletions

View File

@@ -28,7 +28,8 @@ locals {
})
}
cidrs = try({ for name, cidrs in yamldecode(file("${var.cidr_template_file}")) :
cidrs = try({
for name, cidrs in yamldecode(file(var.cidr_template_file)) :
name => cidrs
}, {})