Skip to content

Commit 6aeebf6

Browse files
committed
test
1 parent faba5b9 commit 6aeebf6

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ allow_github_webhooks = true
234234
| ecs\_service\_deployment\_maximum\_percent | 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 |
235235
| ecs\_service\_deployment\_minimum\_healthy\_percent | 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` | `50` | no |
236236
| ecs\_service\_desired\_count | The number of instances of the task definition to place and keep running | `number` | `1` | no |
237+
| ecs\_service\_platform\_version | The platform version on which to run your service | `string` | `"LATEST"` | no |
237238
| ecs\_task\_cpu | The number of cpu units used by the task | `number` | `256` | no |
238239
| ecs\_task\_memory | The amount (in MiB) of memory used by the task | `number` | `512` | no |
239240
| entrypoint | The entry point that is passed to the container | `list(string)` | `null` | no |

main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ resource "aws_ecs_service" "atlantis" {
583583
)}"
584584
desired_count = var.ecs_service_desired_count
585585
launch_type = var.ecs_fargate_spot ? null : "FARGATE"
586+
platform_version = var.ecs_service_platform_version
586587
deployment_maximum_percent = var.ecs_service_deployment_maximum_percent
587588
deployment_minimum_healthy_percent = var.ecs_service_deployment_minimum_healthy_percent
588589

variables.tf

+6
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ variable "ecs_service_desired_count" {
263263
default = 1
264264
}
265265

266+
variable "ecs_service_platform_version" {
267+
description = "The platform version on which to run your service"
268+
type = string
269+
default = "LATEST"
270+
}
271+
266272
variable "ecs_service_deployment_maximum_percent" {
267273
description = "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"
268274
type = number

0 commit comments

Comments
 (0)