From eb42e08721cb10c240a34123524a5338df636f17 Mon Sep 17 00:00:00 2001 From: henrytk Date: Thu, 30 Aug 2018 15:20:53 +0100 Subject: [PATCH] [TMP] - Pin dev version of Terraform container Changed with: ```bash find concourse/ -type f -exec sed -i sed -i '' 's/tag: 9cad30b5d5889a0b72173f39701d1620e24df82c/tag: terraform-aws-provider-upgrade/' {} + ``` Once the Docker image is built and tagged you can update this temporary commit with: ```bash find concourse/ -type f -exec sed -i sed -i '' 's/tag: terraform-aws-provider-upgrade/tag: whatever-the-new-hash-is/' {} + ``` Commit message you can use: Upgrade Terraform AWS provider This is the minimum upgrade required to fix an issue we are having with DNS entries flapping[1]. Documentation for this provider version: [2] [1] terraform-providers/terraform-provider-aws#361 [2] https://github.com/terraform-providers/terraform-provider-aws/tree/v1.8.0/website/docs/r --- concourse/pipelines/create-bosh-concourse.yml | 14 +++++++------- concourse/pipelines/destroy-bosh-concourse.yml | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/concourse/pipelines/create-bosh-concourse.yml b/concourse/pipelines/create-bosh-concourse.yml index 3e466a5bd..512804138 100644 --- a/concourse/pipelines/create-bosh-concourse.yml +++ b/concourse/pipelines/create-bosh-concourse.yml @@ -299,7 +299,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade params: TF_VAR_env: ((deploy_env)) TF_VAR_state_bucket: ((state_bucket)) @@ -416,7 +416,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-tfstate @@ -736,7 +736,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: terraform-variables @@ -1117,7 +1117,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-terraform-outputs @@ -1519,7 +1519,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-tfstate @@ -1556,7 +1556,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-terraform-outputs @@ -1601,7 +1601,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-terraform-outputs diff --git a/concourse/pipelines/destroy-bosh-concourse.yml b/concourse/pipelines/destroy-bosh-concourse.yml index c4593a4d1..731bd8f89 100644 --- a/concourse/pipelines/destroy-bosh-concourse.yml +++ b/concourse/pipelines/destroy-bosh-concourse.yml @@ -163,7 +163,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-terraform-outputs @@ -273,7 +273,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: vpc-terraform-outputs @@ -481,7 +481,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade inputs: - name: paas-bootstrap - name: terraform-variables @@ -540,7 +540,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade params: TF_VAR_env: ((deploy_env)) AWS_DEFAULT_REGION: ((aws_region)) @@ -585,7 +585,7 @@ jobs: type: docker-image source: repository: governmentpaas/terraform - tag: 9cad30b5d5889a0b72173f39701d1620e24df82c + tag: terraform-aws-provider-upgrade params: TF_VAR_env: ((deploy_env)) TF_VAR_state_bucket: ((state_bucket))