Skip to content
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

[Feature]: account-level resource monitor #3425

Closed
1 task
thinkerhuang opened this issue Feb 28, 2025 · 1 comment
Closed
1 task

[Feature]: account-level resource monitor #3425

thinkerhuang opened this issue Feb 28, 2025 · 1 comment
Assignees
Labels
feature-request Used to mark issues with provider's missing functionalities

Comments

@thinkerhuang
Copy link

Company Name

No response

Use Cases or Problem Statement

In the preview version, there was a function called set_for_account to control the resource monitor level.
However, in the major version, it appears to have been deprecated. It would be helpful if this function could be used again.

Category

category:resource

Object type(s)

No response

Proposal

No response

How much impact is this issue causing?

Low

Additional Information

No response

Would you like to implement a fix?

  • Yeah, I'll take it 😎
@thinkerhuang thinkerhuang added the feature-request Used to mark issues with provider's missing functionalities label Feb 28, 2025
@sfc-gh-jcieslak
Copy link
Collaborator

Hey @thinkerhuang 👋
The current resource_monitor resource is designed to only manage itself, not the connection it has. The assignment was moved to the objects that can set resource monitor on themselves (i.e. ALTER USER SET RESOURCE_MONITOR should be only called in user resources; same for account). The current account resource is more designed to create and manage accounts from the organization level. There will be a new resource that is dedicated for altering the current account. For now, you can use either https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/account_parameter or https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/execute resource to set it on account.

@sfc-gh-jcieslak sfc-gh-jcieslak self-assigned this Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities
Projects
None yet
Development

No branches or pull requests

2 participants