remove extra outputs
This commit is contained in:
parent
c24abed18d
commit
3da4eedbd9
|
@ -106,11 +106,11 @@ terraform apply
|
||||||
|
|
||||||
## Files
|
## Files
|
||||||
|
|
||||||
| name | description | modules | resources |
|
| name | description | modules |
|
||||||
|---|---|---|---|
|
|---|---|---|
|
||||||
| [main.tf](./main.tf) | Data Platformy. | <code>data-platform-foundations</code> | |
|
| [main.tf](./main.tf) | Data Platformy. | <code>data-platform-foundations</code> |
|
||||||
| [outputs.tf](./outputs.tf) | Output variables. | | <code>local_file</code> |
|
| [outputs.tf](./outputs.tf) | Output variables. | |
|
||||||
| [variables.tf](./variables.tf) | Terraform Variables. | | |
|
| [variables.tf](./variables.tf) | Terraform Variables. | |
|
||||||
|
|
||||||
## Variables
|
## Variables
|
||||||
|
|
||||||
|
@ -136,12 +136,12 @@ terraform apply
|
||||||
|
|
||||||
| name | description | sensitive | consumers |
|
| name | description | sensitive | consumers |
|
||||||
|---|---|:---:|---|
|
|---|---|:---:|---|
|
||||||
| [bigquery_datasets](outputs.tf#L28) | BigQuery datasets. | | |
|
| [bigquery_datasets](outputs.tf#L17) | BigQuery datasets. | | |
|
||||||
| [demo_commands](outputs.tf#L58) | Demo commands. | | |
|
| [demo_commands](outputs.tf#L47) | Demo commands. | | |
|
||||||
| [gcs_buckets](outputs.tf#L33) | GCS buckets. | | |
|
| [gcs_buckets](outputs.tf#L22) | GCS buckets. | | |
|
||||||
| [kms_keys](outputs.tf#L38) | Cloud MKS keys. | | |
|
| [kms_keys](outputs.tf#L27) | Cloud MKS keys. | | |
|
||||||
| [projects](outputs.tf#L43) | GCP Projects informations. | | |
|
| [projects](outputs.tf#L32) | GCP Projects informations. | | |
|
||||||
| [vpc_network](outputs.tf#L48) | VPC network. | | |
|
| [vpc_network](outputs.tf#L37) | VPC network. | | |
|
||||||
| [vpc_subnet](outputs.tf#L53) | VPC subnetworks. | | |
|
| [vpc_subnet](outputs.tf#L42) | VPC subnetworks. | | |
|
||||||
|
|
||||||
<!-- END TFDOC -->
|
<!-- END TFDOC -->
|
||||||
|
|
|
@ -14,17 +14,6 @@
|
||||||
|
|
||||||
# tfdoc:file:description Output variables.
|
# 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" {
|
output "bigquery_datasets" {
|
||||||
description = "BigQuery datasets."
|
description = "BigQuery datasets."
|
||||||
value = module.data-platform.bigquery-datasets
|
value = module.data-platform.bigquery-datasets
|
||||||
|
|
Loading…
Reference in New Issue