14 lines
360 B
Markdown
14 lines
360 B
Markdown
|
# aws-region-short module
|
||
|
Module which returns a map of aws regions and their short code.
|
||
|
|
||
|
## Example root module
|
||
|
```terraform
|
||
|
module region-short {
|
||
|
source = "git::https://xpk.headdesk.me/git/xpk/terraform.aws-baseline-infra//modules/util/aws-region-short"
|
||
|
}
|
||
|
|
||
|
output region-short-code {
|
||
|
value = lookup(module.region-short.region-map, var.aws-region)
|
||
|
}
|
||
|
```
|