hashicorp / terraform-plugin-framework

A next-generation framework for building Terraform providers.
https://developer.hashicorp.com/terraform/plugin/framework
Mozilla Public License 2.0
298 stars 92 forks source link

internal/fwserver: Ensure computed dynamic values are marked as dynamic type during plan modification #970

Closed austinvalle closed 6 months ago

austinvalle commented 6 months ago

Closes #969

If a computed dynamic attribute is going to be marked as unknown, we need to ensure we don't use the planned state value to create the unknown value, as it could create the unknown with a concrete type. (assuming the. eventual type will be the same as prior state)

This fix, like all other dynamic changes, is intentionally pessimistic 🙂

github-actions[bot] commented 5 months ago

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. 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.