Skip to content

Incorrect default value for default_capacity_strategy #27

@karaluh

Description

@karaluh

Describe the Bug

The default value for default_capacity_strategy input has an empty weights argument which causes default_capacity_strategy to be not configured.

Expected Behavior

Default cluster capacity strategy should be configured correctly.

Steps to Reproduce

Apply this example code and check if the default capacity strategy is set:

module "ecs_cluster" {
  source = "cloudposse/ecs-cluster/aws"

  namespace = "eg"
  name      = "example"

  container_insights_enabled      = true
  capacity_providers_fargate      = true
}

Screenshots

No response

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions