Skip to content

Conversation

@miseyu
Copy link
Contributor

@miseyu miseyu commented Dec 2, 2025

Description

Updated the local variable to avoid adding a null value to the concat() function for cache behaviors, ensuring a cleaner and more robust configuration.

Motivation and Context

Breaking Changes

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

Updated the local variable to avoid adding a `null` value to the
`concat()` function for cache behaviors, ensuring a cleaner and more
robust configuration.
@jjosef
Copy link

jjosef commented Dec 3, 2025

👍 v6.0.1 is broken due to this issue

@bryantbiggs bryantbiggs changed the title fix: Normalize ordered cache behavior handling in local variable fix: Change default value for ordered_cache_behavior to empty list to avoid type checking acrobatics and type mis-matches Dec 3, 2025
@bryantbiggs bryantbiggs merged commit 5427273 into terraform-aws-modules:master Dec 3, 2025
8 checks passed
antonbabenko pushed a commit that referenced this pull request Dec 3, 2025
## [6.0.2](v6.0.1...v6.0.2) (2025-12-03)

### Bug Fixes

* Change default value for `ordered_cache_behavior` to empty list to avoid type checking acrobatics and type mis-matches ([#183](#183)) ([5427273](5427273))
@antonbabenko
Copy link
Member

This PR is included in version 6.0.2 🎉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] An error occurs when both default_cache_behavior and ordered_cache_behavior are set.

4 participants