-
Notifications
You must be signed in to change notification settings - Fork 430
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]: snowflake_procedure_python doesn't update stored procedure for imports change #3401
Comments
Hey @AndrewNorgrenTR. Thanks for reaching out to us. I will try to reproduce it tomorrow and will get back to you. |
Hey @AndrewNorgrenTR. A few things:
|
Ok thanks @sfc-gh-asawicki Let me try this out and get back to you. |
I tested with Terraform with this set up: $ terraform -version
snowflake_procedure_python.test_sproc will be updated in-place~ resource "snowflake_procedure_python" "test_sproc" {
Plan: 0 to add, 1 to change, 0 to destroy.
If if change the arguments field, then terraform does see that as a '1 to add, 1 to destroy' and it will drop the stored proc and create a new one. |
Hey @AndrewNorgrenTR, thanks for the details. To get the logs, you must have a The behavior looks strange, though. I will spend some time on it this week (closer to the end of the week). |
Terraform CLI Version
Open Tofu v1.8.8
Terraform Provider Version
1.0.3
Company Name
No response
Terraform Configuration
Category
category:resource
Object type(s)
No response
Expected Behavior
If you change:
imports {
path_on_stage = "transform_snowflake.zip"
stage_location = var.code_stage_fully_qualified_name
}
to
imports {
path_on_stage = "transform_snowflake2.zip"
stage_location = var.code_stage_fully_qualified_name
}
then I'd expect the stored proc definition to reflect this import change.
Actual Behavior
However, this change does not get reflected in snowflake.
Steps to Reproduce
How 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: