Skip to content

Commit

Permalink
Update tests for hub and spoke blueprints
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocc committed Feb 8, 2023
1 parent a3dcd08 commit 4830280
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 163 deletions.
17 changes: 17 additions & 0 deletions blueprints/networking/hub-and-spoke-peering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,20 @@ The VPN used to connect the GKE masters VPC does not account for HA, upgrading t
| [vms](outputs.tf#L20) | GCE VMs. | |

<!-- END TFDOC -->

## Test

```hcl
module "test" {
source = "./fabric/blueprints/networking/hub-and-spoke-peering"
prefix = "prefix"
project_create = {
billing_account = "123456-123456-123456"
oslogin = true
parent = "folders/123456789"
}
project_id = "project-1"
}
# tftest modules=22 resources=61
```
15 changes: 15 additions & 0 deletions blueprints/networking/hub-and-spoke-vpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,18 @@ ping test-r2.dev.example.com
| [vms](outputs.tf#L39) | GCE VMs. | |

<!-- END TFDOC -->

## Test
```hcl
module "test" {
source = "./fabric/blueprints/networking/hub-and-spoke-vpn"
prefix = "prefix"
project_create_config = {
billing_account_id = "123456-123456-123456"
parent_id = "folders/123456789"
}
project_id = "project-1"
}
# tftest modules=20 resources=73
```
13 changes: 0 additions & 13 deletions tests/blueprints/networking/hub_and_spoke_peering/__init__.py

This file was deleted.

26 changes: 0 additions & 26 deletions tests/blueprints/networking/hub_and_spoke_peering/fixture/main.tf

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions tests/blueprints/networking/hub_and_spoke_peering/test_plan.py

This file was deleted.

13 changes: 0 additions & 13 deletions tests/blueprints/networking/hub_and_spoke_vpn/__init__.py

This file was deleted.

25 changes: 0 additions & 25 deletions tests/blueprints/networking/hub_and_spoke_vpn/fixture/main.tf

This file was deleted.

23 changes: 0 additions & 23 deletions tests/blueprints/networking/hub_and_spoke_vpn/fixture/variables.tf

This file was deleted.

20 changes: 0 additions & 20 deletions tests/blueprints/networking/hub_and_spoke_vpn/test_plan.py

This file was deleted.

0 comments on commit 4830280

Please sign in to comment.