From b031d7add55fd629a26fb3fe33e179f17de9007b Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Sun, 18 Dec 2022 20:37:16 +0100 Subject: [PATCH] Fix tests --- .../network-dashboard/deploy-cloud-function/README.md | 2 +- .../tfc-workflow-using-wif/tfc-oidc/README.md | 2 +- .../factories/cloud-identity-group-factory/README.md | 6 +++--- blueprints/factories/net-vpc-firewall-yaml/README.md | 10 +++++----- blueprints/networking/hub-and-spoke-vpn/README.md | 6 +++--- modules/projects-data-source/README.md | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/README.md b/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/README.md index 15288b557..bf1d7b5cf 100644 --- a/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/README.md +++ b/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/README.md @@ -55,7 +55,7 @@ tf output -raw troubleshooting_payload A monitoring dashboard can be optionally be deployed int he same project by setting the `dashboard_json_path` variable to the path of a dashboard JSON file. A sample dashboard is in included, and can be deployed with this variable configuration: -```hcl +```tfvars dashboard_json_path = "../dashboards/quotas-utilization.json" ``` diff --git a/blueprints/cloud-operations/terraform-enterprise-wif/tfc-workflow-using-wif/tfc-oidc/README.md b/blueprints/cloud-operations/terraform-enterprise-wif/tfc-workflow-using-wif/tfc-oidc/README.md index 534d65992..fd869ae1a 100644 --- a/blueprints/cloud-operations/terraform-enterprise-wif/tfc-workflow-using-wif/tfc-oidc/README.md +++ b/blueprints/cloud-operations/terraform-enterprise-wif/tfc-workflow-using-wif/tfc-oidc/README.md @@ -7,7 +7,7 @@ This is a helper module to prepare GCP Credentials from Terraform Enterprise wor module "tfe_oidc" { source = "./tfc-oidc" - impersonate_service_account_email = "tfe-test@tfe-test-wif.iam.gserviceaccount.com" + impersonate_service_account_email = "tfe-test@tfe-test-wif.iam.gserviceaccount.com" } provider "google" { diff --git a/blueprints/factories/cloud-identity-group-factory/README.md b/blueprints/factories/cloud-identity-group-factory/README.md index 052b9a4af..b833304eb 100644 --- a/blueprints/factories/cloud-identity-group-factory/README.md +++ b/blueprints/factories/cloud-identity-group-factory/README.md @@ -11,9 +11,9 @@ Yaml abstraction for Groups can simplify groups creation and members management. ```hcl module "prod-firewall" { source = "./fabric/blueprints/factories/cloud-identity-group-factory" - - customer_id = "customers/C0xxxxxxx" - data_dir = "data" + + customer_id = "customers/C0xxxxxxx" + data_dir = "data" } # tftest skip ``` diff --git a/blueprints/factories/net-vpc-firewall-yaml/README.md b/blueprints/factories/net-vpc-firewall-yaml/README.md index 26e85c5d8..5e7260e94 100644 --- a/blueprints/factories/net-vpc-firewall-yaml/README.md +++ b/blueprints/factories/net-vpc-firewall-yaml/README.md @@ -14,14 +14,14 @@ Nested folder structure for yaml configurations is optionally supported, which a module "prod-firewall" { source = "./fabric/blueprints/factories/net-vpc-firewall-yaml" - project_id = "my-prod-project" - network = "my-prod-network" + project_id = "my-prod-project" + network = "my-prod-network" config_directories = [ "./prod", "./common" ] - log_config = { + log_config = { metadata = "INCLUDE_ALL_METADATA" } } @@ -29,8 +29,8 @@ module "prod-firewall" { module "dev-firewall" { source = "./fabric/blueprints/factories/net-vpc-firewall-yaml" - project_id = "my-dev-project" - network = "my-dev-network" + project_id = "my-dev-project" + network = "my-dev-network" config_directories = [ "./dev", "./common" diff --git a/blueprints/networking/hub-and-spoke-vpn/README.md b/blueprints/networking/hub-and-spoke-vpn/README.md index 4f580ed82..5f596142f 100644 --- a/blueprints/networking/hub-and-spoke-vpn/README.md +++ b/blueprints/networking/hub-and-spoke-vpn/README.md @@ -35,12 +35,12 @@ You can easily create such a project by commenting turning on project creation i ```hcl module "project" { - source = "../../../modules/project" - name = var.project_id + source = "../../../modules/project" + name = var.project_id # comment or remove this line to enable project creation # project_create = false # add the following line with your billing account id value - billing_account = "12345-ABCD-12345" + billing_account = "12345-ABCD-12345" services = [ "compute.googleapis.com", "dns.googleapis.com" diff --git a/modules/projects-data-source/README.md b/modules/projects-data-source/README.md index 6fd7dd8ab..e48ac9770 100644 --- a/modules/projects-data-source/README.md +++ b/modules/projects-data-source/README.md @@ -31,7 +31,7 @@ output "folders" { module "my-dev" { source = "./fabric/modules/projects-data-source" parent = "folders/123456789" - filter = "labels.env:DEV lifecycleState:ACTIVE" + filter = "labels.env:DEV lifecycleState:ACTIVE" } output "dev-projects" {