Link vars and outputs from README
This commit is contained in:
@@ -31,36 +31,33 @@ module "vpn" {
|
||||
}
|
||||
# tftest:modules=2:resources=8
|
||||
```
|
||||
|
||||
|
||||
<!-- BEGIN TFDOC -->
|
||||
|
||||
## Variables
|
||||
|
||||
| name | description | type | required | default |
|
||||
|---|---|:---:|:---:|:---:|
|
||||
| name | VPN gateway name, and prefix used for dependent resources. | <code>string</code> | ✓ | |
|
||||
| network | VPC used for the gateway and routes. | <code>string</code> | ✓ | |
|
||||
| project_id | Project where resources will be created. | <code>string</code> | ✓ | |
|
||||
| region | Region used for resources. | <code>string</code> | ✓ | |
|
||||
| gateway_address | Optional address assigned to the VPN gateway. Ignored unless gateway_address_create is set to false. | <code>string</code> | | <code>""</code> |
|
||||
| gateway_address_create | Create external address assigned to the VPN gateway. Needs to be explicitly set to false to use address in gateway_address variable. | <code>bool</code> | | <code>true</code> |
|
||||
| remote_ranges | Remote IP CIDR ranges. | <code>list(string)</code> | | <code>[]</code> |
|
||||
| route_priority | Route priority, defaults to 1000. | <code>number</code> | | <code>1000</code> |
|
||||
| tunnels | VPN tunnel configurations. | <code title="map(object({ ike_version = number peer_ip = string shared_secret = string traffic_selectors = object({ local = list(string) remote = list(string) }) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
| [name](variables.tf#L29) | VPN gateway name, and prefix used for dependent resources. | <code>string</code> | ✓ | |
|
||||
| [network](variables.tf#L34) | VPC used for the gateway and routes. | <code>string</code> | ✓ | |
|
||||
| [project_id](variables.tf#L39) | Project where resources will be created. | <code>string</code> | ✓ | |
|
||||
| [region](variables.tf#L44) | Region used for resources. | <code>string</code> | ✓ | |
|
||||
| [gateway_address](variables.tf#L17) | Optional address assigned to the VPN gateway. Ignored unless gateway_address_create is set to false. | <code>string</code> | | <code>""</code> |
|
||||
| [gateway_address_create](variables.tf#L23) | Create external address assigned to the VPN gateway. Needs to be explicitly set to false to use address in gateway_address variable. | <code>bool</code> | | <code>true</code> |
|
||||
| [remote_ranges](variables.tf#L49) | Remote IP CIDR ranges. | <code>list(string)</code> | | <code>[]</code> |
|
||||
| [route_priority](variables.tf#L55) | Route priority, defaults to 1000. | <code>number</code> | | <code>1000</code> |
|
||||
| [tunnels](variables.tf#L61) | VPN tunnel configurations. | <code title="map(object({ ike_version = number peer_ip = string shared_secret = string traffic_selectors = object({ local = list(string) remote = list(string) }) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
| name | description | sensitive |
|
||||
|---|---|:---:|
|
||||
| address | VPN gateway address. | |
|
||||
| gateway | VPN gateway resource. | |
|
||||
| name | VPN gateway name. | |
|
||||
| random_secret | Generated secret. | |
|
||||
| self_link | VPN gateway self link. | |
|
||||
| tunnel_names | VPN tunnel names. | |
|
||||
| tunnel_self_links | VPN tunnel self links. | |
|
||||
| tunnels | VPN tunnel resources. | |
|
||||
| [address](outputs.tf#L17) | VPN gateway address. | |
|
||||
| [gateway](outputs.tf#L22) | VPN gateway resource. | |
|
||||
| [name](outputs.tf#L27) | VPN gateway name. | |
|
||||
| [random_secret](outputs.tf#L32) | Generated secret. | |
|
||||
| [self_link](outputs.tf#L37) | VPN gateway self link. | |
|
||||
| [tunnel_names](outputs.tf#L42) | VPN tunnel names. | |
|
||||
| [tunnel_self_links](outputs.tf#L50) | VPN tunnel self links. | |
|
||||
| [tunnels](outputs.tf#L58) | VPN tunnel resources. | |
|
||||
|
||||
<!-- END TFDOC -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user