Skip to content

Conversation

@bryantbiggs
Copy link
Member

Description

  • Remove non-functional container_definition_defaults. Due to the way variable optional attributes work, a value provided as a default attribute will always succeed this additional, fallback value which renders it useless now

Motivation and Context

Breaking Changes

  • Has not worked as intended since the most recent breaking change so, no

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 requested a review from antonbabenko July 10, 2025 18:12
Copy link
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 simpler 🤞 I agree, that variable types in terraform are not intuitive even with features like optional, nullable, etc.

@bryantbiggs bryantbiggs merged commit dcc5ae5 into terraform-aws-modules:master Jul 11, 2025
12 checks passed
@bryantbiggs bryantbiggs deleted the fix/things branch July 11, 2025 12:16
antonbabenko pushed a commit that referenced this pull request Jul 11, 2025
## [6.0.4](v6.0.3...v6.0.4) (2025-07-11) ### Bug Fixes * Remove non-functional `container_definition_defaults` ([#312](#312)) ([dcc5ae5](dcc5ae5))
@antonbabenko
Copy link
Member

This PR is included in version 6.0.4 🎉

dispel-derekberger pushed a commit to dispel/terraform-aws-ecs that referenced this pull request Jul 16, 2025
…-aws-modules#312) * fix: Remove non-functional `container_definition_defaults` * docs: Update UPGRADE guide to alert users migrating
dispel-derekberger pushed a commit to dispel/terraform-aws-ecs that referenced this pull request Jul 16, 2025
@bryantbiggs
Copy link
Member Author

@github-actions
Copy link

github-actions bot commented Sep 6, 2025

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 Sep 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants