Skip to content

feat: Add support for ECS Express service#389

Merged
bryantbiggs merged 3 commits intoterraform-aws-modules:masterfrom
bryantbiggs:feat/express-mode
Jan 13, 2026
Merged

feat: Add support for ECS Express service#389
bryantbiggs merged 3 commits intoterraform-aws-modules:masterfrom
bryantbiggs:feat/express-mode

Conversation

@bryantbiggs
Copy link
Copy Markdown
Member

@bryantbiggs bryantbiggs commented Jan 13, 2026

Description

  • Add support for ECS Express service

Motivation and Context

Caution

For those who have arrived here due to issues with ECS Express, please consider the following:
a. If you are experiencing issues with constant diffs, please open an issue on the AWS provider if one does not already exist. We cannot control that behavior here, and the lifecycle ignore_changes is only a hack that ultimately is not desirable in this situation. Those changes to clean up the persistent changes within the Terraform diff need to be corrected and handled at the provider
b. If you are experiencing issues with the service, please open a ticket through your AWS console/account manager or file a feature request on the containers roadmap. There are a number of deficiencies with ECS Express service (resources created outside of IaC that users cannot control through IaC, dangling/orphaned resources, dependency and ordering not respected, etc.) that users will need to surface with the ECS team in order to get those deficiencies corrected/remediated

From a module perspective, we simply surface what is provided via the AWS APIs and make it easier to consume those services by providing the necessary components (IAM roles, permissions, security groups, cloudwatch log groups, etc.) to allow users to create the respective resources easily and efficiently via Terraform

Breaking Changes

  • No, but the service is awful. You're better off with AppRunner which is doing the same thing in a less clunky and more IaC friendly way

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bryantbiggs bryantbiggs marked this pull request as ready for review January 13, 2026 17:01
Copy link
Copy Markdown
Member

@antonbabenko antonbabenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid!

}

# ECS holds on to the service names for indefinitely
# And people wonder why ECS isn't used more ¯\_(ツ)_/¯
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄 One of the most stable services by AWS...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bryantbiggs
Copy link
Copy Markdown
Member Author

Caution

For those who have arrived here due to issues with ECS Express, please consider the following:
a. If you are experiencing issues with constant diffs, please open an issue on the AWS provider if one does not already exist. We cannot control that behavior here, and the lifecycle ignore_changes is only a hack that ultimately is not desirable in this situation. Those changes to clean up the persistent changes within the Terraform diff need to be corrected and handled at the provider
b. If you are experiencing issues with the service, please open a ticket through your AWS console/account manager or file a feature request on the containers roadmap. There are a number of deficiencies with ECS Express service (resources created outside of IaC that users cannot control through IaC, dangling/orphaned resources, dependency and ordering not respected, etc.) that users will need to surface with the ECS team in order to get those deficiencies corrected/remediated

From a module perspective, we simply surface what is provided via the AWS APIs and make it easier to consume those services by providing the necessary components (IAM roles, permissions, security groups, cloudwatch log groups, etc.) to allow users to create the respective resources easily and efficiently via Terraform

@bryantbiggs bryantbiggs merged commit 85161f8 into terraform-aws-modules:master Jan 13, 2026
17 checks passed
@bryantbiggs bryantbiggs deleted the feat/express-mode branch January 13, 2026 19:15
antonbabenko pushed a commit that referenced this pull request Jan 13, 2026
## [7.2.0](v7.1.0...v7.2.0) (2026-01-13)

### Features

* Add support for ECS Express service ([#389](#389)) ([85161f8](85161f8))
@antonbabenko
Copy link
Copy Markdown
Member

This PR is included in version 7.2.0 🎉

@github-actions
Copy link
Copy Markdown

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support to ECS Express Mode

2 participants