added missing regions, fixed readme

This commit is contained in:
Stephen Kirby
2023-09-21 19:28:02 +00:00
parent 4cc5bb575e
commit 81b393efdd
2 changed files with 323 additions and 112 deletions

View File

@@ -9,7 +9,7 @@ tags: [helper, parameter, azure]
# Azure Region
This module adds a parameter with all Azure regions. This allows developers to select the region closest to them.
This module adds a parameter with all Azure regions, allowing developers to select the region closest to them.
## Examples
@@ -21,9 +21,8 @@ module "azure_region" {
default = "eastus"
}
provider "azure" {
region = module.azure_region.value
...
resource "azurem_resource_group" "example" {
location = module.azure_region.value
}
```
@@ -42,8 +41,8 @@ module "azure-region" {
}
}
provider "azure" {
region = module.azure_region.value
resource "azurerm_resource_group" "example" {
location = module.azure_region.value
}
```
@@ -57,7 +56,7 @@ module "azure-region" {
exclude = [ "westus2" ]
}
provider "azure" {
region = module.azure_region.value
resource "azurerm_resource_group" "example" {
location = module.azure_region.value
}
```