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: Recreate notification integration when type changes #792

Merged
merged 2 commits into from
Dec 21, 2021
Merged

fix: Recreate notification integration when type changes #792

merged 2 commits into from
Dec 21, 2021

Conversation

gouline
Copy link
Contributor

@gouline gouline commented Dec 19, 2021

Edge case when changing the type of notification integration (e.g. from AWS_SQS to AWS_SNS) with the same name, Terraform attempts to ALTER it, which results in an error because required fields are different depending on the type.

This change forces recreation when any of the integration types change.

Test Plan

  • acceptance tests

References

@alldoami
Copy link
Contributor

/ok-to-test sha=9be038c

@alldoami
Copy link
Contributor

run make docs

@github-actions
Copy link

Integration tests success for 9be038c

@gouline
Copy link
Contributor Author

gouline commented Dec 20, 2021

Sorry forgot 🤦 Done now!

@alldoami
Copy link
Contributor

/ok-to-test sha=416c488

@github-actions
Copy link

Integration tests success for 416c488

@alldoami alldoami merged commit e9768bf into Snowflake-Labs:main Dec 21, 2021
@gouline gouline deleted the fix/notification-integration-type branch December 21, 2021 00:41
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.

2 participants