|
|
@ -22,6 +22,8 @@ resource "azurem_resource_group" "example" {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
|
|
### Customize existing regions
|
|
|
|
### Customize existing regions
|
|
|
@ -32,10 +34,10 @@ Change the display name for a region:
|
|
|
|
module "azure-region" {
|
|
|
|
module "azure-region" {
|
|
|
|
source = "https://registry.coder.com/modules/azure-region"
|
|
|
|
source = "https://registry.coder.com/modules/azure-region"
|
|
|
|
custom_names = {
|
|
|
|
custom_names = {
|
|
|
|
"eastus": "Eastern United States!"
|
|
|
|
"australia": "Go Australia!"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
custom_icons = {
|
|
|
|
custom_icons = {
|
|
|
|
"eastus": "/icons/smiley.svg"
|
|
|
|
"australia": "/icons/smiley.svg"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -44,6 +46,8 @@ resource "azurerm_resource_group" "example" {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
### Exclude Regions
|
|
|
|
### Exclude Regions
|
|
|
|
|
|
|
|
|
|
|
|
Hide the `westus2` region:
|
|
|
|
Hide the `westus2` region:
|
|
|
|