Skip to content

Commit f66efd4

Browse files
authored
Added eu-es region in registry mapping endpoints<br>- zone is now required input in the subnet_zone_list input variable. (#539)
1 parent 54d3f74 commit f66efd4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,20 @@ module "vpes" {
4848
vpc_id = "r022-ae2a6785-gd62-7d4j-af62-b4891e949345"
4949
subnet_zone_list = [
5050
{
51+
id = "0757-b21b9565-bc4c-4847-bc6f-277ecd0a7cf6"
5152
name = "subnet-1"
5253
cidr = "10.0.10.0/24"
5354
public_gateway = true
5455
acl_name = "acl"
56+
zone = "zone-1"
5557
},
5658
{
59+
id = "0757-b21b9565-bc4c-4847-bc6f-277ecd0a7cf6"
5760
name = "subnet-2"
5861
cidr = "10.0.11.0/24"
5962
acl_name = "acl"
6063
public_gateway = null
64+
zone = "zone-2"
6165
}
6266
]
6367
resource_group_id = "00ae4b38253f43a3acd14619dd385632" # pragma: allowlist secret
@@ -121,7 +125,7 @@ No modules.
121125
| <a name="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id) | ID of the resource group where endpoint gateways will be provisioned | `string` | `null` | no |
122126
| <a name="input_security_group_ids"></a> [security\_group\_ids](#input\_security\_group\_ids) | List of security group ids to attach to each endpoint gateway. | `list(string)` | `null` | no |
123127
| <a name="input_service_endpoints"></a> [service\_endpoints](#input\_service\_endpoints) | Service endpoints to use to create endpoint gateways. Can be `public`, or `private`. | `string` | `"private"` | no |
124-
| <a name="input_subnet_zone_list"></a> [subnet\_zone\_list](#input\_subnet\_zone\_list) | List of subnets in the VPC where gateways and reserved IPs will be provisioned. This value is intended to use the `subnet_zone_list` output from the Landing Zone VPC Subnet Module (https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc) or from templates using that module for subnet creation. | <pre>list(<br> object({<br> name = string<br> id = string<br> zone = optional(string)<br> cidr = optional(string)<br> })<br> )</pre> | `[]` | no |
128+
| <a name="input_subnet_zone_list"></a> [subnet\_zone\_list](#input\_subnet\_zone\_list) | List of subnets in the VPC where gateways and reserved IPs will be provisioned. This value is intended to use the `subnet_zone_list` output from the Landing Zone VPC Subnet Module (https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc) or from templates using that module for subnet creation. | <pre>list(<br> object({<br> name = string<br> id = string<br> zone = string<br> cidr = optional(string)<br> })<br> )</pre> | `[]` | no |
125129
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | ID of the VPC where the Endpoint Gateways will be created | `string` | `null` | no |
126130
| <a name="input_vpc_name"></a> [vpc\_name](#input\_vpc\_name) | Name of the VPC where the Endpoint Gateways will be created. This value is used to dynamically generate VPE names. | `string` | `"vpc"` | no |
127131

service_endpoints.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ locals {
5151
"eu-gb" = "uk.icr.io" # uk-south
5252
"ca-tor" = "ca.icr.io" # ca-tor
5353
"br-sao" = "br.icr.io" # br-sao
54-
"us-south" = "us.icr.io" # us
54+
"us-south" = "us.icr.io" # us-south
55+
"eu-es" = "es.icr.io" # eu-es
5556
}
5657

5758
}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ variable "subnet_zone_list" {
3232
object({
3333
name = string
3434
id = string
35-
zone = optional(string)
35+
zone = string
3636
cidr = optional(string)
3737
})
3838
)

0 commit comments

Comments
 (0)