evaluate: return diagnostics instead of unknown for uninitialised locals and resources#37663
Conversation
f82c603 to
ec6bf50
Compare
|
Oh, I thought I has another PR to review too. What's here looks good, but did we want to also include |
|
@jbardin, I think the resource should already be covered here: https://github.com/hashicorp/terraform/pull/37663/files#diff-287bfcd0fb97d5fe87495954e5e31240544a80b318e8a6aa1ed5da650eaf320aR576-R581? |
|
sorry, the GH diff was rendering differently than I was used to, and I didn't see that as under |
|
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 contributions. |
…
This PR updates the behaviour for resources and locals, so that when referenced out of order they return explicit diagnostics stating this instead of simple unknown values.
Fixes #
Target Release
1.14.x
Rollback Plan
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
CHANGELOG entry