Skip to content

Commit

Permalink
add missing region (ap-northeast-3) (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: cloudpossebot <[email protected]>
  • Loading branch information
mcalhoun and cloudpossebot authored Mar 3, 2021
1 parent 6fda8bd commit ee31f23
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ Available targets:
|------|---------|
| aws | >= 2 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| this | cloudposse/label/null | 0.22.0 |

## Resources

| Name |
|------|
| [aws_regions](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/regions) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down Expand Up @@ -199,7 +211,6 @@ Available targets:
| disabled\_regions | A list of regions that are disabled in the account |
| enabled\_regions | A list of regions that are enabled in the account |
| region\_az\_alt\_code\_maps | Collection of maps converting between official AWS Region, Availability Zone, and Local Zone codes and shorter unofficial codes using only lower case letters and digits. Inspired for use in naming and tagging so that region or AZ code will be 1 semantic unit.<br><br>- `to_fixed` = Map of regions to 3-character codes and Availability Zones to 4-character codes<br>- `to_short` = Map of regions and Availability Zones to compact (usually 4-6 characters) codes<br>- `from_fixed` = Map of `fixed` codes back to full region or Availability Zone codes<br>- `from_short` = Map of `short` codes back to full region or Availability Zone codes<br>- `identity` = Identity map of full region and Availability Zone codes back to themselves |

<!-- markdownlint-restore -->


Expand Down
13 changes: 12 additions & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
|------|---------|
| aws | >= 2 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| this | cloudposse/label/null | 0.22.0 |

## Resources

| Name |
|------|
| [aws_regions](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/regions) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down Expand Up @@ -40,5 +52,4 @@
| disabled\_regions | A list of regions that are disabled in the account |
| enabled\_regions | A list of regions that are enabled in the account |
| region\_az\_alt\_code\_maps | Collection of maps converting between official AWS Region, Availability Zone, and Local Zone codes and shorter unofficial codes using only lower case letters and digits. Inspired for use in naming and tagging so that region or AZ code will be 1 semantic unit.<br><br>- `to_fixed` = Map of regions to 3-character codes and Availability Zones to 4-character codes<br>- `to_short` = Map of regions and Availability Zones to compact (usually 4-6 characters) codes<br>- `from_fixed` = Map of `fixed` codes back to full region or Availability Zone codes<br>- `from_short` = Map of `short` codes back to full region or Availability Zone codes<br>- `identity` = Identity map of full region and Availability Zone codes back to themselves |

<!-- markdownlint-restore -->
15 changes: 15 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ locals {
"ap-northeast-2g" = "an2g"
"ap-northeast-2h" = "an2h"

"ap-northeast-3" = "an3"
"ap-northeast-3a" = "an3a"
"ap-northeast-3b" = "an3b"
"ap-northeast-3c" = "an3c"

"ap-south-1" = "as0"
"ap-south-1a" = "as0a"
"ap-south-1b" = "as0b"
Expand Down Expand Up @@ -285,6 +290,11 @@ locals {
"ap-northeast-2g" = "apne2g"
"ap-northeast-2h" = "apne2h"

"ap-northeast-3" = "apne3"
"ap-northeast-3a" = "apne3a"
"ap-northeast-3b" = "apne3b"
"ap-northeast-3c" = "apne3c"

"ap-south-1" = "aps1"
"ap-south-1a" = "aps1a"
"ap-south-1b" = "aps1b"
Expand Down Expand Up @@ -535,6 +545,11 @@ locals {
"ap-northeast-2g" = "ap-northeast-2g"
"ap-northeast-2h" = "ap-northeast-2h"

"ap-northeast-3" = "ap-northeast-3"
"ap-northeast-3a" = "ap-northeast-3a"
"ap-northeast-3b" = "ap-northeast-3b"
"ap-northeast-3c" = "ap-northeast-3c"

"ap-south-1" = "ap-south-1"
"ap-south-1a" = "ap-south-1a"
"ap-south-1b" = "ap-south-1b"
Expand Down

0 comments on commit ee31f23

Please sign in to comment.