Terraform module to create AWS ECS FARGATE services
OTHER License
Bot releases are hidden (Show)
Published by Ohid25 about 1 year ago
BREAKING CHANGE
container_name now must be set for target_group.
This variable can be set via var.container_name or can be set via var.name_prefix.
The purpose behind this change is to accommodate the requirement of using an external container definition where the container name(s) are set externally to the module and, therefore, must be set within target_group.
Please refer to any of the examples to understand this change.
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/7.0.0...8.0.0
Published by Ohid25 over 1 year ago
This applies only if you want to migrate to using external container definitions and are migrating from ~> 6.7.0 to ~> 7.0.0
With the introduction of using an external container definitions module to manage, cloudwatch log groups need to be created externally to the module. The log group arn + enable_logs = false
should then be passed into the module.
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.7.1...7.0.0
Published by Ohid25 over 1 year ago
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.7.0...6.7.1
Published by Ohid25 over 1 year ago
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.6.0...6.7.0
Published by Ohid25 almost 2 years ago
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.5.2...6.6.0
Published by Ohid25 about 2 years ago
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.5.1...6.5.2
Published by Ohid25 over 2 years ago
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.5.0...6.5.1
Published by Ohid25 over 2 years ago
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.2...6.5.0
Published by Ohid25 over 2 years ago
task_health_command
to null by @Ohid25 in https://github.com/umotif-public/terraform-aws-ecs-fargate/pull/49
Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.1...6.4.2
Published by Ohid25 almost 3 years ago
task_health
into two variablesPublished by Ohid25 almost 3 years ago
ephemeral_storage
Published by seanpascual about 3 years ago
Add ability to handle pseudo_terminal
attribute
Published by Ohid25 about 3 years ago
deregistration_delay
attribute to resource aws_lb_target_group
Published by seanpascual about 3 years ago
Published by marcincuber over 3 years ago
Published by marcincuber over 3 years ago
Minimum aws provider set to 3.34.0
Published by Ohid25 over 3 years ago
BREAKING CHANGES:
lb_arn
is no longer used as it was made redundant in a previous release.target_group_name
variable has been replaced with target_groups
.target_groups = [
{
target_group_name = "example"
container_port = 80
}
]
target_group_arns
needs to be referenced with an index number. Example: load_balancer_arn = module.alb.arn
port = "80"
protocol = "HTTP"
default_action {
type = "forward"
# Version 5.1.0 - previous
target_group_arn = module.fargate.target_group_arn
# Version 6.0.0 - current
target_group_arn = module.fargate.target_group_arn[0]
}
}
load_balancer
attribute.target_group
resources will be destroyed and recreated.ENHANCEMENTS:
MIGRATION PROCEDURE:
In your terraform code follow the above changes that need to be made. In the UI, these steps need to be taken:
Once done, run your terraform plan and apply to have a clean migration.
What you will see in your terraform plan and apply are the following:
Published by marcincuber almost 4 years ago
Added new variable task_container_secrets
.
Published by marcincuber almost 4 years ago
Published by marcincuber almost 4 years ago
Release notes:
No migration instructions as long as you satisfy minimum terraform and provider versions.