Releases: terraform-aws-modules/terraform-aws-ecs
Releases Β· terraform-aws-modules/terraform-aws-ecs
v5.0.0
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
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
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 theterraform-aws-modules/terraform-aws-autoscaling
module starting with version v6.5.0. Please see theexamples/complete
example for a demonstration on how to use and integrate with theterraform-aws-autoscaling
module.- The
container_insights
andcapacity_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 thecluster_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 withfargate_capacity_providers
andautoscaling_capacity_providers
. This allows users to specify either Fargate based capacity providers, EC2 AutoScaling Group capacity providers, or both. - Previously
capacity_providers
anddefault_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 ofautoscaling_capacity_providers
which incorporates the usage of the newly added support foraws_ecs_capacity_provider
Removed
ecs-instance-profile
sub-module has been removed; this functionality is available through theterraform-aws-modules/terraform-aws-autoscaling
module starting with version v6.5.0. Please see theexamples/complete
example for a demonstration on how to use and integrate with theterraform-aws-autoscaling
module.
See the upgrade guide for more details.