File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ module "cluster" {
3939 name = var. name
4040 link_ecs_to_asg_capacity_provider = var. link_ecs_to_asg_capacity_provider
4141 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
4245}
4346
4447module "service" {
Original file line number Diff line number Diff line change @@ -277,3 +277,15 @@ variable "task_placement_constraints" {
277277 }))
278278 default = []
279279}
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