terraform-aws-ecs-fargate

Terraform module to create AWS ECS FARGATE services

OTHER License

Stars
79
Committers
15

Bot releases are hidden (Show)

terraform-aws-ecs-fargate - 8.0.0 - 5.x compatibility + container_name mandatory Latest Release

Published by Ohid25 about 1 year ago

What's Changed

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

terraform-aws-ecs-fargate - 7.0.0 - Refactored `container_definitions`

Published by Ohid25 over 1 year ago

What's Changed

Potentially Breaking Changes

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

terraform-aws-ecs-fargate - 6.7.1 - Make open egress security rule optional

Published by Ohid25 over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.7.0...6.7.1

terraform-aws-ecs-fargate - 6.7.0 - Add two new features

Published by Ohid25 over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.6.0...6.7.0

terraform-aws-ecs-fargate - 6.6.0 - Add new circuit breaker feature

Published by Ohid25 almost 2 years ago

terraform-aws-ecs-fargate - 6.5.2 - Add entrypoint to task definition parameters

Published by Ohid25 about 2 years ago

terraform-aws-ecs-fargate - 6.5.1

Published by Ohid25 over 2 years ago

terraform-aws-ecs-fargate - 6.5.0

Published by Ohid25 over 2 years ago

Features:

Bug Fixes:

New Contributors

Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.2...6.5.0

terraform-aws-ecs-fargate - 6.4.2 - Updating examples to be compatible with AWS Provider 4.x

Published by Ohid25 over 2 years ago

What's Changed

Full Changelog: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.1...6.4.2

terraform-aws-ecs-fargate - 6.4.1

Published by Ohid25 almost 3 years ago

  • Split task_health into two variables
terraform-aws-ecs-fargate - 6.4.0

Published by Ohid25 almost 3 years ago

  • Add ephemeral_storage
terraform-aws-ecs-fargate - 6.3.0

Published by seanpascual about 3 years ago

Add ability to handle pseudo_terminal attribute

terraform-aws-ecs-fargate - 6.2.2

Published by Ohid25 about 3 years ago

  • Add deregistration_delay attribute to resource aws_lb_target_group
terraform-aws-ecs-fargate - 6.2.1

Published by seanpascual about 3 years ago

  • Fixes an issue where the latest task definition revision wasn't always being used for the service
terraform-aws-ecs-fargate - 6.2.0: Add tags support for IAM Roles

Published by marcincuber over 3 years ago

terraform-aws-ecs-fargate - 6.1.0: Add support for enable_execute_command

Published by marcincuber over 3 years ago

Minimum aws provider set to 3.34.0

terraform-aws-ecs-fargate - 6.0.0: Add support for multiple target groups

Published by Ohid25 over 3 years ago

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
terraform-aws-ecs-fargate - 5.1.0: Add support for secrets in ecs task definition

Published by marcincuber almost 4 years ago

Added new variable task_container_secrets.

terraform-aws-ecs-fargate - 5.0.1: fix serviceRegistries port issue

Published by marcincuber almost 4 years ago

terraform-aws-ecs-fargate - 5.0.0

Published by marcincuber almost 4 years ago

Release notes:

  • Min version of terraform set to 13
  • Min version of terraform provider set to 3.13
  • Add support for terraform 14
  • Drop support for terraform 12
  • Support for wait_for_steady_state ecs service parameter
  • Update examples and docs
  • remove null resource, terraform 0.13 supports depends_on block for modules

No migration instructions as long as you satisfy minimum terraform and provider versions.

Badges
Extracted from project README
GitHub release (latest by date)
Related Projects