[Bug]: snowflake_schema
's describe_output changes appearing in every plan
#3296
Labels
category:migration
Issues connected with migration to v1.0.0.
general-usage
General help/usage questions
resource:schema
Issue connected to the snowflake_schema resource
Terraform CLI Version
1.7.4
Terraform Provider Version
1.0.0
Company Name
No response
Terraform Configuration
.
Category
category:resource
Object type(s)
No response
Expected Behavior
No change in plans when the resource is not modified at all
Actual Behavior
After upgrading from 0.93 to upper versions (0.94+), in every
terraform plan
, some specificsnowflake_schema
resources are showing as "to-change" even if the resource is not being touched at all. Specifically, thedescribe_output
field is said to change, e.g.:When I look at the actual TF state, I notice that
describe_output
is empty. I suppose this is happening because my Terraform user doesn't have access to this schema (source), but it's trying to update it regardless. Is there a way for this not to happen without granting the terraform user ownership to these schemas?Steps to Reproduce
1 - Be on a version >= 0.94.0
2 - Have a
snowflake_schema
where the terraform user has no sufficient privileges3 - Run
terraform plan
4 - Notice changes on
describe_output
for the related schema resource5 - Apply cahnges
6 - Run
terraform plan
7 - Notice again changes on
describe_output
for the related schema resourceHow much impact is this issue causing?
Low
Logs
No response
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: