-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Update mssql
SDK version to preview/v5.0
#13622
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.
hey @aristosvo
Thanks for this PR.
Taking a look through this LGTM - there's a couple of changes to the API Versions here we'll want to check specifically:
Databases / Elastic Pool -> 2020-08-01-preview
Managed Instance -> 2020-02-02-preview
So we'll want to run those tests specifically - but otherwise we should be good 👍
Thanks!
cc @mbfrahry since there's SQL MI in here |
@tombuildsstuff Maybe we should hold this one, v4.0 is not complete enough to implement the feature I wanted. v5.0 has the ability to define UserAssigned Identities, but has more changes.. I'll see what I can do! |
mssql
API to preview/v4.0
mssql
API to preview/v5.0
6f1fe02
to
ea20510
Compare
@tombuildsstuff Another try, but with a few more obstacles. I'm curious about the test runs, as a lot has changed unfortunately. A few issues:
|
ea20510
to
7ec6428
Compare
ea77fe9
to
66dbf2a
Compare
4356d6b
to
93aba01
Compare
93aba01
to
cb938e7
Compare
looks like there are a lot of test failures @aristosvo 😞 |
Ouch!:hurtrealbad: I'll dive into it! |
@katbyte Tests seem to be okay again! ❯ go install && make acctests SERVICE='mssql' TESTARGS='-run=TestAccMsSqlDatabase_elasticPool'
==> Checking that code complies with gofmt requirements...
==> Checking that Custom Timeouts are used...
==> Checking that acceptance test packages are used...
TF_ACC=1 go test -v ./internal/services/mssql -run=TestAccMsSqlDatabase_elasticPool -timeout 180m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN TestAccMsSqlDatabase_elasticPool
=== PAUSE TestAccMsSqlDatabase_elasticPool
=== CONT TestAccMsSqlDatabase_elasticPool
--- PASS: TestAccMsSqlDatabase_elasticPool (688.86s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/mssql 690.637s Edit: ❯ go install && make acctests SERVICE='mssql' TESTARGS='-run=TestAccMsSqlDatabase_scaleReplicaSetWithFailovergroup'
==> Checking that code complies with gofmt requirements...
==> Checking that Custom Timeouts are used...
==> Checking that acceptance test packages are used...
TF_ACC=1 go test -v ./internal/services/mssql -run=TestAccMsSqlDatabase_scaleReplicaSetWithFailovergroup -timeout 180m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN TestAccMsSqlDatabase_scaleReplicaSetWithFailovergroup
=== PAUSE TestAccMsSqlDatabase_scaleReplicaSetWithFailovergroup
=== CONT TestAccMsSqlDatabase_scaleReplicaSetWithFailovergroup
--- PASS: TestAccMsSqlDatabase_scaleReplicaSetWithFailovergroup (1324.41s)
PASS
ok github.com/hashicorp/terraform-provider-azurerm/internal/services/mssql 1326.994s |
97800c2
to
f9402b0
Compare
mssql
API to preview/v5.0
mssql
SDK version to preview/v5.0
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.
Thanks @aristosvo! LGTM now only failing tests are also failing in main 🚀
This functionality has been released in v2.81.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. |
Required for #13617
Only questionmark thus far is the change of
props.ReadReplicaCount
toprops.HighAvailabilityReplicaCount
and whether this should reflect in field names