-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for
notify_users
to snowflake_resource_monitor
…
…resource (#1340) * Add NotifyUsers field to resourceMonitor struct * Add notify_users property to resources/resource_monitor schema * Set notify_users field in CreateResourceMonitor * Add test for altering pkg/snowflake/resource_monitor * Update snowflake/resource_monitor creation test for notify_users * Update resource_monitor's CreateBuilder to allow string lists * Add notify_users to TestResourceMonitorCreate * Switch resource_monitor.notify_users to schema.TypeSet * Allow reading notify_users from a ResourceMonitor resource * Change TestResourceMonitorCreate to use conventional name styles * Add notify_users information to expectReadResourceMonitor * Add notify_users testing to TestAcc_ResourceMonitor * Fix method used to test for Set element existence * Update TestResourceMonitor to use more conventional user names * Remove notify_users setup/check from existing test * Add fn to generate test config for resource monitors with notify_users * Add (unconventional) TestAcc_ResourceMonitorNotifyUsers test * Add notify_users to snowflake_resource_monitor example * Add notify_users to resource_monitor docs * Run `go fmt` on changed files * Fix indentation on inline terraform declaration * Run `make docs`
- Loading branch information
Showing
7 changed files
with
99 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters