Make examples in READMEs runnable and testable

This commit is contained in:
Julio Castillo
2020-11-07 10:28:33 +01:00
parent 3bb8ca5388
commit eecdee63e6
40 changed files with 624 additions and 272 deletions

View File

@@ -6,12 +6,13 @@ Simple Cloud NAT management, with optional router creation.
```hcl
module "nat" {
source = "../modules/net-cloudnat"
source = "./modules/net-cloudnat"
project_id = "my-project"
region = "europe-west1"
name = "default"
router_network = "my-vpc"
}
# tftest:modules=1:resources=2
```
<!-- BEGIN TFDOC -->