mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-09 23:54:17 -06:00
0284138440
* vendor: update jen20/riviera to pull in endpoints change * provider/auzrerm: support non public clouds Ran tests below with ARM_ENVIRONMENT=german and changes the location to Germany Central in the test config. The virtual network tests cover both Riviera (resource groups) and the official SDK client. TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMVirtualNetwork_ -timeout 120m === RUN TestAccAzureRMVirtualNetwork_importBasic --- PASS: TestAccAzureRMVirtualNetwork_importBasic (81.84s) === RUN TestAccAzureRMVirtualNetwork_basic --- PASS: TestAccAzureRMVirtualNetwork_basic (78.14s) === RUN TestAccAzureRMVirtualNetwork_disappears --- PASS: TestAccAzureRMVirtualNetwork_disappears (78.45s) === RUN TestAccAzureRMVirtualNetwork_withTags --- PASS: TestAccAzureRMVirtualNetwork_withTags (81.78s) PASS ok github.com/hashicorp/terraform/builtin/providers/azurerm 320.310s
18 lines
410 B
Go
18 lines
410 B
Go
package azure
|
|
|
|
const (
|
|
defaultResourceManagerEndpoint = "https://management.azure.com"
|
|
defaultActiveDirectoryEndpoint = "https://login.microsoftonline.com"
|
|
)
|
|
|
|
type AzureResourceManagerCredentials struct {
|
|
ClientID string
|
|
ClientSecret string
|
|
TenantID string
|
|
SubscriptionID string
|
|
|
|
// can be overridden for non public clouds
|
|
ResourceManagerEndpoint string
|
|
ActiveDirectoryEndpoint string
|
|
}
|