added azure screenshots
This commit is contained in:
@@ -50,15 +50,29 @@ resource "azurerm_resource_group" "example" {
|
||||
|
||||
### Exclude Regions
|
||||
|
||||
Hide the `westus2` region:
|
||||
Hide all regions in Australia except australiacentral:
|
||||
|
||||
```hcl
|
||||
module "azure-region" {
|
||||
source = "https://registry.coder.com/modules/azure-region"
|
||||
exclude = [ "westus2" ]
|
||||
exclude = [
|
||||
"australia",
|
||||
"australiacentral2",
|
||||
"australiaeast",
|
||||
"australiasoutheast"
|
||||
]
|
||||
}
|
||||
|
||||
resource "azurerm_resource_group" "example" {
|
||||
location = module.azure_region.value
|
||||
}
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
## Related templates
|
||||
|
||||
For a complete Azure template, see the following examples in the [Coder Registry](https://registry.coder.com/).
|
||||
- [Azure VM (Linux)](https://registry.coder.com/templates/azure-linux)
|
||||
- [Azure VM (Windows)](https://registry.coder.com/templates/azure-windows)
|
||||
Reference in New Issue
Block a user