-
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
azurerm_mssql_server
: user_assigned_identity_ids and primary_user_assigned_identity_id
#13683
azurerm_mssql_server
: user_assigned_identity_ids and primary_user_assigned_identity_id
#13683
Conversation
1076620
to
a88190f
Compare
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 - overall looks good! but we have a test failure
------- Stdout: -------
=== RUN TestAccMsSqlServer_update
=== PAUSE TestAccMsSqlServer_update
=== CONT TestAccMsSqlServer_update
testcase.go:88: Step 5/8 error: Error running apply: exit status 1
Error: waiting for creation/update of Server: (Name "acctestsqlserver211013215508481696" / Resource Group "acctestRG-mssql-211013215508481696"): Code="MissingPrimaryIdentity" Message="A primary user assigned managed identity has not been specified. Please specify the primary managed identity that you would like to use for the server 'acctestsqlserver211013215508481696'."
with azurerm_mssql_server.test,
on terraform_plugin_test.tf line 50, in resource "azurerm_mssql_server" "test":
50: resource "azurerm_mssql_server" "test" {
--- FAIL: TestAccMsSqlServer_update (656.49s)
FAIL
Ah, nice. Forgot to Test 🏃🏽♀️: === CONT TestAccMsSqlServer_update
testcase.go:88: Step 5/8 error: Error running apply: exit status 1
Error: issuing create/update request for Server: (Name "acctestsqlserver211014083206192636" / Resource Group "acctestRG-mssql-211014083206192636"): sql.ServersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="BadGatewayConnection" Message="The network connectivity issue encountered for 'Microsoft.Sql'; cannot fulfill the request."
with azurerm_mssql_server.test,
on terraform_plugin_test.tf line 50, in resource "azurerm_mssql_server" "test":
50: resource "azurerm_mssql_server" "test" { .. and another weird error:
.. and then it worked, but some new problems showed up:
.. which I fixed with always setting
|
5647214
to
97c748d
Compare
97c748d
to
7b24110
Compare
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 🍰
azurerm_mssql_server
: Support UserAssigned Identitiesazurerm_mssql_server
: user_assigned_identity_ids and primary_user_assigned_identity_id
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. |
mssql
SDK version topreview/v5.0
#13622 to be mergedFixes #13617