Merge pull request #157 from terraform-google-modules/example-tests

Make examples in READMEs runnable and testable
This commit is contained in:
Julio Castillo
2020-11-07 11:38:19 +01:00
committed by GitHub
42 changed files with 713 additions and 272 deletions

View File

@@ -24,13 +24,14 @@ To have the module auto-create a service account for the nodes, set the `node_se
```hcl
module "cluster-1-nodepool-1" {
source = "../modules/gke-nodepool"
source = "./modules/gke-nodepool"
project_id = "myproject"
cluster_name = "cluster-1"
location = "europe-west1-b"
name = "nodepool-1"
node_service_account_create = true
}
# tftest:modules=1:resources=1
```
<!-- BEGIN TFDOC -->