From 32a88a2af360609e0c893b5cdb97cf4812912e39 Mon Sep 17 00:00:00 2001 From: Or Ouziel Date: Sun, 7 Jan 2024 09:14:04 +0200 Subject: [PATCH] tf 6 --- .github/workflows/test-gcp-dm.yml | 2 +- deploy/gcp/output.tf | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-gcp-dm.yml b/.github/workflows/test-gcp-dm.yml index 29e02a8f2a..5fbbed2136 100644 --- a/.github/workflows/test-gcp-dm.yml +++ b/.github/workflows/test-gcp-dm.yml @@ -59,7 +59,7 @@ jobs: if: success() working-directory: ${{ env.WORKING_DIR }} run: | - terraform -vs + terraform -v terraform init terraform validate terraform apply --auto-approve -var="deployment_name=gcp-ci-test" diff --git a/deploy/gcp/output.tf b/deploy/gcp/output.tf index 93ada7fe6a..baf31964d9 100644 --- a/deploy/gcp/output.tf +++ b/deploy/gcp/output.tf @@ -8,24 +8,24 @@ output "deployment_name" { # Elastic Cloud output # ============================================================= output "elasticsearch_url" { - value = var.serverless_mode ? module.ec_project[0].elasticsearch_url : module.ec_deployment[0].elasticsearch_url + value = module.ec_deployment[0].elasticsearch_url description = "The secure Elasticsearch URL" } output "elasticsearch_username" { - value = var.serverless_mode ? module.ec_project[0].elasticsearch_username : module.ec_deployment[0].elasticsearch_username + value = module.ec_deployment[0].elasticsearch_username description = "The Elasticsearch username" sensitive = true } output "elasticsearch_password" { - value = var.serverless_mode ? module.ec_project[0].elasticsearch_password : module.ec_deployment[0].elasticsearch_password + value = module.ec_deployment[0].elasticsearch_password description = "The Elasticsearch password" sensitive = true } output "kibana_url" { - value = var.serverless_mode ? module.ec_project[0].kibana_url : module.ec_deployment[0].kibana_url + value = module.ec_deployment[0].kibana_url description = "The secure Kibana URL" }