Add tests for factory examples

This commit is contained in:
Julio Castillo
2022-11-16 23:03:29 +01:00
parent 4124ef41fc
commit 7be3288cc7
25 changed files with 163 additions and 42 deletions

View File

@@ -224,13 +224,13 @@ module "folder" {
source = "./fabric/modules/folder"
parent = "organizations/1234567890"
name = "Folder name"
org_policies_data_path = "/my/path"
org_policies_data_path = "configs/org-policies/"
}
# tftest skip
# tftest modules=1 resources=6
```
```yaml
# /my/path/boolean.yaml
# configs/org-policies/boolean.yaml
iam.disableServiceAccountKeyCreation:
enforce: true
@@ -246,7 +246,7 @@ iam.disableServiceAccountKeyUpload:
```
```yaml
# /my/path/list.yaml
# configs/org-policies/list.yaml
compute.vmExternalIpAccess:
deny:
all: true