Fix advanced customization docs for Terraform v0.12

* Use Terraform v0.12 syntax in the Container Linux Config
snippet customization docs
This commit is contained in:
Dalton Hubble 2019-06-19 22:11:11 -07:00
parent 3d5be86aae
commit d35c1cb9fb
2 changed files with 8 additions and 10 deletions

View File

@ -78,12 +78,12 @@ module "digital-ocean-nemo" {
controller_count = 1 controller_count = 1
worker_count = 2 worker_count = 2
controller_clc_snippets = [ controller_clc_snippets = [
"${file("./custom-files")}", file("./custom-files"),
"${file("./custom-units")}", file("./custom-units"),
] ]
worker_clc_snippets = [ worker_clc_snippets = [
"${file("./custom-files")}", file("./custom-files"),
"${file("./custom-units")}", file("./custom-units")",
] ]
... ...
} }
@ -100,12 +100,10 @@ module "bare-metal-mercury" {
"node3", "node3",
] ]
clc_snippets = { clc_snippets = {
"node2" = [ "node2" = [file("./units/hello.yaml")]
"${file("./units/hello.yaml")}"
]
"node3" = [ "node3" = [
"${file("./units/world.yaml")}", file("./units/world.yaml"),
"${file("./units/hello.yaml")}", file("./units/hello.yaml"),
] ]
} }
... ...

View File

@ -16,7 +16,7 @@ Create a cluster following the AWS [tutorial](../cl/aws.md#cluster). Define a wo
```tf ```tf
module "tempest-worker-pool" { 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 # AWS
vpc_id = module.aws-tempest.vpc_id vpc_id = module.aws-tempest.vpc_id