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

Workaround for nullVal and emptyVal in plugin-sdk #4

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

shinny-taojiachun
Copy link
Collaborator

plugin sdk在create时候将[]变为了null,但是在read时会会变成[]。这个提交借鉴了阿里云instace的secondary_ip属性的解决方案,通过将受影响的属性设置为Optional+Computed作为workaround。

issue: hashicorp/terraform-plugin-sdk#766

…condary_ip属性的解决方案,通过将受影响的属性设置为Optional+Computed作为workaround
@shinny-taojiachun shinny-taojiachun merged commit 7575a6b into master Dec 4, 2023
5 checks passed
@shinny-taojiachun shinny-taojiachun deleted the fix_privilege_global branch December 4, 2023 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants