diff --git a/README.md b/README.md index ff4daa6..7582634 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ No resources. | [default\_certificate\_arn](#input\_default\_certificate\_arn) | (Optional) The ARN of the default SSL server certificate. Required if var.https\_ports is set. | `string` | `null` | no | | [deployment\_maximum\_percent](#input\_deployment\_maximum\_percent) | (Optional) The upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. | `number` | `200` | no | | [deployment\_minimum\_healthy\_percent](#input\_deployment\_minimum\_healthy\_percent) | (Optional) The lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment. | `number` | `100` | no | +| [deployment\_controller](#input\_deployment\_controller) | (Optional) Deployment controller. | `list(string)` | `[]` | no | | [desired\_count](#input\_desired\_count) | (Optional) The number of instances of the task definition to place and keep running. Defaults to 0. | `number` | `1` | no | | [disable\_networking](#input\_disable\_networking) | When this parameter is true, networking is disabled within the container. | `bool` | `null` | no | | [dns\_search\_domains](#input\_dns\_search\_domains) | Container DNS search domains. A list of DNS search domains that are presented to the container | `list(string)` | `[]` | no | diff --git a/main.tf b/main.tf index 8b9bd6e..ddeb5a1 100644 --- a/main.tf +++ b/main.tf @@ -84,6 +84,7 @@ module "ecs-fargate-service" { ecs_cluster_arn = module.ecs-cluster.aws_ecs_cluster_cluster_arn deployment_maximum_percent = var.deployment_maximum_percent deployment_minimum_healthy_percent = var.deployment_minimum_healthy_percent + deployment_controller = var.deployment_controller desired_count = var.desired_count enable_ecs_managed_tags = var.enable_ecs_managed_tags enable_execute_command = var.enable_execute_command diff --git a/variables.tf b/variables.tf index a3ad5c1..58e8929 100644 --- a/variables.tf +++ b/variables.tf @@ -411,6 +411,12 @@ variable "deployment_minimum_healthy_percent" { default = 100 } +variable "deployment_controller" { + description = "(Optional) Deployment controller" + type = list(string) + default = [] +} + variable "desired_count" { description = "(Optional) The number of instances of the task definition to place and keep running. Defaults to 0." type = number