New tfdoc version (#396)
* update tfdoc * rewrite check docs, refactor tfdoc replace, regenerate modules READMEs * remove dead code from check docs * do not fail on missing variable files in check docs * fix typos
This commit is contained in:
committed by
GitHub
parent
d2cbf800fc
commit
1ac3fe4460
@@ -16,23 +16,24 @@ module "nat" {
|
||||
```
|
||||
|
||||
<!-- BEGIN TFDOC -->
|
||||
|
||||
## Variables
|
||||
|
||||
| name | description | type | required | default |
|
||||
|---|---|:---: |:---:|:---:|
|
||||
| name | Name of the Cloud NAT resource. | <code title="">string</code> | ✓ | |
|
||||
| project_id | Project where resources will be created. | <code title="">string</code> | ✓ | |
|
||||
| region | Region where resources will be created. | <code title="">string</code> | ✓ | |
|
||||
| *addresses* | Optional list of external address self links. | <code title="list(string)">list(string)</code> | | <code title="">[]</code> |
|
||||
| *config_min_ports_per_vm* | Minimum number of ports allocated to a VM from this NAT config. | <code title="">number</code> | | <code title="">64</code> |
|
||||
| *config_source_subnets* | Subnetwork configuration (ALL_SUBNETWORKS_ALL_IP_RANGES, ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, LIST_OF_SUBNETWORKS). | <code title="">string</code> | | <code title="">ALL_SUBNETWORKS_ALL_IP_RANGES</code> |
|
||||
| *config_timeouts* | Timeout configurations. | <code title="object({ icmp = number tcp_established = number tcp_transitory = number udp = number })">object({...})</code> | | <code title="{ icmp = 30 tcp_established = 1200 tcp_transitory = 30 udp = 30 }">...</code> |
|
||||
| *logging_filter* | Enables logging if not null, value is one of 'ERRORS_ONLY', 'TRANSLATIONS_ONLY', 'ALL'. | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *router_asn* | Router ASN used for auto-created router. | <code title="">number</code> | | <code title="">64514</code> |
|
||||
| *router_create* | Create router. | <code title="">bool</code> | | <code title="">true</code> |
|
||||
| *router_name* | Router name, leave blank if router will be created to use auto generated name. | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *router_network* | Name of the VPC used for auto-created router. | <code title="">string</code> | | <code title="">null</code> |
|
||||
| *subnetworks* | Subnetworks to NAT, only used when config_source_subnets equals LIST_OF_SUBNETWORKS. | <code title="list(object({ self_link = string, config_source_ranges = list(string) secondary_ranges = list(string) }))">list(object({...}))</code> | | <code title="">[]</code> |
|
||||
|---|---|:---:|:---:|:---:|
|
||||
| name | Name of the Cloud NAT resource. | <code>string</code> | ✓ | |
|
||||
| project_id | Project where resources will be created. | <code>string</code> | ✓ | |
|
||||
| region | Region where resources will be created. | <code>string</code> | ✓ | |
|
||||
| addresses | Optional list of external address self links. | <code>list(string)</code> | | <code>[]</code> |
|
||||
| config_min_ports_per_vm | Minimum number of ports allocated to a VM from this NAT config. | <code>number</code> | | <code>64</code> |
|
||||
| config_source_subnets | Subnetwork configuration (ALL_SUBNETWORKS_ALL_IP_RANGES, ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, LIST_OF_SUBNETWORKS). | <code>string</code> | | <code>"ALL_SUBNETWORKS_ALL_IP_RANGES"</code> |
|
||||
| config_timeouts | Timeout configurations. | <code title="object({ icmp = number tcp_established = number tcp_transitory = number udp = number })">object({…})</code> | | <code title="{ icmp = 30 tcp_established = 1200 tcp_transitory = 30 udp = 30 }">{…}</code> |
|
||||
| logging_filter | Enables logging if not null, value is one of 'ERRORS_ONLY', 'TRANSLATIONS_ONLY', 'ALL'. | <code>string</code> | | <code>null</code> |
|
||||
| router_asn | Router ASN used for auto-created router. | <code>number</code> | | <code>64514</code> |
|
||||
| router_create | Create router. | <code>bool</code> | | <code>true</code> |
|
||||
| router_name | Router name, leave blank if router will be created to use auto generated name. | <code>string</code> | | <code>null</code> |
|
||||
| router_network | Name of the VPC used for auto-created router. | <code>string</code> | | <code>null</code> |
|
||||
| subnetworks | Subnetworks to NAT, only used when config_source_subnets equals LIST_OF_SUBNETWORKS. | <code title="list(object({ self_link = string, config_source_ranges = list(string) secondary_ranges = list(string) }))">list(object({…}))</code> | | <code>[]</code> |
|
||||
|
||||
## Outputs
|
||||
|
||||
@@ -43,4 +44,6 @@ module "nat" {
|
||||
| region | Cloud NAT region. | |
|
||||
| router | Cloud NAT router resources (if auto created). | |
|
||||
| router_name | Cloud NAT router name. | |
|
||||
|
||||
|
||||
<!-- END TFDOC -->
|
||||
|
||||
Reference in New Issue
Block a user