remove extra outputs

This commit is contained in:
Ludovico Magnocavallo 2022-02-16 14:14:41 +01:00
parent c24abed18d
commit 3da4eedbd9
2 changed files with 12 additions and 23 deletions

View File

@ -106,11 +106,11 @@ terraform apply
## Files
| name | description | modules | resources |
|---|---|---|---|
| [main.tf](./main.tf) | Data Platformy. | <code>data-platform-foundations</code> | |
| [outputs.tf](./outputs.tf) | Output variables. | | <code>local_file</code> |
| [variables.tf](./variables.tf) | Terraform Variables. | | |
| name | description | modules |
|---|---|---|
| [main.tf](./main.tf) | Data Platformy. | <code>data-platform-foundations</code> |
| [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. | | |
<!-- END TFDOC -->

View File

@ -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