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

Lower limit on warehouse auto-suspend setting #552

Merged
merged 1 commit into from
May 24, 2021
Merged

Lower limit on warehouse auto-suspend setting #552

merged 1 commit into from
May 24, 2021

Conversation

jnoynaert
Copy link
Contributor

The warehouse auto-suspend setting can actually be an arbitrary integer (you can test this with alter warehouse reporting set auto_suspend = <x>). The current check for 60 seconds imposes an arbitrary restriction on the provider that's not present in the service.

Negative values are just interpreted as "never". Based on the intent of the provider surface it looks like the "never" case should be handled by removing the auto-suspend setting, so a 1-second minimum seemed reasonable.

@jnoynaert jnoynaert requested a review from a team as a code owner May 24, 2021 06:47
@jnoynaert jnoynaert requested a review from edulop91 May 24, 2021 06:47
@alldoami
Copy link
Contributor

/ok-to-test sha=ae6466f

@github-actions
Copy link

Integration tests success for ae6466f

Copy link
Contributor

@alldoami alldoami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alldoami alldoami merged commit 1e6c6eb into Snowflake-Labs:main May 24, 2021
@jnoynaert jnoynaert deleted the patch-1 branch May 24, 2021 22:24
@wookasz
Copy link
Contributor

wookasz commented May 25, 2021

Thank you!

jtzero pushed a commit to rxrevu/terraform-provider-snowflake that referenced this pull request Aug 19, 2021
anton-chekanov pushed a commit to anton-chekanov/terraform-provider-snowflake that referenced this pull request Jan 25, 2022
daniepett pushed a commit to daniepett/terraform-provider-snowflake that referenced this pull request Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants