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.
modules/aws-region
Muhammad Atif Ali 2e829b19a4
chore: update gcp regions and add screenshots (#37)
* chore: add default zone

* Update README.md

* handle case when default is not provided

* use single zone per name

* update README.md

* fix docs

* fixup!

* use truncation

* fix England flag

* fixup flag emoji

* add screenshot

* add AWS regions screenshot

* output both zone and region identifiers
2 years ago
..
README.md chore: update gcp regions and add screenshots (#37) 2 years ago
main.tf Add additional modules (#19) 2 years ago

README.md

display_name description icon maintainer_github verified tags
AWS Region A parameter with human region names and icons ../.icons/aws.svg coder true
helper
parameter

AWS Region

A parameter with all AWS regions. This allows developers to select the region closest to them.

AWS Regions

Examples

Default Region

Customize the preselected parameter value:

module "aws-region" {
    source = "https://registry.coder.com/modules/aws-region"
    default = "us-east-1"
}

provider "aws" {
    region = module.aws_region.value
}

Customize Regions

Change the display name and icon for a region:

module "aws-region" {
    source = "https://registry.coder.com/modules/aws-region"
    custom_names = {
        "fra": "Awesome Germany!"
    }
    custom_icons = {
        "fra": "/icons/smiley.svg"
    }
}

provider "aws" {
    region = module.aws_region.value
}

Exclude Regions

Hide the fra region:

module "aws-region" {
    source = "https://registry.coder.com/modules/aws-region"
    exclude = [ "fra" ]
}

provider "aws" {
    region = module.aws_region.value
}