Skip to content

Releases: terraform-aws-modules/terraform-aws-ecs

v5.0.0

21 Apr 11:33
Compare
Choose a tag to compare

5.0.0 (2023-04-21)

⚠ BREAKING CHANGES

  • Add support for creating ECS service and container definition (#76)
    • Add support for creating cluster CloudWatch log group
    • Add support for ECS service connect
    • Add support for creating task execution from cluster module; this is for scenarios where you wish to create one task execution role shared across tasks within the cluster (there is also support for individual task execution role at the service level)
    • Add support for creating container definition within HCL; this is consumed by the service sub-module

Features

  • Add support for creating ECS service and container definition (#76) (57244e6)

v4.1.3

24 Jan 21:40
Compare
Choose a tag to compare

4.1.3 (2023-01-24)

Bug Fixes

  • Use a version for to avoid GitHub API rate limiting on CI workflows (#73) (fbff232)

v4.1.2

07 Nov 19:44
Compare
Choose a tag to compare

4.1.2 (2022-11-07)

Bug Fixes

  • Update CI configuration files to use latest version (#71) (2f68113)

v4.1.1

25 Jul 19:04
Compare
Choose a tag to compare

4.1.1 (2022-07-25)

Bug Fixes

  • Allow for both Fargate and EC2/Autoscaling capacity providers in same cluster (#69) (9cb2b84)

v4.1.0

29 Jun 15:22
Compare
Choose a tag to compare

4.1.0 (2022-06-29)

Features

  • Export cluster name since cluster ID is exporting the ARN (#67) (8c9273f)

v4.0.2

20 Jun 14:00
Compare
Choose a tag to compare

4.0.2 (2022-06-20)

Bug Fixes

  • Complete example EC2 instance cluster joining issue (#64) (81a7a56)

v4.0.1

11 Jun 16:12
Compare
Choose a tag to compare

4.0.1 (2022-06-11)

Bug Fixes

  • Add empty map to execute_command_configuration to avoid plugin crash from interface conversion (#62) (1669236)

v4.0.0

08 Jun 13:26
Compare
Choose a tag to compare

4.0.0 (2022-06-08)

⚠ BREAKING CHANGES

  • Upgrade module to include capacity providers and bump minimum supported versions (#60)

List of backwards incompatible changes

  • Minimum supported version of Terraform AWS provider updated to v4.6 to support the latest resources utilized
  • Minimum supported version of Terraform updated to v1.0
  • ecs-instance-profile sub-module has been removed; this functionality is available through the terraform-aws-modules/terraform-aws-autoscaling module starting with version v6.5.0. Please see the examples/complete example for a demonstration on how to use and integrate with the terraform-aws-autoscaling module.
  • The container_insights and capacity_providers variables have been replaced by new variables - see below for more details

Additional changes

Added

  • Support for aws_ecs_capacity_provider has been added to the module

Modified

  • The container_insights variable has been replaced with the cluster_settings variable which allows users to enable/disable container insights and also allows for not specifying at all for regions where container insights is currently not supported.
  • The capacity_providers variable has been replaced with fargate_capacity_providersand autoscaling_capacity_providers. This allows users to specify either Fargate based capacity providers, EC2 AutoScaling Group capacity providers, or both.
  • Previously capacity_providers and default_capacity_provider_strategy usage looked like:
    capacity_providers = ["FARGATE", "FARGATE_SPOT"]

    default_capacity_provider_strategy = [{
        capacity_provider = "FARGATE"
        weight            = 50
        base              = 20
        }, {
        capacity_provider = "FARGATE_SPOT"
        weight            = 50
    }]

Where the current equivalent now looks like:

    fargate_capacity_providers = {
        FARGATE = {
            default_capacity_provider_strategy = {
                weight = 50
                base   = 20
            }
        }
        FARGATE_SPOT = {
            default_capacity_provider_strategy = {
                weight = 50
            }
        }
    }
  • Previously capacity_providers accepted the name of an AutoScaling Group created externally; this is now replaced by the usage of autoscaling_capacity_providers which incorporates the usage of the newly added support for aws_ecs_capacity_provider

Removed

See the upgrade guide for more details.

v3.5.0

18 Mar 14:47
Compare
Choose a tag to compare

3.5.0 (2022-03-18)

Features

  • Add aws_ecs_cluster_capacity_providers resource (#55) (bff70b3)

v3.4.1

22 Nov 16:08
Compare
Choose a tag to compare

3.4.1 (2021-11-22)

Bug Fixes

  • update CI/CD process to enable auto-release workflow (#51) (c9e282b)