From 28560baf63d66ac6a3985cf2cbf51c50351a6c8f Mon Sep 17 00:00:00 2001 From: Luigi Bitonti Date: Thu, 12 Oct 2023 15:41:03 +0200 Subject: [PATCH] Updated README.md --- modules/compute-vm/README.md | 7 +++---- modules/compute-vm/variables.tf | 6 ------ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/modules/compute-vm/README.md b/modules/compute-vm/README.md index 075596b1f7..5c5f5bf79c 100644 --- a/modules/compute-vm/README.md +++ b/modules/compute-vm/README.md @@ -685,7 +685,7 @@ module "instance" { | [name](variables.tf#L235) | Instance name. | string | ✓ | | | [network_interfaces](variables.tf#L240) | Network interfaces configuration. Use self links for Shared VPC, set addresses to null if not needed. | list(object({…})) | ✓ | | | [project_id](variables.tf#L278) | Project id. | string | ✓ | | -| [zone](variables.tf#L376) | Compute zone. | string | ✓ | | +| [zone](variables.tf#L370) | Compute zone. | string | ✓ | | | [attached_disk_defaults](variables.tf#L17) | Defaults for attached disks options. | object({…}) | | {…} | | [attached_disks](variables.tf#L37) | Additional disks, if options is null defaults will be used in its place. Source type is one of 'image' (zonal disks in vms and template), 'snapshot' (vm), 'existing', and null. | list(object({…})) | | [] | | [boot_disk](variables.tf#L83) | Boot disk properties. | object({…}) | | {…} | @@ -708,9 +708,8 @@ module "instance" { | [service_account](variables.tf#L295) | Service account email and scopes. If email is null, the default Compute service account will be used unless auto_create is true, in which case a service account will be created. Set the variable to null to avoid attaching a service account. | object({…}) | | {} | | [shielded_config](variables.tf#L305) | Shielded VM configuration of the instances. | object({…}) | | null | | [snapshot_schedules](variables.tf#L315) | Snapshot schedule resource policies that can be attached to disks. | map(object({…})) | | {} | -| [stack_type](variables.tf#L358) | The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6 or IPV4_ONLY. If not specified, IPV4_ONLY will be used. | string | | "IPV4_ONLY" | -| [tag_bindings](variables.tf#L364) | Tag bindings for this instance, in key => tag value id format. | map(string) | | null | -| [tags](variables.tf#L370) | Instance network tags for firewall rule targets. | list(string) | | [] | +| [tag_bindings](variables.tf#L358) | Tag bindings for this instance, in key => tag value id format. | map(string) | | null | +| [tags](variables.tf#L364) | Instance network tags for firewall rule targets. | list(string) | | [] | ## Outputs diff --git a/modules/compute-vm/variables.tf b/modules/compute-vm/variables.tf index 44c7b92f59..48f20c18aa 100644 --- a/modules/compute-vm/variables.tf +++ b/modules/compute-vm/variables.tf @@ -355,12 +355,6 @@ variable "snapshot_schedules" { } } -variable "stack_type" { - description = "The stack type for this network interface to identify whether the IPv6 feature is enabled or not. Values are IPV4_IPV6 or IPV4_ONLY. If not specified, IPV4_ONLY will be used." - type = string - default = "IPV4_ONLY" -} - variable "tag_bindings" { description = "Tag bindings for this instance, in key => tag value id format." type = map(string)