You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_cloud_service_by_crn"></a> [cloud\_service\_by\_crn](#input\_cloud\_service\_by\_crn)| List of cloud service CRNs. The keys are the CRN. The values (all optional) give some level of control on the created VPEs. Each CRN will have a unique endpoint gateways created. For a list of supported services, see the docs [here](https://cloud.ibm.com/docs/vpc?topic=vpc-vpe-supported-services). | <pre>set(<br> object({<br> crn = string<br> vpe_name = optional(string) # Full control on the VPE name. If not specified, the VPE name will be computed based on prefix, vpc name and service name.<br> service_name = optional(string) # Name of the service used to compute the name of the VPE. If not specified, the service name will be obtained from the crn.<br> allow_dns_resolution_binding = optional(bool, true)<br> })<br> )</pre> |`[]`| no |
122
-
| <aname="input_cloud_services"></a> [cloud\_services](#input\_cloud\_services)|List of cloud services to create an endpoint gateway. The keys are the service names, the values (all optional) give some level of control on the created VPEs. | <pre>set(object({<br> service_name = string<br> vpe_name = optional(string), # Full control on the VPE name. If not specified, the VPE name will be computed based on prefix, vpc name and service name.<br> allow_dns_resolution_binding = optional(bool, false)<br> }))</pre> |`[]`| no |
121
+
| <a name="input_cloud_service_by_crn"></a> [cloud\_service\_by\_crn](#input\_cloud\_service\_by\_crn) | The list of cloud service CRNs used to create endpoint gateways. Use this list to identify services that are not supported by service name in the `cloud_services` variable. For a list of supported services, see [VPE-enabled services](https://cloud.ibm.com/docs/vpc?topic=vpc-vpe-supported-services). If `service_name` is not specified, the CRN is used to find the name. If `vpe_name` is not specified in the list, VPE names are created in the format `<prefix>-<vpc_name>-<service_name>`. The value that you specify for `vpc_name` must be known at Terraform plan time. | <pre>set(<br> object({<br> crn = string<br> vpe_name = optional(string) # Full control on the VPE name. If not specified, the VPE name will be computed based on prefix, vpc name and service name.<br> service_name = optional(string) # Name of the service used to compute the name of the VPE. If not specified, the service name will be obtained from the crn.<br> allow_dns_resolution_binding = optional(bool, true)<br> })<br> )</pre> | `[]` | no |
122
+
| <aname="input_cloud_services"></a> [cloud\_services](#input\_cloud\_services)|The list of cloud services used to create endpoint gateways. If `vpe_name` is not specified in the list, VPE names are created in the format `<prefix>-<vpc_name>-<service_name>`. The value that you specify for `vpc_name` must be known at Terraform plan time. | <pre>set(object({<br> service_name = string<br> vpe_name = optional(string), # Full control on the VPE name. If not specified, the VPE name will be computed based on prefix, vpc name and service name.<br> allow_dns_resolution_binding = optional(bool, false)<br> }))</pre> |`[]`| no |
123
123
| <aname="input_prefix"></a> [prefix](#input\_prefix)| The prefix that you would like to append to your resources |`string`|`"vpe"`| no |
124
124
| <aname="input_region"></a> [region](#input\_region)| The region where VPC and services are deployed |`string`|`"us-south"`| no |
125
125
| <aname="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 |
126
126
| <aname="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 |
127
127
| <aname="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 |
128
128
| <aname="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 |
129
129
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| ID of the VPC where the Endpoint Gateways will be created |`string`|`null`| no |
130
-
| <aname="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 |
130
+
| <aname="input_vpc_name"></a> [vpc\_name](#input\_vpc\_name)|A label that can be used as a short name for virtual private endpoints. If `vpe_name` is not specified in the `cloud_services` or `cloud_service_by_crn` input variable lists, VPE names are created in the format `<prefix>-<vpc_name>-<service_name>`. The value that you specify for `vpc_name` must be known at Terraform plan time. |`string`|`"vpc"`| no |
Copy file name to clipboardExpand all lines: variables.tf
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ variable "prefix" {
15
15
}
16
16
17
17
variable"vpc_name" {
18
-
description="Name of the VPC where the Endpoint Gateways will be created. This value is used to dynamically generate VPE names."
18
+
description="A label that can be used as a short name for virtual private endpoints. If `vpe_name` is not specified in the `cloud_services` or `cloud_service_by_crn` input variable lists, VPE names are created in the format `<prefix>-<vpc_name>-<service_name>`. The value that you specify for `vpc_name` must be known at Terraform plan time."
description="List of cloud services to create an endpoint gateway. The keys are the service names, the values (all optional) give some level of control on the created VPEs."
62
+
description="The list of cloud services used to create endpoint gateways. If `vpe_name` is not specified in the list, VPE names are created in the format `<prefix>-<vpc_name>-<service_name>`. The value that you specify for `vpc_name` must be known at Terraform plan time."
63
63
type=set(object({
64
64
service_name =string
65
65
vpe_name =optional(string), # Full control on the VPE name. If not specified, the VPE name will be computed based on prefix, vpc name and service name.
error_message="Currently the service you're trying to add is not supported. Any other VPE services must be added using `cloud_service_by_crn`."
70
+
error_message="The service you're trying to add is not supported. For a list of supported services, see [VPE-enabled services](https://cloud.ibm.com/docs/vpc?topic=vpc-vpe-supported-services). You can add unsupported services in the `cloud_service_by_crn` variable."
description="List of cloud service CRNs. The keys are the CRN. The values (all optional) give some level of control on the created VPEs. Each CRN will have a unique endpoint gateways created. For a list of supported services, see the docs [here](https://cloud.ibm.com/docs/vpc?topic=vpc-vpe-supported-services)."
113
+
description="The list of cloud service CRNs used to create endpoint gateways. Use this list to identify services that are not supported by service name in the `cloud_services` variable. For a list of supported services, see [VPE-enabled services](https://cloud.ibm.com/docs/vpc?topic=vpc-vpe-supported-services). If `service_name` is not specified, the CRN is used to find the name. If `vpe_name` is not specified in the list, VPE names are created in the format `<prefix>-<vpc_name>-<service_name>`. The value that you specify for `vpc_name` must be known at Terraform plan time."
0 commit comments