From 383228fded1354d752bed6b7f535d2d9b7f104e3 Mon Sep 17 00:00:00 2001 From: Maciej Skierkowski Date: Mon, 11 Dec 2017 22:04:54 -0800 Subject: [PATCH 1/2] Add link to Cirlce CI article --- .../source/guides/packer-on-cicd/build-image-in-cicd.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/guides/packer-on-cicd/build-image-in-cicd.html.md b/website/source/guides/packer-on-cicd/build-image-in-cicd.html.md index 1604d91df..0b8b48c84 100644 --- a/website/source/guides/packer-on-cicd/build-image-in-cicd.html.md +++ b/website/source/guides/packer-on-cicd/build-image-in-cicd.html.md @@ -9,7 +9,7 @@ page_title: Build Images in CI/CD The following guides from our partners show how to use their services to build images with Packer. -- How to Build Immutable Infrastructure with Packer and CircleCI Workflows (coming soon) +- [How to Build Immutable Infrastructure with Packer and CircleCI Workflows](https://circleci.com/blog/how-to-build-immutable-infrastructure-with-packer-and-circleci-workflows/) - [Using Packer and Ansible to Build Immutable Infrastructure in CodeShip](https://blog.codeship.com/packer-ansible/) The majority of the [Packer Builders](/docs/builders/index.html) can run in From 6a91e5273f092e5b6aabb565bf86149c3868bfdd Mon Sep 17 00:00:00 2001 From: Maciej Skierkowski Date: Mon, 11 Dec 2017 22:05:50 -0800 Subject: [PATCH 2/2] Update terraform links to new paths --- website/source/guides/packer-on-cicd/trigger-tfe.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/guides/packer-on-cicd/trigger-tfe.html.md b/website/source/guides/packer-on-cicd/trigger-tfe.html.md index 55d40c65b..48733038c 100644 --- a/website/source/guides/packer-on-cicd/trigger-tfe.html.md +++ b/website/source/guides/packer-on-cicd/trigger-tfe.html.md @@ -48,12 +48,12 @@ complete and uploaded. 1. Add a new step to the CI/CD pipeline. 2. In the new step add a `curl` call to update the variables in the workspace using the [update variables - API](https://www.terraform.io/docs/enterprise-beta/api/variables.html#update-variables), + API](https://www.terraform.io/docs/enterprise/api/variables.html#update-variables), so that Terraform has a reference to the latest image. For the sample configuration above, the `aws_ami_id` variable should be updated to the AMI ID of the latest image. 3. In that same step, add another `curl` call to [create a new run via the - API](https://www.terraform.io/docs/enterprise-beta/api/run.html#create-a-run). + API](https://www.terraform.io/docs/enterprise/api/run.html#create-a-run). A run performs a plan and apply on the last configuration version created, using the variables set in the workspace. In the previous step we update the variables, so the new run can be created using the previous configuration