Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/compute_instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ See the [simple](https://github.com/terraform-google-modules/terraform-google-vm
| ipv6\_access\_config | IPv6 access configurations. Currently a max of 1 IPv6 access configuration is supported. If not specified, the instance will have no external IPv6 Internet access. | <pre>list(object({<br> network_tier = string<br> }))</pre> | `[]` | no |
| labels | (Optional) Labels to override those from the template, provided as a map | `map(string)` | `null` | no |
| network | Network to deploy to. Only one of network or subnetwork should be specified. | `string` | `""` | no |
| num\_instances | Number of instances to create. This value is ignored if static\_ips is provided. | `number` | `"1"` | no |
| num\_instances | Number of instances to create. This value is ignored if static\_ips is provided. | `number` | `1` | no |
| project\_id | The ID of the project in which the compute instance will be created. | `string` | n/a | yes |
| region | Region where the instances should be created. | `string` | `null` | no |
| resource\_manager\_tags | (Optional) A tag is a key-value pair that can be attached to a Google Cloud resource. You can use tags to conditionally allow or deny policies based on whether a resource has a specific tag. This value is not returned by the API. In Terraform, this value cannot be updated and changing it will recreate the resource. | `map(string)` | `null` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/compute_instance/metadata.display.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion modules/compute_instance/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ spec:
- name: num_instances
description: Number of instances to create. This value is ignored if static_ips is provided.
varType: number
defaultValue: "1"
defaultValue: 1
- name: instance_template
description: Instance template self_link used to create compute instances
varType: string
Expand Down
2 changes: 1 addition & 1 deletion modules/compute_instance/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ variable "ipv6_access_config" {
variable "num_instances" {
description = "Number of instances to create. This value is ignored if static_ips is provided."
type = number
default = "1"
default = 1
}

variable "instance_template" {
Expand Down
Loading