diff --git a/deploy/tf/ecs/ecs.tf b/deploy/tf/ecs/ecs.tf index fe181ba..971cf09 100644 --- a/deploy/tf/ecs/ecs.tf +++ b/deploy/tf/ecs/ecs.tf @@ -62,6 +62,9 @@ module "ecs" { cpu = 512 memory = 1024 + # wait for service to reach steady state + wait_for_steady_state = true + # Container definition(s) container_definitions = { api = { diff --git a/deploy/tf/ssm-parameter/main.tf b/deploy/tf/ssm-parameter/main.tf deleted file mode 100644 index 290f69c..0000000 --- a/deploy/tf/ssm-parameter/main.tf +++ /dev/null @@ -1,7 +0,0 @@ -locals { - params = jsondecode(data.aws_ssm_parameter.shared.value) -} - -data "aws_ssm_parameter" "shared" { - name = var.parameter_name -} diff --git a/deploy/tf/ssm-parameter/outputs.tf b/deploy/tf/ssm-parameter/outputs.tf deleted file mode 100644 index ae346cf..0000000 --- a/deploy/tf/ssm-parameter/outputs.tf +++ /dev/null @@ -1,3 +0,0 @@ -output "parameter_values" { - value = nonsensitive(local.params) -} diff --git a/deploy/tf/ssm-parameter/variables.tf b/deploy/tf/ssm-parameter/variables.tf deleted file mode 100644 index b8c86f6..0000000 --- a/deploy/tf/ssm-parameter/variables.tf +++ /dev/null @@ -1,3 +0,0 @@ -variable "parameter_name" { - type = string -}