Skip to content

Releases: umotif-public/terraform-aws-ecs-fargate

6.4.1

14 Dec 10:59
9409b62
Compare
Choose a tag to compare
  • Split task_health into two variables

6.4.0

20 Oct 15:21
ce6fcd0
Compare
Choose a tag to compare
  • Add ephemeral_storage

6.3.0

30 Sep 09:55
abc8a72
Compare
Choose a tag to compare

Add ability to handle pseudo_terminal attribute

6.2.2

20 Aug 14:55
4a0689d
Compare
Choose a tag to compare
  • Add deregistration_delay attribute to resource aws_lb_target_group

6.2.1

30 Jul 10:24
0a6aff8
Compare
Choose a tag to compare
  • Fixes an issue where the latest task definition revision wasn't always being used for the service

6.2.0: Add tags support for IAM Roles

04 Jun 08:37
656af98
Compare
Choose a tag to compare
add tags iam role (#34)

6.1.0: Add support for enable_execute_command

10 May 09:32
d70029c
Compare
Choose a tag to compare

Minimum aws provider set to 3.34.0

6.0.0: Add support for multiple target groups

09 Feb 15:02
0f07028
Compare
Choose a tag to compare

BREAKING CHANGES:

  • The variable 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.
  • The module now requires you to define the name of the target group(s) in the form of:
target_groups = [
  {
    target_group_name = "example"
    container_port = 80
  }
]
  • A list of 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]
  }
}
  • ECS Service resources will be replaced to replace the load_balancer attribute.
  • target_group resources will be destroyed and recreated.

ENHANCEMENTS:

  • Added a new example to demonstrate the setup of multiple target groups.
  • Utilise default VPC and subnet resources in examples.

MIGRATION PROCEDURE:

In your terraform code follow the above changes that need to be made. In the UI, these steps need to be taken:

  1. Delete any listener rules associated with a target group created by this module.
  2. Delete the target groups

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:

  1. Target groups and listener rules being recreated
  2. ECS Services being destroyed and then recreated

5.1.0: Add support for secrets in ecs task definition

09 Dec 08:41
Compare
Choose a tag to compare

Added new variable task_container_secrets.

5.0.1: fix serviceRegistries port issue

04 Dec 11:01
81ced2e
Compare
Choose a tag to compare
Potential fix to the issue (#26)