-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
azurerm_mssql_database
: Fix error with OnlineSecondary with auditing on Primary
#14192
azurerm_mssql_database
: Fix error with OnlineSecondary with auditing on Primary
#14192
Conversation
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.
This looks great but a test would be perfect 🙈
@mbfrahry Here they are! 🚀 TF_ACC=1 go test -v ./internal/services/mssql -run=TestAccMsSqlDatabaseExtendedAuditingPolicy_primaryWithOnlineSecondary\|TestAccMsSqlDatabase_createSecondaryMode -timeout 180m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN TestAccMsSqlDatabaseExtendedAuditingPolicy_primaryWithOnlineSecondary
=== PAUSE TestAccMsSqlDatabaseExtendedAuditingPolicy_primaryWithOnlineSecondary
=== RUN TestAccMsSqlDatabase_createSecondaryMode
=== PAUSE TestAccMsSqlDatabase_createSecondaryMode
=== CONT TestAccMsSqlDatabaseExtendedAuditingPolicy_primaryWithOnlineSecondary
--- PASS: TestAccMsSqlDatabaseExtendedAuditingPolicy_primaryWithOnlineSecondary (719.02s)
=== CONT TestAccMsSqlDatabase_createSecondaryMode
--- PASS: TestAccMsSqlDatabase_createSecondaryMode (922.04s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/mssql 923.660s |
Thanks for that but I'm seeing an issue with this test now
|
Sorry! I didn't commit all of it apparently😢 TF_ACC=1 go test -v ./internal/services/mssql -run=TestAccMsSqlDatabase_createSecondaryMode -timeout 180m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN TestAccMsSqlDatabase_createSecondaryMode
=== PAUSE TestAccMsSqlDatabase_createSecondaryMode
=== CONT TestAccMsSqlDatabase_createSecondaryMode
--- PASS: TestAccMsSqlDatabase_createSecondaryMode (742.86s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/mssql 744.490s |
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.
LGTM! Thanks for this @aristosvo
This functionality has been released in v2.86.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #14176
No AccTests specified, not sure if that would be necessary, happy to add if necessary