-
Notifications
You must be signed in to change notification settings - Fork 233
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
terraform apply
command doesn't present diff between false and null
#273
Comments
Hello @chkp-idoma unfortunately this is a known limitation of the current SDK, you cannot distinguish between Go's zero value and "unset/null". With other types, such as Related issue: #173 |
Hi @appilon , Thanks for answering! Is there any time estimation for this fix to be released? |
Hi folks, @chkp-idoma We tend not to publish any release dates, but I can say that supporting 0.12 types is one of our current priorities. We are practically sure though that supporting these in the provider will require deprecation of <0.12 from provider's perspective as only 0.12 uses the new protocol that allows us to carry all the important details about types. The best you can do in the meantime is to read this blogpost, share it and encourage everyone to upgrade to 0.12. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
Custom Provider:
Configuration file (.tf) on first
terraform apply
:Configuration file (.tf) on second
terraform apply
:Expected Behavior
On the second run of
terraform apply
, diff should be presented:Actual Behavior
Steps to Reproduce
terraform apply
:"terraform init
terraform apply
terraform apply
:"terraform apply
Additional Context
I'm trying to show here that when TypeBool argument isn't set at the first run of
terraform apply
,and in the second run this boolean argument is set to
false
in the configuration file, no diff shown.It means there is no difference between
false
andnull
values in the .tfstate file.*if this issue isn't related to this section please tell me where to open it.
The text was updated successfully, but these errors were encountered: