Skip to content

Ability to change cloud to AzureUSGovernment for Azure #8382

@rdeberry-sms

Description

@rdeberry-sms

Is your feature request related to a problem? Please describe.

Even after setting the following the call goes to the incorrect API.
az cloud set --name AzureUSGovernment
az login --identity

cloudquery gives following error
Error: failed to sync v1 source azure: failed to sync source azure (v4.2.0): failed to fetch resources from stream: rpc error: code = Unknown desc = failed to sync resources: failed to creat
e execution client for source plugin azure: failed to list resource groups: GET https://management.azure.com/subscriptions//blah

The API url should end in ".us"

Describe the solution you'd like

Be able to set "cloud" in source spec file to azureusgovernment

Describe alternatives you've considered

N/A

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions