Conversation
…s/terraf…" This reverts commit 27a9e34.
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
|
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
|
This functionality has been released in v6.15.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
|
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 issues. |
Reverts #44493
The additional error diagnostics added in this version have uncovered some discrepancies between how the AWS provider implemented resource identity support for Plugin Framework resources, and the expectations held by the upstream library. Specifically, the library assumes that a resource implements the
ResourceWithIdentityinterface when identity is fully supported, and always returns a non-nil schema.In versions
v6.0.0to current, the provider has implemented anIdentitySchemamethod on all Plugin Framework resources by wrapping the base resource implementation, therefore satisfying theResourceWithIdentityinterface. A resource was only considered supported when the schema contained greater than 0 attributes.This difference in assumptions went undetected to this point because the upstream library allowed null identities to be written to state, as would be the case with any resource which the provider considered "unimplemented" but plugin framework would treat as implemented with an empty identity schema (0 attributes). With the introduction of new error diagnostics for this case, the provider will need to refactor how Plugin Framework resources are wrapped before proceeding with the upgrade of this package.
Relates hashicorp/terraform-plugin-framework#1193
Example of a newly failing test with this library upgrade.