-
Notifications
You must be signed in to change notification settings - Fork 398
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: Add valid property AWS_SNS_TOPIC_ARN to AWS_SNS notification provider #783
Conversation
@alldoami could you please review and approve for Github Actions |
Hmm I might be missing something but I only see name changes in this PR... |
HI @alldoami, Yes I raised the PR for name change of the variable provided. This is because of below error while creating the notification integration with terraform plan SQL Query & ErrorQuery
Error
Test on snowflake account for proposed changes in this PR
|
/ok-to-test sha=3dda35a |
Integration tests success for 3dda35a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think we need testing for this, so if you have time please write tests for this soon!
@alldoami could i request release for new version please. |
Notification integration fixes for #777
Test Plan
CGO_ENABLED=1 go test -race -coverprofile=coverage.txt -covermode=atomic ./...
? github.com/chanzuckerberg/terraform-provider-snowflake [no test files]
ok github.com/chanzuckerberg/terraform-provider-snowflake/pkg/datasources 0.802s coverage: 4.2% of statements
? github.com/chanzuckerberg/terraform-provider-snowflake/pkg/db [no test files]
ok github.com/chanzuckerberg/terraform-provider-snowflake/pkg/provider 0.602s coverage: 28.9% of statements
ok github.com/chanzuckerberg/terraform-provider-snowflake/pkg/resources 11.868s coverage: 55.0% of statements
ok github.com/chanzuckerberg/terraform-provider-snowflake/pkg/snowflake 0.454s coverage: 59.7% of statements
? github.com/chanzuckerberg/terraform-provider-snowflake/pkg/testhelpers [no test files]
ok github.com/chanzuckerberg/terraform-provider-snowflake/pkg/validation 0.249s coverage: 93.1% of statements
? github.com/chanzuckerberg/terraform-provider-snowflake/pkg/version [no test files]
Error notifications feature is currently in private preview link reference here and Snowflake staff need to enable it for that particular account before setting error_integration parameter would work.
References
https://docs.snowflake.com/en/LIMITEDACCESS/data-load-snowpipe-notifications.html#step-6-enabling-error-notifications-in-pipes