Skip to content

Commit

Permalink
Merge pull request #87 from Azure/branch-240227-add-qa
Browse files Browse the repository at this point in the history
add qa about customized endpoint
  • Loading branch information
ms-henglu authored Feb 27, 2024
2 parents 136a532 + ef4e2d7 commit fbecac9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/guidance-for-api-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,23 @@ resource "azapi_resource" "kafkaConfiguration" {
**/terraform/**/traces
**/terraform/**/log.txt
```
8. Q: How to run Armstrong test in internal environments?
A: You could use provider's `endpoint` argument to specify the endpoint of the internal environment. For example:
```hcl
provider "azapi" {
endpoint {
resource_manager_endpoint = "https://management.azure.com/"
resource_manager_audience = "https://management.core.windows.net/"
active_directory_authority_host = "https://login.microsoftonline.com"
}
}
```
More details about this argument could be found [here](https://registry.terraform.io/providers/Azure/azapi/latest/docs#endpoint).
Note: if you use the azure cli to authenticate with azure, you need to configure the same endpoint in the azure cli. More details could be found [here](https://learn.microsoft.com/en-us/cli/azure/cloud?view=azure-cli-latest).
## Samples
Expand Down

0 comments on commit fbecac9

Please sign in to comment.