Inconsistencies between ResourceData.GetRaw...()
and ResourceDiff.GetRaw...()
#1023
Labels
bug
Something isn't working
SDK version
Relevant provider source code
Terraform Configuration Files
Before:
After:
Expected Behavior
Setting
version_name = ""
will cause bothResourceData.GetRawConfig().GetAttr("version_name")
andResourceDiff.GetRawConfig().GetAttr("version_name")
to have the value""
Actual Behavior
In the
CustomizeDiffFunc
,ResourceDiff.GetRawConfig().GetAttr("version_name")
has the value"value"
.In the
Update
function,ResourceData.GetRawConfig().GetAttr("version_name")
has the value""
.References
I assume this is related to how
Optional
&Computed
do not show a diff.The text was updated successfully, but these errors were encountered: