Skip to content

Commit

Permalink
Fixed test case conditions & module variable passing
Browse files Browse the repository at this point in the history
  • Loading branch information
bswenka committed Feb 14, 2024
1 parent 3bfded9 commit fefdcd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions blueprints/networking/psc-glb-and-armor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ The above command will delete the associated resources so there will be no billa

```hcl
module "psc-glb-and-armor-test" {
source = "./fabric/blueprints/networking/psc-glb-and-armor"
prefix = "test"
project_create = true
consumer_project_id = "project-1"
source = "./fabric/blueprints/networking/psc-glb-and-armor"
prefix = "test"
project_create = true
consumer_project_id = "project-1"
producer_a_project_id = "project-2"
producer_b_project_id = "project-3"
}
# tftest modules=3 resources=32
# tftest modules=6 resources=57
```
2 changes: 2 additions & 0 deletions blueprints/networking/psc-glb-and-armor/consumer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ module "consumer_project" {
module "producer_a_project" {
source = "./modules/producer"
producer_project_id = var.producer_a_project_id
project_create = var.project_create
}

module "producer_b_project" {
source = "./modules/producer"
producer_project_id = var.producer_b_project_id
project_create = var.project_create
}

resource "google_compute_region_network_endpoint_group" "psc_neg_a" {
Expand Down

0 comments on commit fefdcd4

Please sign in to comment.