-
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
synapse_workspace_resource support azure_devops_repo, and github_repo #10157
synapse_workspace_resource support azure_devops_repo, and github_repo #10157
Conversation
Hi @tombuildsstuff @katbyte, I would appreciate your review 😄 |
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 @allantargino - just ran the tests for this but i am getting this error:
------- Stdout: -------
=== RUN TestAccSynapseWorkspace_azdo
=== PAUSE TestAccSynapseWorkspace_azdo
=== CONT TestAccSynapseWorkspace_azdo
testing.go:684: Step 0 error: errors during apply:
Error: Error retrieving ACLs for Root path in File System "acctest-210128063831382385" in Storage Account "acctestacc7j0nw": datalakestore.Client#GetProperties: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
on /opt/teamcity-agent/temp/buildTmp/tf-test098443127/main.tf line 21:
(source code not available)
testing.go:745: Error destroying resource! WARNING: Dangling resources
may exist. The full state and error is shown below.
Error: errors during refresh: Error retrieving ACLs for Root path in File System "acctest-210128063831382385" in Storage Account "acctestacc7j0nw": datalakestore.Client#GetProperties: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
State: <nil>
--- FAIL: TestAccSynapseWorkspace_azdo (51.03s)
FAIL
do you get this error?
azurerm/internal/services/synapse/synapse_workspace_resource.go
Outdated
Show resolved
Hide resolved
Hi @katbyte, Looking at the error message, the 403 on the data lake is usually a permission issue. My service principal is owner of my Azure subscription. Do you get this error when running |
Looks like something changed on the 26th and all our tests started to fail for synapse with that error, will have to look into whats going on with our subscription |
@katbyte recently I am doing another task about Synapse and also found this issue. It seems it's casued by retrieving ACL rest api. |
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.
@allantargino - tests are fixed now, just one comment about the schema and this should be good to merge
azurerm/internal/services/synapse/synapse_workspace_resource.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/synapse/synapse_workspace_resource.go
Outdated
Show resolved
Hide resolved
Thanks @katbyte, I applied the suggested changes. |
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 now 👍
This has been released in version 2.48.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.48.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 👉 [email protected]. Thanks! |
fix #10091
It follows the same interface for source control from
azurerm_data_factory
, except for:tenant_id
is not supported by current Synapse go SDK.azure_devops_repo
instead ofvsts_configuration
, since the official documentation is using the term Azure DevOps.github_repo
instead ofgithub_configuration