You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						
							 | 
			2 years ago | |
|---|---|---|
| .. | ||
| README.md | 2 years ago | |
| main.tf | 2 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	| display_name | description | icon | maintainer_github | verified | tags | |||
|---|---|---|---|---|---|---|---|---|
| Azure Region | A parameter with human region names and icons | ../.icons/azure.svg | coder | true | 
  | 
Azure Region
This module adds a parameter with all Azure regions. This allows developers to select the region closest to them.
Examples
Default region
module "azure_region" {
    source = "https://registry.coder.com/modules/azure-region"
    default = "eastus"
}
provider "azure" {
    region = module.azure_region.value
    ...
}
Customize existing regions
Change the display name for a region:
module "azure-region" {
    source = "https://registry.coder.com/modules/azure-region"
    custom_names = {
        "eastus": "Eastern United States!"
    }
    custom_icons = {
        "eastus": "/icons/smiley.svg"
    }
}
provider "aws" {
    region = module.aws_region.value
}
Exclude Regions
Hide the westus2 region:
module "aws-region" {
    source = "https://registry.coder.com/modules/aws-region"
    exclude = [ "westus2" ]
}
provider "aws" {
    region = module.aws_region.value
}