-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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_synapse_workspace: Adding sql_identity_control_enabled #10033
azurerm_synapse_workspace: Adding sql_identity_control_enabled #10033
Conversation
The acceptance test is failing due to a HTTP 201 (created) not being accepted as success by the SDK. |
BTW not sure if |
We can probably drop workspace and go with |
Agreed 👍 |
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 @allantargino, looks like we have some test failures now to fix up, thenn this should be good to merge:
------- Stdout: -------
=== RUN TestAccSynapseWorkspace_complete
=== PAUSE TestAccSynapseWorkspace_complete
=== CONT TestAccSynapseWorkspace_complete
testing.go:684: Step 0 error: errors during apply:
Error: Granting workspace identity control for SQL pool: synapse.WorkspaceManagedIdentitySQLControlSettingsClient#CreateOrUpdate: Failure responding to request: StatusCode=201 -- Original Error: autorest/azure: Service returned an error. Status=201 Code="Unknown" Message="Unknown service error" Details=[{"id":"subscriptions/*******/resourceGroups/acctest-Synapse-210105203011780445/providers/Microsoft.Synapse/workspaces/acctestsw210105203011780445/managedIdentitySqlControlSettings/default","name":"default","properties":{"grantSqlControlToManagedIdentity":{"actualState":"Enabling","desiredState":"Enabled"}},"type":"Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings"}]
on /opt/teamcity-agent/temp/buildTmp/tf-test832164172/main.tf line 27:
(source code not available)
--- FAIL: TestAccSynapseWorkspace_complete (972.51s)
It was failing due a problem in azure sdk v48.x, after merging master it worked well. Thanks @katbyte ! |
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 @allantargino - this LGTM 👍
This has been released in version 2.43.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.43.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
sql_identity_control_enabled
allows Synapse pipelines (running as workspace's system assigned identity) to access SQL pools.References: