Skip to content

Commit 8c08826

Browse files
cerememergify[bot]cloudpossebot
authored
Update alb_zone_id of some missing regions (#137)
* Update alb_zone_id * Reformat code * Add us-gov regions alb_zone_id * Fix alb_zone_id of eu-west-3 * Auto Format Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: cloudpossebot <[email protected]>
1 parent f42cdd9 commit 8c08826

File tree

3 files changed

+56
-5
lines changed

3 files changed

+56
-5
lines changed

README.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,36 @@ Available targets:
219219
|------|---------|
220220
| aws | >= 2.0 |
221221

222+
## Modules
223+
224+
| Name | Source | Version |
225+
|------|--------|---------|
226+
| dns_hostname | cloudposse/route53-cluster-hostname/aws | 0.10.1 |
227+
| this | cloudposse/label/null | 0.24.1 |
228+
229+
## Resources
230+
231+
| Name |
232+
|------|
233+
| [aws_elastic_beanstalk_environment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elastic_beanstalk_environment) |
234+
| [aws_elb_service_account](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/elb_service_account) |
235+
| [aws_iam_instance_profile](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) |
236+
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) |
237+
| [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) |
238+
| [aws_iam_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) |
239+
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |
240+
| [aws_s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) |
241+
| [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) |
242+
| [aws_ssm_activation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_activation) |
243+
222244
## Inputs
223245

224246
| Name | Description | Type | Default | Required |
225247
|------|-------------|------|---------|:--------:|
226248
| additional\_security\_groups | List of security groups to be allowed to connect to the EC2 instances | `list(string)` | `[]` | no |
227249
| additional\_settings | Additional Elastic Beanstalk setttings. For full list of options, see https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html | <pre>list(object({<br> namespace = string<br> name = string<br> value = string<br> }))</pre> | `[]` | no |
228250
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. | `map(string)` | `{}` | no |
229-
| alb\_zone\_id | ALB zone id | `map(string)` | <pre>{<br> "ap-northeast-1": "Z1R25G3KIG2GBW",<br> "ap-northeast-2": "Z3JE5OI70TWKCP",<br> "ap-south-1": "Z18NTBI3Y7N9TZ",<br> "ap-southeast-1": "Z16FZ9L249IFLT",<br> "ap-southeast-2": "Z2PCDNR3VC2G1N",<br> "ca-central-1": "ZJFCZL7SSZB5I",<br> "eu-central-1": "Z1FRNW7UH4DEZJ",<br> "eu-west-1": "Z2NYPWQ7DFZAZH",<br> "eu-west-2": "Z1GKAAAUGATPF1",<br> "eu-west-3": "ZCMLWB8V5SYIT",<br> "sa-east-1": "Z10X7K2B4QSOFV",<br> "us-east-1": "Z117KPS5GTRQ2G",<br> "us-east-2": "Z14LCN19Q5QHIC",<br> "us-west-1": "Z1LQECGX5PH1X",<br> "us-west-2": "Z38NKT9BP95V3O"<br>}</pre> | no |
251+
| alb\_zone\_id | ALB zone id | `map(string)` | <pre>{<br> "af-south-1": "Z1EI3BVKMKK4AM",<br> "ap-east-1": "ZPWYUBWRU171A",<br> "ap-northeast-1": "Z1R25G3KIG2GBW",<br> "ap-northeast-2": "Z3JE5OI70TWKCP",<br> "ap-south-1": "Z18NTBI3Y7N9TZ",<br> "ap-southeast-1": "Z16FZ9L249IFLT",<br> "ap-southeast-2": "Z2PCDNR3VC2G1N",<br> "ca-central-1": "ZJFCZL7SSZB5I",<br> "eu-central-1": "Z1FRNW7UH4DEZJ",<br> "eu-north-1": "Z23GO28BZ5AETM",<br> "eu-south-1": "Z10VDYYOA2JFKM",<br> "eu-west-1": "Z2NYPWQ7DFZAZH",<br> "eu-west-2": "Z1GKAAAUGATPF1",<br> "eu-west-3": "Z3Q77PNBQS71R4",<br> "me-south-1": "Z2BBTEKR2I36N2",<br> "sa-east-1": "Z10X7K2B4QSOFV",<br> "us-east-1": "Z117KPS5GTRQ2G",<br> "us-east-2": "Z14LCN19Q5QHIC",<br> "us-gov-east-1": "Z2NIFVYYW2VKV1",<br> "us-gov-west-1": "Z31GFT0UA1I2HV",<br> "us-west-1": "Z1LQECGX5PH1X",<br> "us-west-2": "Z38NKT9BP95V3O"<br>}</pre> | no |
230252
| allowed\_security\_groups | List of security groups to add to the EC2 instances | `list(string)` | `[]` | no |
231253
| ami\_id | The id of the AMI to associate with the Amazon EC2 instances | `string` | `null` | no |
232254
| application\_port | Port application is listening on | `number` | `80` | no |
@@ -337,7 +359,6 @@ Available targets:
337359
| setting | Settings specifically set for this environment |
338360
| tier | The environment tier |
339361
| triggers | Autoscaling triggers in use by this environment |
340-
341362
<!-- markdownlint-restore -->
342363

343364

docs/terraform.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,36 @@
1212
|------|---------|
1313
| aws | >= 2.0 |
1414

15+
## Modules
16+
17+
| Name | Source | Version |
18+
|------|--------|---------|
19+
| dns_hostname | cloudposse/route53-cluster-hostname/aws | 0.10.1 |
20+
| this | cloudposse/label/null | 0.24.1 |
21+
22+
## Resources
23+
24+
| Name |
25+
|------|
26+
| [aws_elastic_beanstalk_environment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elastic_beanstalk_environment) |
27+
| [aws_elb_service_account](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/elb_service_account) |
28+
| [aws_iam_instance_profile](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) |
29+
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) |
30+
| [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) |
31+
| [aws_iam_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) |
32+
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |
33+
| [aws_s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) |
34+
| [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) |
35+
| [aws_ssm_activation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_activation) |
36+
1537
## Inputs
1638

1739
| Name | Description | Type | Default | Required |
1840
|------|-------------|------|---------|:--------:|
1941
| additional\_security\_groups | List of security groups to be allowed to connect to the EC2 instances | `list(string)` | `[]` | no |
2042
| additional\_settings | Additional Elastic Beanstalk setttings. For full list of options, see https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html | <pre>list(object({<br> namespace = string<br> name = string<br> value = string<br> }))</pre> | `[]` | no |
2143
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. | `map(string)` | `{}` | no |
22-
| alb\_zone\_id | ALB zone id | `map(string)` | <pre>{<br> "ap-northeast-1": "Z1R25G3KIG2GBW",<br> "ap-northeast-2": "Z3JE5OI70TWKCP",<br> "ap-south-1": "Z18NTBI3Y7N9TZ",<br> "ap-southeast-1": "Z16FZ9L249IFLT",<br> "ap-southeast-2": "Z2PCDNR3VC2G1N",<br> "ca-central-1": "ZJFCZL7SSZB5I",<br> "eu-central-1": "Z1FRNW7UH4DEZJ",<br> "eu-west-1": "Z2NYPWQ7DFZAZH",<br> "eu-west-2": "Z1GKAAAUGATPF1",<br> "eu-west-3": "ZCMLWB8V5SYIT",<br> "sa-east-1": "Z10X7K2B4QSOFV",<br> "us-east-1": "Z117KPS5GTRQ2G",<br> "us-east-2": "Z14LCN19Q5QHIC",<br> "us-west-1": "Z1LQECGX5PH1X",<br> "us-west-2": "Z38NKT9BP95V3O"<br>}</pre> | no |
44+
| alb\_zone\_id | ALB zone id | `map(string)` | <pre>{<br> "af-south-1": "Z1EI3BVKMKK4AM",<br> "ap-east-1": "ZPWYUBWRU171A",<br> "ap-northeast-1": "Z1R25G3KIG2GBW",<br> "ap-northeast-2": "Z3JE5OI70TWKCP",<br> "ap-south-1": "Z18NTBI3Y7N9TZ",<br> "ap-southeast-1": "Z16FZ9L249IFLT",<br> "ap-southeast-2": "Z2PCDNR3VC2G1N",<br> "ca-central-1": "ZJFCZL7SSZB5I",<br> "eu-central-1": "Z1FRNW7UH4DEZJ",<br> "eu-north-1": "Z23GO28BZ5AETM",<br> "eu-south-1": "Z10VDYYOA2JFKM",<br> "eu-west-1": "Z2NYPWQ7DFZAZH",<br> "eu-west-2": "Z1GKAAAUGATPF1",<br> "eu-west-3": "Z3Q77PNBQS71R4",<br> "me-south-1": "Z2BBTEKR2I36N2",<br> "sa-east-1": "Z10X7K2B4QSOFV",<br> "us-east-1": "Z117KPS5GTRQ2G",<br> "us-east-2": "Z14LCN19Q5QHIC",<br> "us-gov-east-1": "Z2NIFVYYW2VKV1",<br> "us-gov-west-1": "Z31GFT0UA1I2HV",<br> "us-west-1": "Z1LQECGX5PH1X",<br> "us-west-2": "Z38NKT9BP95V3O"<br>}</pre> | no |
2345
| allowed\_security\_groups | List of security groups to add to the EC2 instances | `list(string)` | `[]` | no |
2446
| ami\_id | The id of the AMI to associate with the Amazon EC2 instances | `string` | `null` | no |
2547
| application\_port | Port application is listening on | `number` | `80` | no |
@@ -130,5 +152,4 @@
130152
| setting | Settings specifically set for this environment |
131153
| tier | The environment tier |
132154
| triggers | Autoscaling triggers in use by this environment |
133-
134155
<!-- markdownlint-restore -->

variables.tf

+10-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,16 @@ variable "alb_zone_id" {
414414
us-east-2 = "Z14LCN19Q5QHIC"
415415
us-west-1 = "Z1LQECGX5PH1X"
416416
us-west-2 = "Z38NKT9BP95V3O"
417-
eu-west-3 = "ZCMLWB8V5SYIT"
417+
eu-west-3 = "Z3Q77PNBQS71R4"
418+
af-south-1 = "Z1EI3BVKMKK4AM"
419+
ap-east-1 = "ZPWYUBWRU171A"
420+
eu-central-1 = "Z1FRNW7UH4DEZJ"
421+
eu-south-1 = "Z10VDYYOA2JFKM"
422+
eu-north-1 = "Z23GO28BZ5AETM"
423+
me-south-1 = "Z2BBTEKR2I36N2"
424+
sa-east-1 = "Z10X7K2B4QSOFV"
425+
us-gov-west-1 = "Z31GFT0UA1I2HV"
426+
us-gov-east-1 = "Z2NIFVYYW2VKV1"
418427
}
419428

420429
description = "ALB zone id"

0 commit comments

Comments
 (0)