From 21cdadd874d78e1f1a1ded15a36a4268d57f36ad Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Tue, 14 Jan 2020 15:56:08 +0000 Subject: [PATCH] Update command variable reference --- README.md | 1 + main.tf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2b78ec0..fc574a79 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ If all provided subnets are public (no NAT gateway) then `ecs_service_assign_pub | atlantis\_bitbucket\_user | Bitbucket username that is running the Atlantis command | string | `""` | no | | atlantis\_bitbucket\_user\_token | Bitbucket token of the user that is running the Atlantis command | string | `""` | no | | atlantis\_bitbucket\_user\_token\_ssm\_parameter\_name | Name of SSM parameter to keep atlantis_bitbucket_user_token | string | `"/atlantis/bitbucket/user/token"` | no | +| atlantis\_command\_line | Command to invoke when running the Atlantis container (as a list of command line items) | list(string) | `["server"]` | no | | atlantis\_github\_user | GitHub username that is running the Atlantis command | string | `""` | no | | atlantis\_github\_user\_token | GitHub token of the user that is running the Atlantis command | string | `""` | no | | atlantis\_github\_user\_token\_ssm\_parameter\_name | Name of SSM parameter to keep atlantis_github_user_token | string | `"/atlantis/github/user/token"` | no | diff --git a/main.tf b/main.tf index 8c5e1bb9..2493902d 100644 --- a/main.tf +++ b/main.tf @@ -414,7 +414,7 @@ module "container_definition_github_gitlab" { container_memory = var.ecs_task_memory container_memory_reservation = var.container_memory_reservation - command = var.command + command = var.atlantis_command_line port_mappings = [ { @@ -453,7 +453,7 @@ module "container_definition_bitbucket" { container_memory = var.ecs_task_memory container_memory_reservation = var.container_memory_reservation - command = var.command + command = var.atlantis_command_line port_mappings = [ {