Skip to content

add writeOnly in updateFuncSet check#1472

Merged
SBGoods merged 1 commit intohashicorp:mainfrom
BBBmau:add-write-only-force-new-conditon
Apr 24, 2025
Merged

add writeOnly in updateFuncSet check#1472
SBGoods merged 1 commit intohashicorp:mainfrom
BBBmau:add-write-only-force-new-conditon

Conversation

@BBBmau
Copy link
Contributor

@BBBmau BBBmau commented Apr 17, 2025

This addresses the bug that I was running into when attempting to use write-only attributes on a no update function resource.

I get a passing TestProvider now after applying the changes and integrating the plugin-sdk that's set on my machine.

image

Fixes #1471

@BBBmau BBBmau requested a review from a team as a code owner April 17, 2025 21:15
Copy link
Contributor

@SBGoods SBGoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The corner tests are passing so this looks good to go. Thanks for the contribution @BBBmau!

@SBGoods SBGoods added this to the v2.37.0 milestone Apr 24, 2025
@SBGoods SBGoods merged commit 0584e8a into hashicorp:main Apr 24, 2025
5 checks passed
@SBGoods SBGoods added the bug Something isn't working label Apr 24, 2025
jeremmfr pushed a commit to jeremmfr/terraform-plugin-sdk that referenced this pull request May 20, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

writeOnly attributes is not possible if no updateFunc is present in resource

2 participants