Snowflake-Labs / terraform-provider-snowflake

Terraform provider for managing Snowflake accounts
https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest
MIT License
552 stars 420 forks source link

[Bug]: something is messed up with Metadatas #3140

Closed bob-terraform closed 3 weeks ago

bob-terraform commented 1 month ago

Terraform CLI Version

1.9.8

Terraform Provider Version

0.96.0

Terraform Configuration

This happens with all Resources

Category

category:other

Object type(s)

No response

Expected Behavior

The provider used to download the metadata without issue, but now it is having this issue.

Actual Behavior

My IDE cannot pull the metadata for the provider anymore. So, it keeps screaming at me that objects are unknown. My IDE used to be able to load properties, valid values, ... but none of that is working.

It started after I updated to version 0.95 I think. I am using it without issues for other providers like AWS.

The name of the IDE is DataGrip by JetBrains.

Steps to Reproduce

Use an IDE like DataGrip to modify Terraform config files

How much impact is this issue causing?

Low

Logs

No response

Additional Information

No response

Would you like to implement a fix?

sfc-gh-asawicki commented 1 month ago

Hey @bob-terraform. Thanks for reaching out to us.

I am using Goland (an IDE from the same family), and I do not have problems fetching the metadata for the newest versions of the provider.

Generally, these IDEs are good at showing you the possible solutions (e.g., I will get the error when there is no bundled provider in the given directory, and it can be easily fixed by adding the required providers block).

I would also recommend invalidating the cache and reimporting the project.

If this does not help, I think the best way would be to approach JetBrains support and enquiry about this issue. We did not change anything specific with our provider's schemas recently that should have caused such behavior.

sfc-gh-asawicki commented 3 weeks ago

Closing due to inactivity. Please reopen if needed.