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

fix: Invoke SetId immediately after alert creation #2786

Merged
merged 1 commit into from
May 13, 2024

Conversation

sfc-gh-jmichalak
Copy link
Collaborator

Now, after failing alert alter operation, terraform keeps the created alert in state. A warning is shown to a user when alter fails. Alert can be now enabled by using terraform apply.

Also, CRUD functions are changed to functions with context due to deprecations in terraform sdk.

This change was tested on a real Snowflake environment.

Test Plan

  • acceptance tests

References

Now, after failing alert alter operation, terraform keeps the created alert in state.
Alert can be now modified by using terraform apply.

Also, CRUD functions are changed to functions with context due to deprecations in terraform sdk.
Copy link

github-actions bot commented May 9, 2024

Integration tests failure for b531b45b664ea53fc4ffec8206a09f0dc3b2da96

@sfc-gh-jmichalak sfc-gh-jmichalak merged commit 181b4d0 into main May 13, 2024
8 of 9 checks passed
@sfc-gh-jmichalak sfc-gh-jmichalak deleted the jmichalak-alerts-setid branch May 13, 2024 07:23
sfc-gh-jmichalak pushed a commit that referenced this pull request May 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.91.0](v0.90.0...v0.91.0)
(2024-05-16)


### 🎉 **What's new:**

* add snowflake_grant_application_role resource
([#2690](#2690))
([838d241](838d241))
* datasource database role
([#2731](#2731))
([319ddc3](319ddc3))


### 🔧 **Misc**

* Add few documentation adjustments
([#2789](#2789))
([6db8bf3](6db8bf3))
* Bump dependencies
([#2802](#2802))
([54ea6bc](54ea6bc))
* Replace parsing function for saving granted object names
([#2813](#2813))
([175cfc7](175cfc7))


### 🐛 **Bug fixes:**

* Fix sweepers
([#2800](#2800))
([a01115e](a01115e))
* Invoke SetId immediately after alert creation
([#2786](#2786))
([181b4d0](181b4d0))
* Update the tests after snowflake bugfix
([#2806](#2806))
([6843c1a](6843c1a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: snowflake-release-please[bot] <105954990+snowflake-release-please[bot]@users.noreply.github.com>
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.

2 participants