Skip to content
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 Role Assignment in Azure Government is not supported. #17564

Closed
1 task done
stonenw opened this issue Jul 8, 2022 · 7 comments
Closed
1 task done

Synapse Role Assignment in Azure Government is not supported. #17564

stonenw opened this issue Jul 8, 2022 · 7 comments
Labels

Comments

@stonenw
Copy link

stonenw commented Jul 8, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.2.2

AzureRM Provider Version

3.12.0

Affected Resource(s)/Data Source(s)

azurerm_synapse_role_assignment

Terraform Configuration Files

resource "azurerm_synapse_role_assignment" "example" {
  synapse_workspace_id = azurerm_synapse_workspace.example.id
  role_name            = "Synapse SQL Administrator"
  principal_id         = data.azurerm_client_config.current.object_id
}

Debug Output/Panic Output

unavailable

Expected Behaviour

A Synapse Workspace Role Assignment(s) be created as specified in the code.

Actual Behaviour

│ Error: Synapse is not supported in this Azure Environment

Steps to Reproduce

Using the code provided with the azurerm_synapse_workspace resource, I ran terraform init, then terraform apply to get the errors.
I do not get any warning when running terraform plan.

Important Factoids

I am trying to run this in Azure Government.

References

Azure Synapse Workspace Availability in US Government
https://azure.microsoft.com/en-us/global-infrastructure/services/?rar=true&regions=non-regional,usgov-non-regional,us-dod-central,us-dod-east,usgov-arizona,usgov-texas,usgov-virginia&products=synapse-analytics

@stonenw stonenw added the bug label Jul 8, 2022
@github-actions github-actions bot removed the bug label Jul 8, 2022
@adrian-gonzalez
Copy link

Hello -

My team is directly impacted by this bug on Azure US Gov. Is there an idea on where this is in the roadmap priorities?

@kottofy
Copy link
Contributor

kottofy commented Sep 8, 2022

Related: #15443

@kottofy
Copy link
Contributor

kottofy commented Sep 9, 2022

Still getting this issue :(

The related GitHub issue #15443 mentions that this was "Fixed in [email protected]" only. Looking through my logs, I see that I end up using go-autorest/v14.2.1 so maybe that's part of the issue?

I have updated the versions to:

  • Terraform version: 1.2.9
  • Go runtime version: go1.18.1
  • AzureRM provider version: 3.4.0 for linux_amd64 and also tried with 3.5.0

I've also tried setting different environment variables such as

$env:ARM_ENVIRONMENT="usgovernment"
$env:AZURE_ENVIRONMENT="AZUREUSGOVERNMENTCLOUD"

@stonenw
Copy link
Author

stonenw commented Oct 12, 2022

Was this also fixed in manicminer/hamilton#186

And related too: #17362

@kottofy
Copy link
Contributor

kottofy commented Oct 17, 2022

Works for me now. Thanks all!

@stonenw
Copy link
Author

stonenw commented Oct 19, 2022

Same for me. I was able to verify this is functional now. Thank you.

Seems to have been fixed in manicminer/hamilton#186

And related too: #17362

@stonenw stonenw closed this as completed Oct 19, 2022
@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants