Skip to content

Commit

Permalink
Adding stack_type info to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelrn committed Sep 11, 2024
1 parent 3aee5dc commit 11e8126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vmseries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ No modules.
| <a name="input_min_cpu_platform"></a> [min\_cpu\_platform](#input\_min\_cpu\_platform) | Minimum CPU platform for the compute instance. Up to date version can be found [here](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). | `string` | `"Intel Cascade Lake"` | no |
| <a name="input_name"></a> [name](#input\_name) | Name of the VM-Series instance. | `string` | n/a | yes |
| <a name="input_named_ports"></a> [named\_ports](#input\_named\_ports) | The list of named ports to create in the instance group:<pre>named_ports = [<br> {<br> name = "http"<br> port = "80"<br> },<br> {<br> name = "app42"<br> port = "4242"<br> },<br>]</pre>The name identifies the backend port to receive the traffic from the global load balancers.<br>Practically, tcp port 80 named "http" works even when not defined here, but it's not a documented provider's behavior. | `list` | `[]` | no |
| <a name="input_network_interfaces"></a> [network\_interfaces](#input\_network\_interfaces) | List of the network interface specifications.<br>Available options:<br>- `subnetwork` - (Required\|string) Self-link of a subnetwork to create interface in.<br>- `private_ip_name` - (Optional\|string) Name for a private IPv4 address to reserve.<br>- `private_ip` - (Optional\|string) Private IPv4 address to reserve.<br>- `create_public_ip` - (Optional\|boolean) Whether to reserve public IPv4 address for the interface. Ignored if `public_ip` is provided. Defaults to 'false'.<br>- `public_ip_name` - (Optional\|string) Name for a public IPv4 address to reserve.<br>- `public_ip` - (Optional\|string) Existing public IPv4 address to use.<br>- `public_ptr_domain_name` - (Optional\|string) Existing public IPv4 address PTR name to use.<br>- `alias_ip_ranges` - (Optional\|list) List of objects that define additional IP ranges for an interface, as specified [here](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance#ip_cidr_range)<br>- `create_public_ipv6` - (Optional\|boolean) Whether to reserve public IPv6 address for the interface. Ignored if `public_ipv6` is provided. Defaults to 'false'.<br>- `public_ipv6_name` - (Optional\|string) Name for a public IPv6 address to reserve.<br>- `public_ipv6` - (Optional\|string) Existing public IPv6 address to use.<br>- `public_ipv6_ptr_domain_name` - (Optional\|string) Existing public IPv6 address PTR name to use. | `list(any)` | n/a | yes |
| <a name="input_network_interfaces"></a> [network\_interfaces](#input\_network\_interfaces) | List of the network interface specifications.<br>Available options:<br>- `subnetwork` - (Required\|string) Self-link of a subnetwork to create interface in.<br>- `stack_type` - (Optional\|string) IP stack to use: IPV4\_ONLY (default) or IPV4\_IPV6.<br>- `private_ip_name` - (Optional\|string) Name for a private IPv4 address to reserve.<br>- `private_ip` - (Optional\|string) Private IPv4 address to reserve.<br>- `create_public_ip` - (Optional\|boolean) Whether to reserve public IPv4 address for the interface. Ignored if `public_ip` is provided. Defaults to 'false'.<br>- `public_ip_name` - (Optional\|string) Name for a public IPv4 address to reserve.<br>- `public_ip` - (Optional\|string) Existing public IPv4 address to use.<br>- `public_ptr_domain_name` - (Optional\|string) Existing public IPv4 address PTR name to use.<br>- `alias_ip_ranges` - (Optional\|list) List of objects that define additional IP ranges for an interface, as specified [here](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance#ip_cidr_range)<br>- `create_public_ipv6` - (Optional\|boolean) Whether to reserve public IPv6 address for the interface. Ignored if `public_ipv6` is provided. Defaults to 'false'.<br>- `public_ipv6_name` - (Optional\|string) Name for a public IPv6 address to reserve.<br>- `public_ipv6` - (Optional\|string) Existing public IPv6 address to use.<br>- `public_ipv6_ptr_domain_name` - (Optional\|string) Existing public IPv6 address PTR name to use. | `list(any)` | n/a | yes |
| <a name="input_project"></a> [project](#input\_project) | n/a | `string` | `null` | no |
| <a name="input_resource_policies"></a> [resource\_policies](#input\_resource\_policies) | n/a | `list(string)` | `[]` | no |
| <a name="input_scopes"></a> [scopes](#input\_scopes) | n/a | `list(string)` | <pre>[<br> "https://www.googleapis.com/auth/compute.readonly",<br> "https://www.googleapis.com/auth/cloud.useraccounts.readonly",<br> "https://www.googleapis.com/auth/devstorage.read_only",<br> "https://www.googleapis.com/auth/logging.write",<br> "https://www.googleapis.com/auth/monitoring.write"<br>]</pre> | no |
Expand Down
1 change: 1 addition & 0 deletions modules/vmseries/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ variable "network_interfaces" {
List of the network interface specifications.
Available options:
- `subnetwork` - (Required|string) Self-link of a subnetwork to create interface in.
- `stack_type` - (Optional|string) IP stack to use: IPV4_ONLY (default) or IPV4_IPV6.
- `private_ip_name` - (Optional|string) Name for a private IPv4 address to reserve.
- `private_ip` - (Optional|string) Private IPv4 address to reserve.
- `create_public_ip` - (Optional|boolean) Whether to reserve public IPv4 address for the interface. Ignored if `public_ip` is provided. Defaults to 'false'.
Expand Down

0 comments on commit 11e8126

Please sign in to comment.