Skip to content

Conversation

@bunnybilou
Copy link
Contributor

Description

Fixed incorrect iterator reference in dynamic timeouts blocks. Changed from each.value to timeouts.value to match the actual iterator label in both aws_rds_cluster and aws_rds_cluster_instance resources.

Motivation and Context

The dynamic blocks for timeouts were using each.value instead of timeouts.value, which would cause runtime errors when var.cluster_timeouts or var.instance_timeouts are set. This fix ensures the timeouts configuration works correctly when provided.

Breaking Changes

No breaking changes. This is a bug fix that corrects the implementation to work as intended.

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

Changed iterator reference from each.value to timeouts.value in both
cluster and instance timeouts dynamic blocks to match the block label.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

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

thank you - I don't know how I mangled the timeouts so horribly 😅

@bryantbiggs bryantbiggs merged commit 9acb2b7 into terraform-aws-modules:master Nov 17, 2025
15 checks passed
antonbabenko pushed a commit that referenced this pull request Nov 17, 2025
## [10.0.1](v10.0.0...v10.0.1) (2025-11-17)

### Bug Fixes

* Correct iterator name in dynamic timeouts blocks ([#526](#526)) ([9acb2b7](9acb2b7))
@antonbabenko
Copy link
Member

This PR is included in version 10.0.1 🎉

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.

3 participants