From cebb4b16c5912d44ff092c5c50c32b77e15df98f Mon Sep 17 00:00:00 2001 From: Guillaume Berche Date: Fri, 27 Oct 2017 14:03:47 +0200 Subject: [PATCH] Map the secret full resource to enable tf cross reference other tf states https://www.terraform.io/docs/providers/terraform/d/remote_state.html --- concourse/pipelines/template/depls-pipeline.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concourse/pipelines/template/depls-pipeline.yml.erb b/concourse/pipelines/template/depls-pipeline.yml.erb index 9f2a87a33..a01045638 100755 --- a/concourse/pipelines/template/depls-pipeline.yml.erb +++ b/concourse/pipelines/template/depls-pipeline.yml.erb @@ -931,7 +931,7 @@ jobs: CUSTOM_SCRIPT_DIR: additional-resource/<%= terraform_config_path %>/template SUFFIX: -tpl.tfvars.yml - task: terraform-plan - input_mapping: {secret-state-resource: secrets-full,spec-resource: paas-templates-full} + input_mapping: {secret-state-resource: secrets-full,spec-resource: paas-templates-full, credentials-resource: secrets-full} file: cf-ops-automation/concourse/tasks/terraform_plan_cloudfoundry.yml params: SPEC_PATH: "<%= terraform_config_path %>/spec"