Add test for onprem (VPN) use case in README

This commit is contained in:
Julio Diez 2023-02-24 13:42:14 +01:00
parent 66353ac1cc
commit 1f4d17973b
1 changed files with 18 additions and 0 deletions

View File

@ -221,6 +221,24 @@ 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" # Used as host project
prj_onprem_create = {
billing_account_id = "ABCDE-12345-ABCDE"
parent = "organizations/0123456789"
}
prj_onprem_id = "onprem-project-id"
}
# tftest modules=15 resources=45
```
```hcl
module "test" {
source = "./fabric/blueprints/serverless/cloud-run-corporate"