Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write-only attributes: internal providers should set write-only attributes to null #36824

Merged
merged 3 commits into from
Apr 2, 2025

Conversation

liamcervante
Copy link
Member

We have several internal providers that wrap external providers and override functionality. These providers must handle setting write-only attributes to null automatically as Terraform expects this.

The mock provider in the testing framework, the unknown provider in stacks, and the override_resource functionality in the testing framework are all fixed in this PR.

Fixes #36819

Target release: v1.11.4

@liamcervante liamcervante added the 1.11-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Apr 2, 2025
@liamcervante liamcervante requested a review from a team as a code owner April 2, 2025 12:42
@radeksimko radeksimko added the 1.12-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Apr 2, 2025
DanielMSchmidt
DanielMSchmidt previously approved these changes Apr 2, 2025
@wyardley
Copy link

wyardley commented Apr 2, 2025

Wow, thanks for the quick fix @liamcervante 🙏 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.11-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged 1.12-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mock provider errors on plan while testing write only attribute
5 participants