Skip to content

Conversation

@vietcgi
Copy link
Contributor

@vietcgi vietcgi commented Dec 13, 2025

Summary

  • replace_triggered_by now reports an error when given an invalid attribute reference that does not exist in the target resource

Test plan

  • Added unit test TestContext2Plan_triggeredByInvalidAttribute
  • Existing replace_triggered_by tests pass
  • Manual testing with null_resource confirms invalid references now produce errors
  • Valid attribute references continue to work correctly

Fixes #36740

@vietcgi vietcgi requested a review from a team as a code owner December 13, 2025 12:21
@crw crw added the bug label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

replace_triggered_by doesn't report error if given attribute references don't exist

2 participants