Skip to content

Commit

Permalink
Adds input var for platform_version
Browse files Browse the repository at this point in the history
  • Loading branch information
k-k authored Jun 19, 2020
2 parents e77d7fb + d5da476 commit ecf24f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ resource aws_ecs_service service {
name = var.name
cluster = var.cluster_name
launch_type = var.launch_type
platform_version = var.platform_version
task_definition = aws_ecs_task_definition.task.arn
desired_count = var.desired_count
deployment_minimum_healthy_percent = var.deployment_minimum_healthy_percent
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,8 @@ variable scaling_threshold {
description = "The desired value for the `scaling_metric`. Defaults to 70%."
default = 70
}

variable platform_version {
description = "The platform version on which to run your service. Only applicable for launch_type set to FARGATE. Defaults to LATEST."
default = "LATEST"
}

0 comments on commit ecf24f1

Please sign in to comment.