From f2c280961275c07982aaf13f8e88ff9a41a566c0 Mon Sep 17 00:00:00 2001 From: allisaurus <34254888+allisaurus@users.noreply.github.com> Date: Mon, 7 Jun 2021 09:28:06 -0700 Subject: [PATCH] docs: Improve ECS routing example nesting (#10316) --- website/content/docs/ecs/get-started/install.mdx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/website/content/docs/ecs/get-started/install.mdx b/website/content/docs/ecs/get-started/install.mdx index 058227f7a..bd6e93fbb 100644 --- a/website/content/docs/ecs/get-started/install.mdx +++ b/website/content/docs/ecs/get-started/install.mdx @@ -367,12 +367,19 @@ module "web" { local_bind_port = 8080 } ] - environment = [ + container_definitions = [ { - name = "BACKEND_URL" - value = "http://localhost:8080" + name = "web" + environment = [ + { + name = "BACKEND_URL" + value = "http://localhost:8080" + } + ] + ... } ] + ... } ```