Skip to content

Conversation

@willaustin
Copy link

@willaustin willaustin commented Oct 31, 2025

Description

This change adds support for the ECS deployment circuit breaker feature, which allows for automatic rollback of failed deployments.

The deployment_circuit_breaker configuration is now passed through from the service variable to the underlying ECS service module, enabling users to configure automatic rollback behavior for their Atlantis deployments.

Example usage:

service = {
  deployment_circuit_breaker = {
    enable   = true
    rollback = true
  }
}

Tested locally by referencing the module and confirming the circuit breaker configuration is properly applied to the ECS service.

Motivation and Context

We need to be able to set this config on ECS Tasks.

Breaking Changes

No breaking changes as it uses a default blank object if not passed.

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

This change adds support for the ECS deployment circuit breaker feature,
which allows for automatic rollback of failed deployments.

The deployment_circuit_breaker configuration is now passed through from
the service variable to the underlying ECS service module, enabling users
to configure automatic rollback behavior for their Atlantis deployments.

Example usage:
  service = {
    deployment_circuit_breaker = {
      enable   = true
      rollback = true
    }
  }

Updated both example configurations (github-complete and github-separate)
to demonstrate the circuit breaker feature.

Tested locally by referencing the module and confirming the circuit
breaker configuration is properly applied to the ECS service.
@willaustin willaustin changed the title feat: add support for deployment_circuit_breaker configuration feat: Add support for deployment_circuit_breaker configuration Oct 31, 2025
@willaustin
Copy link
Author

@antonbabenko could I get a review please? Thanks!

@antonbabenko
Copy link
Member

This PR is included in version 5.0.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants