-
Notifications
You must be signed in to change notification settings - Fork 427
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
[Bug]: Terraform import snowflake_function Error: object does not exist #3094
Comments
I can't reproduce this issue. Could you share logs with |
Hi @sfc-gh-jmichalak I can confirm that the function does exist in Snowflake. I validated the id from an old statefile to be this: But even this throws the same error when I try to import it. Due to some sensitive info, I do not wish to share the debug logs. Can you give more context where this error message would come from? Can you validate the terraform import syntax is correct? |
I think that the name in Snowflake is upper case, but you try importing with lower case ( |
Well, I was skeptical, but that worked! terraform import 'snowflake_function.flatten_ga_params' ""LANDING"."GA"."FLATTEN_GA_PARAMS"(VARIANT)" Capitalizing the function name led to a successful import! |
Cool, can we close this issue, then? |
Closing the issue due to inactivity. |
Terraform CLI Version
1.5.7
Terraform Provider Version
0.95.0
Terraform Configuration
Category
category:import
Object type(s)
No response
Expected Behavior
I expect this resource to be imported into the statefile.
Actual Behavior
Import is prepared but Error: object does not exist is returned
Steps to Reproduce
Copy the configuration and run the import provided.
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: