File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ module "cluster" {
39
39
name = var. name
40
40
link_ecs_to_asg_capacity_provider = var. link_ecs_to_asg_capacity_provider
41
41
asg_arn = module. autoscaling_group . autoscaling_group_arn
42
+
43
+ default_capacity_provider_strategy = var. default_capacity_provider_strategy
44
+ capacity_providers = var. capacity_providers
42
45
}
43
46
44
47
module "service" {
Original file line number Diff line number Diff line change @@ -277,3 +277,15 @@ variable "task_placement_constraints" {
277
277
}))
278
278
default = []
279
279
}
280
+
281
+ variable "capacity_providers" {
282
+ description = " List of short names of one or more capacity providers to associate with the cluster. Valid values also include FARGATE and FARGATE_SPOT."
283
+ type = list (string )
284
+ default = []
285
+ }
286
+
287
+ variable "default_capacity_provider_strategy" {
288
+ description = " The capacity provider strategy to use by default for the cluster. Can be one or more."
289
+ type = list (map (any ))
290
+ default = []
291
+ }
You can’t perform that action at this time.
0 commit comments