Altering Resource Monitors doesnt work as expected #1832
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:resource_monitor
Issue connected to the snowflake_resource_monitor resource
Provider Version
The provider version you are using.
0.55.1
Terraform Version
The version of Terraform you were using when the bug was encountered.
1.0.11
Describe the bug
Changing only the triggers of a resource monitor throws a syntax error
For example take the following monitor:
If I were to say change a trigger line to
notify_triggers = [95]
and change nothing else then the provider produces the following SQL:This fails with
Expected behavior
A clear and concise description of what you expected to happen.
Based on the docs you must put something (not triggers or notify users) in the SET clause. The following SQL will work:
edit: The following will also work
I would expect the provider to produce this SQL
Code samples and commands
Code samples are in the description already
Additional context
I assume the same issue exists for changing only the notify users but have not tested this.
The text was updated successfully, but these errors were encountered: