From 3da4eedbd9feae96f84df1987df6b0c3a24fa2a3 Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Wed, 16 Feb 2022 14:14:41 +0100 Subject: [PATCH] remove extra outputs --- fast/stages/03-data-platform/dev/README.md | 24 ++++++++++----------- fast/stages/03-data-platform/dev/outputs.tf | 11 ---------- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/fast/stages/03-data-platform/dev/README.md b/fast/stages/03-data-platform/dev/README.md index fcc7def9..ef0dbc28 100644 --- a/fast/stages/03-data-platform/dev/README.md +++ b/fast/stages/03-data-platform/dev/README.md @@ -106,11 +106,11 @@ terraform apply ## Files -| name | description | modules | resources | -|---|---|---|---| -| [main.tf](./main.tf) | Data Platformy. | data-platform-foundations | | -| [outputs.tf](./outputs.tf) | Output variables. | | local_file | -| [variables.tf](./variables.tf) | Terraform Variables. | | | +| name | description | modules | +|---|---|---| +| [main.tf](./main.tf) | Data Platformy. | data-platform-foundations | +| [outputs.tf](./outputs.tf) | Output variables. | | +| [variables.tf](./variables.tf) | Terraform Variables. | | ## Variables @@ -136,12 +136,12 @@ terraform apply | name | description | sensitive | consumers | |---|---|:---:|---| -| [bigquery_datasets](outputs.tf#L28) | BigQuery datasets. | | | -| [demo_commands](outputs.tf#L58) | Demo commands. | | | -| [gcs_buckets](outputs.tf#L33) | GCS buckets. | | | -| [kms_keys](outputs.tf#L38) | Cloud MKS keys. | | | -| [projects](outputs.tf#L43) | GCP Projects informations. | | | -| [vpc_network](outputs.tf#L48) | VPC network. | | | -| [vpc_subnet](outputs.tf#L53) | VPC subnetworks. | | | +| [bigquery_datasets](outputs.tf#L17) | BigQuery datasets. | | | +| [demo_commands](outputs.tf#L47) | Demo commands. | | | +| [gcs_buckets](outputs.tf#L22) | GCS buckets. | | | +| [kms_keys](outputs.tf#L27) | Cloud MKS keys. | | | +| [projects](outputs.tf#L32) | GCP Projects informations. | | | +| [vpc_network](outputs.tf#L37) | VPC network. | | | +| [vpc_subnet](outputs.tf#L42) | VPC subnetworks. | | | diff --git a/fast/stages/03-data-platform/dev/outputs.tf b/fast/stages/03-data-platform/dev/outputs.tf index aaad3d36..0820b64f 100644 --- a/fast/stages/03-data-platform/dev/outputs.tf +++ b/fast/stages/03-data-platform/dev/outputs.tf @@ -14,17 +14,6 @@ # tfdoc:file:description Output variables. -locals { - tfvars = {} -} - -resource "local_file" "tfvars" { - for_each = var.outputs_location == null ? {} : local.tfvars - filename = "${var.outputs_location}/${each.key}/terraform-dataplatform-dev.auto.tfvars.json" - content = each.value -} - -# outputs output "bigquery_datasets" { description = "BigQuery datasets." value = module.data-platform.bigquery-datasets