using (tftypes.Types).Equal
to check for Type change doesn't work as expected.
#392
Labels
bug
Something isn't working
This occurs when checking for a Type change between two configs that share have different values but still share the same type. Despite this it still returns the wrong bool.
Using Diff instead results in the expected output of no type being present.
terraform-plugin-go version
Relevant provider source code
Terraform Configuration Files
Expected Behavior
Should have returned that no type change was present
Actual Behavior
Type change was present when adding/removing from the tuple.
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
The change will be reproducible once this PR is merged. hashicorp/terraform-provider-kubernetes#2437
A simpler config can be used, the provided config was the one that was first brought to attention the different behavior of
Equal()
andDiff()
The text was updated successfully, but these errors were encountered: