From d35c1cb9fb9f30aff88a40ca370b872da2eeabe0 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Wed, 19 Jun 2019 22:11:11 -0700 Subject: [PATCH] Fix advanced customization docs for Terraform v0.12 * Use Terraform v0.12 syntax in the Container Linux Config snippet customization docs --- docs/advanced/customization.md | 16 +++++++--------- docs/advanced/worker-pools.md | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/advanced/customization.md b/docs/advanced/customization.md index 4bc86eec..b653d9fb 100644 --- a/docs/advanced/customization.md +++ b/docs/advanced/customization.md @@ -78,12 +78,12 @@ module "digital-ocean-nemo" { controller_count = 1 worker_count = 2 controller_clc_snippets = [ - "${file("./custom-files")}", - "${file("./custom-units")}", + file("./custom-files"), + file("./custom-units"), ] worker_clc_snippets = [ - "${file("./custom-files")}", - "${file("./custom-units")}", + file("./custom-files"), + file("./custom-units")", ] ... } @@ -100,12 +100,10 @@ module "bare-metal-mercury" { "node3", ] clc_snippets = { - "node2" = [ - "${file("./units/hello.yaml")}" - ] + "node2" = [file("./units/hello.yaml")] "node3" = [ - "${file("./units/world.yaml")}", - "${file("./units/hello.yaml")}", + file("./units/world.yaml"), + file("./units/hello.yaml"), ] } ... diff --git a/docs/advanced/worker-pools.md b/docs/advanced/worker-pools.md index 719c7bb6..13d1c39e 100644 --- a/docs/advanced/worker-pools.md +++ b/docs/advanced/worker-pools.md @@ -16,7 +16,7 @@ Create a cluster following the AWS [tutorial](../cl/aws.md#cluster). Define a wo ```tf module "tempest-worker-pool" { - source = "git::https://github.com/poseidon/typhoon//aws/container-linux/kubernetes/workers?ref=v1.14.4" + source = "git::https://github.com/poseidon/typhoon//aws/container-linux/kubernetes/workers?ref=v1.14.3" # AWS vpc_id = module.aws-tempest.vpc_id