Add another test for VPC-SC in README

This commit is contained in:
Julio Diez 2023-02-24 12:36:12 +01:00
parent 0f7a9a3ce3
commit 8518bffaaa
1 changed files with 24 additions and 0 deletions

View File

@ -221,6 +221,30 @@ The above command will delete the associated resources so there will be no billa
<!-- END TFDOC -->
## Tests
```hcl
module "test" {
source = "./fabric/blueprints/serverless/cloud-run-corporate"
prj_main_create = {
billing_account_id = "ABCDE-12345-ABCDE"
parent = "organizations/0123456789"
}
prj_main_id = "main-project-id"
prj_prj1_create = {
billing_account_id = "ABCDE-12345-ABCDE"
parent = "organizations/0123456789"
}
prj_prj1_id = "project1-id"
access_policy = null
access_policy_create = {
parent = "organizations/0123456789"
title = "vpcsc-cloudrun"
}
tf_identity = "user@example.org"
}
# tftest modules=15 resources=31
```
```hcl
module "test" {
source = "./fabric/blueprints/serverless/cloud-run-corporate"