vpn-gateway
cloud-native-toolkit/vpn-gateway/ibm
Module to provision a VPN Gateway service
VPN Gateway module Module to provision VPN Gateway instance(s) into the provided list of subnets. Software dependencies The module depends on the following software components: Command-line tools - terraform - v0.15 Terraform providers - IBM Cloud provider >= 1.9.0 Module dependencies This module makes use of the output from other modules: - Resource group - github.com/cloud-native-toolkit/terraform-ibm-resource-group - VPC subnets - github.com/cloud-native-toolkit/terraform-ibm-vpc-subnets Example usage Refer test case for more details ``hcl-terraform terraform { required_providers { ibm = { source = "ibm-cloud/ibm" } } required_version = ">= 0.13" } provider "ibm" { ibmcloud_api_key = var.ibmcloud_api_key region = var.region } module "vpn_gateway" { source = "github.com/cloud-native-tool
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_name | string | The name of the vpc instance | required |
| vpc_subnet_count | number | Number of vpc subnets | required |
| vpc_subnets | list(object({ label = stri | List of subnets with labels | required |
| resource_group_id | string | The id of the IBM Cloud resource group where the VPC has been provisioned. | required |
| region | string | The IBM Cloud region where the cluster will be/has been installed. | required |
| ibmcloud_api_key | string | The IBM Cloud api token | required |
| provision | bool | Flag indicating that the resource should be provisioned. If false the resource w | true |
| label | string | The label for the server instance | "vpn" |
| mode | string | The optional mode of operation for the VPN gateway. Valid values are route or po | null |
| tags | list(string) | List of tags for the resource | [] |
ids — The ids of the gateways that were createdcrns — The crns of the gateways that were createdcount — The number of gateways that were createdprovision — The flag indicating that the gateway was provisioned