From ad9aceeb9a62150bf95e4b0504ec1cc705ed3a44 Mon Sep 17 00:00:00 2001 From: Bharath KKB Date: Fri, 18 Nov 2022 10:06:14 -0600 Subject: [PATCH] chore: fix links (#282) --- autogen/README.md | 2 +- autogen/variables.tf.tmpl | 10 +++++----- examples/compute_instance/disk_snapshot/README.md | 2 +- .../compute_instance/disk_snapshot/variables.tf | 2 +- examples/compute_instance/simple/README.md | 2 +- examples/compute_instance/simple/variables.tf | 2 +- .../instance_template/additional_disks/README.md | 2 +- .../additional_disks/variables.tf | 2 +- .../instance_template/alias_ip_range/README.md | 2 +- .../instance_template/alias_ip_range/variables.tf | 2 +- .../instance_template/encrypted_disks/README.md | 2 +- .../instance_template/encrypted_disks/variables.tf | 2 +- examples/instance_template/simple/README.md | 2 +- examples/instance_template/simple/variables.tf | 2 +- examples/mig/autoscaler/README.md | 2 +- examples/mig/autoscaler/variables.tf | 2 +- examples/mig/full/variables.tf | 14 +++++++------- examples/mig/healthcheck/README.md | 2 +- examples/mig/healthcheck/variables.tf | 2 +- examples/mig/simple/README.md | 2 +- examples/mig/simple/variables.tf | 2 +- .../simple/README.md | 2 +- .../simple/variables.tf | 2 +- examples/umig/full/variables.tf | 4 ++-- examples/umig/named_ports/README.md | 2 +- examples/umig/named_ports/variables.tf | 2 +- examples/umig/simple/README.md | 2 +- examples/umig/simple/variables.tf | 2 +- examples/umig/static_ips/README.md | 2 +- examples/umig/static_ips/variables.tf | 2 +- modules/compute_instance/README.md | 2 +- modules/instance_template/README.md | 4 ++-- modules/instance_template/variables.tf | 4 ++-- modules/mig/README.md | 12 ++++++------ modules/mig/variables.tf | 10 +++++----- modules/mig_with_percent/README.md | 10 +++++----- modules/mig_with_percent/variables.tf | 10 +++++----- .../README.md | 4 ++-- .../variables.tf | 4 ++-- modules/umig/README.md | 2 +- .../compute_instance/disk_snapshot/variables.tf | 2 +- .../compute_instance/simple_zone/variables.tf | 2 +- test/fixtures/instance_simple/variables.tf | 2 +- .../additional_disks/variables.tf | 2 +- test/fixtures/mig/autoscaler/variables.tf | 2 +- test/fixtures/mig/healthcheck/variables.tf | 2 +- test/fixtures/mig/simple/variables.tf | 2 +- .../simple/variables.tf | 2 +- test/fixtures/umig/named_ports/variables.tf | 2 +- test/fixtures/umig/simple/variables.tf | 2 +- test/fixtures/umig/static_ips/variables.tf | 2 +- 51 files changed, 83 insertions(+), 83 deletions(-) diff --git a/autogen/README.md b/autogen/README.md index 1fc043c1..e3407711 100644 --- a/autogen/README.md +++ b/autogen/README.md @@ -1,7 +1,7 @@ {% if mig %} # Managed Instance Group (MIG) -This module is used to create a [google_compute_region_instance_group_manager](https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html), +This module is used to create a [google_compute_region_instance_group_manager](https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager), and optionally, an autoscaler and healthchecks. {% else %} diff --git a/autogen/variables.tf.tmpl b/autogen/variables.tf.tmpl index 4521e77f..ddee4e89 100644 --- a/autogen/variables.tf.tmpl +++ b/autogen/variables.tf.tmpl @@ -90,7 +90,7 @@ variable "stateful_disks" { ################# variable "update_policy" { - description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html#rolling_update_policy" + description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager#rolling_update_policy" type = list(object({ max_surge_fixed = number instance_redistribution_type = string @@ -183,7 +183,7 @@ variable "autoscaling_mode" { } variable "autoscaling_cpu" { - description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization" + description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#cpu_utilization" type = list(object({ target = number predictive_method = string @@ -192,7 +192,7 @@ variable "autoscaling_cpu" { } variable "autoscaling_metric" { - description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#metric" + description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#metric" type = list(object({ name = string target = number @@ -202,7 +202,7 @@ variable "autoscaling_metric" { } variable "autoscaling_lb" { - description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#load_balancing_utilization" + description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#load_balancing_utilization" type = list(map(number)) default = [] } @@ -221,7 +221,7 @@ variable "scaling_schedules" { } variable "autoscaling_scale_in_control" { - description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#scale_in_control" + description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#scale_in_control" type = object({ fixed_replicas = number percent_replicas = number diff --git a/examples/compute_instance/disk_snapshot/README.md b/examples/compute_instance/disk_snapshot/README.md index c402bc49..50691f6e 100644 --- a/examples/compute_instance/disk_snapshot/README.md +++ b/examples/compute_instance/disk_snapshot/README.md @@ -9,7 +9,7 @@ This is a simple example of how to use the compute_disk_snapshot module |------|-------------|------|---------|:--------:| | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string,
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string,
scopes = set(string)
})
| `null` | no | | subnetwork | The subnetwork selflink to host the compute instances in | `any` | n/a | yes | ## Outputs diff --git a/examples/compute_instance/disk_snapshot/variables.tf b/examples/compute_instance/disk_snapshot/variables.tf index 36432b73..38625935 100644 --- a/examples/compute_instance/disk_snapshot/variables.tf +++ b/examples/compute_instance/disk_snapshot/variables.tf @@ -35,5 +35,5 @@ variable "service_account" { email = string, scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/compute_instance/simple/README.md b/examples/compute_instance/simple/README.md index 92718aaa..40d86b0b 100644 --- a/examples/compute_instance/simple/README.md +++ b/examples/compute_instance/simple/README.md @@ -13,7 +13,7 @@ This is a simple, minimal example of how to use the compute_instance module | num\_instances | Number of instances to create | `any` | n/a | yes | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string,
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string,
scopes = set(string)
})
| `null` | no | | subnetwork | The subnetwork selflink to host the compute instances in | `any` | n/a | yes | | zone | The GCP zone to create resources in | `string` | `null` | no | diff --git a/examples/compute_instance/simple/variables.tf b/examples/compute_instance/simple/variables.tf index baea6ba2..92686c8b 100644 --- a/examples/compute_instance/simple/variables.tf +++ b/examples/compute_instance/simple/variables.tf @@ -63,5 +63,5 @@ variable "service_account" { email = string, scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/instance_template/additional_disks/README.md b/examples/instance_template/additional_disks/README.md index 37f4ae03..b16a4de9 100644 --- a/examples/instance_template/additional_disks/README.md +++ b/examples/instance_template/additional_disks/README.md @@ -10,7 +10,7 @@ instance templates with additional persistent disks. |------|-------------|------|---------|:--------:| | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The name of the subnetwork create this instance in. | `string` | `""` | no | ## Outputs diff --git a/examples/instance_template/additional_disks/variables.tf b/examples/instance_template/additional_disks/variables.tf index b9f30007..a1a7ea48 100644 --- a/examples/instance_template/additional_disks/variables.tf +++ b/examples/instance_template/additional_disks/variables.tf @@ -38,6 +38,6 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/instance_template/alias_ip_range/README.md b/examples/instance_template/alias_ip_range/README.md index 8c66571c..5457f6cd 100644 --- a/examples/instance_template/alias_ip_range/README.md +++ b/examples/instance_template/alias_ip_range/README.md @@ -9,7 +9,7 @@ This example demonstrates how to use an alias IP range. |------|-------------|------|---------|:--------:| | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The name of the subnetwork create this instance in. | `string` | `""` | no | ## Outputs diff --git a/examples/instance_template/alias_ip_range/variables.tf b/examples/instance_template/alias_ip_range/variables.tf index ba093f3d..e7f39bcf 100644 --- a/examples/instance_template/alias_ip_range/variables.tf +++ b/examples/instance_template/alias_ip_range/variables.tf @@ -36,5 +36,5 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/instance_template/encrypted_disks/README.md b/examples/instance_template/encrypted_disks/README.md index b4831971..dc15c560 100644 --- a/examples/instance_template/encrypted_disks/README.md +++ b/examples/instance_template/encrypted_disks/README.md @@ -11,7 +11,7 @@ instance templates with encrypted persistent disks. |------|-------------|------|---------|:--------:| | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The name of the subnetwork create this instance in. | `string` | `""` | no | ## Outputs diff --git a/examples/instance_template/encrypted_disks/variables.tf b/examples/instance_template/encrypted_disks/variables.tf index 13db3194..46efbba0 100644 --- a/examples/instance_template/encrypted_disks/variables.tf +++ b/examples/instance_template/encrypted_disks/variables.tf @@ -37,6 +37,6 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/instance_template/simple/README.md b/examples/instance_template/simple/README.md index e25a93d8..b3b3acb1 100644 --- a/examples/instance_template/simple/README.md +++ b/examples/instance_template/simple/README.md @@ -11,7 +11,7 @@ This is a simple, minimal example of how to use the instance_template module. | labels | Labels, provided as a map | `map(string)` | n/a | yes | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The name of the subnetwork create this instance in. | `string` | `""` | no | | tags | Network tags, provided as a list | `list(string)` | n/a | yes | | threads\_per\_core | The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. | `string` | `null` | no | diff --git a/examples/instance_template/simple/variables.tf b/examples/instance_template/simple/variables.tf index 97120339..0301ccd5 100644 --- a/examples/instance_template/simple/variables.tf +++ b/examples/instance_template/simple/variables.tf @@ -38,7 +38,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } variable "tags" { diff --git a/examples/mig/autoscaler/README.md b/examples/mig/autoscaler/README.md index 5d52287c..d61b1bcd 100644 --- a/examples/mig/autoscaler/README.md +++ b/examples/mig/autoscaler/README.md @@ -13,7 +13,7 @@ group with an autoscaler. | min\_replicas | The minimum number of replicas that the autoscaler can scale down to. This cannot be less than 0. | `any` | n/a | yes | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The subnetwork to host the compute instances in | `any` | n/a | yes | ## Outputs diff --git a/examples/mig/autoscaler/variables.tf b/examples/mig/autoscaler/variables.tf index 31f0b0f5..5884498f 100644 --- a/examples/mig/autoscaler/variables.tf +++ b/examples/mig/autoscaler/variables.tf @@ -37,7 +37,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } variable "autoscaling_enabled" { diff --git a/examples/mig/full/variables.tf b/examples/mig/full/variables.tf index 40acceaf..a4a70275 100644 --- a/examples/mig/full/variables.tf +++ b/examples/mig/full/variables.tf @@ -127,7 +127,7 @@ variable "auto_delete" { } variable "additional_disks" { - description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name" + description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name" type = list(object({ disk_name = string device_name = string @@ -160,7 +160,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } ########################## @@ -185,7 +185,7 @@ variable "distribution_policy_zones" { } variable "update_policy" { - description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html#rolling_update_policy" + description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager#rolling_update_policy" type = list(object({ max_surge_fixed = number instance_redistribution_type = string @@ -252,13 +252,13 @@ variable "cooldown_period" { } variable "autoscaling_cpu" { - description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization" + description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#cpu_utilization" type = list(map(number)) default = [] } variable "autoscaling_metric" { - description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#metric" + description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#metric" type = list(object({ name = string target = number @@ -268,13 +268,13 @@ variable "autoscaling_metric" { } variable "autoscaling_lb" { - description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#load_balancing_utilization" + description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#load_balancing_utilization" type = list(map(number)) default = [] } variable "autoscaling_scale_in_control" { - description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#scale_in_control" + description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#scale_in_control" type = object({ fixed_replicas = number percent_replicas = number diff --git a/examples/mig/healthcheck/README.md b/examples/mig/healthcheck/README.md index 4642454f..71123600 100644 --- a/examples/mig/healthcheck/README.md +++ b/examples/mig/healthcheck/README.md @@ -10,7 +10,7 @@ group with an autoscaler. |------|-------------|------|---------|:--------:| | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string,
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string,
scopes = set(string)
})
| `null` | no | ## Outputs diff --git a/examples/mig/healthcheck/variables.tf b/examples/mig/healthcheck/variables.tf index 4b7927f6..b19537fb 100644 --- a/examples/mig/healthcheck/variables.tf +++ b/examples/mig/healthcheck/variables.tf @@ -31,5 +31,5 @@ variable "service_account" { email = string, scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/mig/simple/README.md b/examples/mig/simple/README.md index 6d61fead..2b5e1a23 100644 --- a/examples/mig/simple/README.md +++ b/examples/mig/simple/README.md @@ -10,7 +10,7 @@ managed instance group. |------|-------------|------|---------|:--------:| | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The subnetwork to host the compute instances in | `any` | n/a | yes | | target\_size | The target number of running instances for this managed instance group. This value should always be explicitly set unless this resource is attached to an autoscaler, in which case it should never be set. | `any` | n/a | yes | diff --git a/examples/mig/simple/variables.tf b/examples/mig/simple/variables.tf index 80a7a34b..1e628a8c 100644 --- a/examples/mig/simple/variables.tf +++ b/examples/mig/simple/variables.tf @@ -41,6 +41,6 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/preemptible_and_regular_instance_templates/simple/README.md b/examples/preemptible_and_regular_instance_templates/simple/README.md index f8441668..b380278b 100644 --- a/examples/preemptible_and_regular_instance_templates/simple/README.md +++ b/examples/preemptible_and_regular_instance_templates/simple/README.md @@ -10,7 +10,7 @@ This creates instance templates for both preemptible VM and regular VM | labels | Labels, provided as a map | `map(string)` | n/a | yes | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The name of the subnetwork create this instance in. | `string` | `""` | no | | tags | Network tags, provided as a list | `list(string)` | n/a | yes | diff --git a/examples/preemptible_and_regular_instance_templates/simple/variables.tf b/examples/preemptible_and_regular_instance_templates/simple/variables.tf index ba55c686..f7cfe013 100644 --- a/examples/preemptible_and_regular_instance_templates/simple/variables.tf +++ b/examples/preemptible_and_regular_instance_templates/simple/variables.tf @@ -38,7 +38,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } variable "tags" { diff --git a/examples/umig/full/variables.tf b/examples/umig/full/variables.tf index d0ba87d9..de93f02b 100644 --- a/examples/umig/full/variables.tf +++ b/examples/umig/full/variables.tf @@ -122,7 +122,7 @@ variable "auto_delete" { } variable "additional_disks" { - description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name" + description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name" type = list(object({ disk_name = string device_name = string @@ -154,7 +154,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } ############################ diff --git a/examples/umig/named_ports/README.md b/examples/umig/named_ports/README.md index f1893fdd..366d5a80 100644 --- a/examples/umig/named_ports/README.md +++ b/examples/umig/named_ports/README.md @@ -12,7 +12,7 @@ groups with named ports | num\_instances | Number of instances to create | `any` | n/a | yes | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The subnetwork to host the compute instances in | `any` | n/a | yes | ## Outputs diff --git a/examples/umig/named_ports/variables.tf b/examples/umig/named_ports/variables.tf index 5dca4f0a..e4288aa8 100644 --- a/examples/umig/named_ports/variables.tf +++ b/examples/umig/named_ports/variables.tf @@ -41,7 +41,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account" } variable "named_ports" { diff --git a/examples/umig/simple/README.md b/examples/umig/simple/README.md index 36b68aa7..70a4a85e 100644 --- a/examples/umig/simple/README.md +++ b/examples/umig/simple/README.md @@ -10,7 +10,7 @@ This is a simple, minimal example of how to use the UMIG module | num\_instances | Number of instances to create | `any` | n/a | yes | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | subnetwork | The subnetwork to host the compute instances in | `any` | n/a | yes | ## Outputs diff --git a/examples/umig/simple/variables.tf b/examples/umig/simple/variables.tf index 685ec328..48e740e1 100644 --- a/examples/umig/simple/variables.tf +++ b/examples/umig/simple/variables.tf @@ -41,6 +41,6 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/examples/umig/static_ips/README.md b/examples/umig/static_ips/README.md index ea6c1554..0fbb9070 100644 --- a/examples/umig/static_ips/README.md +++ b/examples/umig/static_ips/README.md @@ -11,7 +11,7 @@ instance groups with user-specified static IPs. | num\_instances | Number of instances to create | `string` | `"1"` | no | | project\_id | The GCP project to use for integration tests | `string` | n/a | yes | | region | The GCP region to create and test resources in | `string` | `"us-central1"` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| `null` | no | | static\_ips | List of static IPs for VM instances | `list(string)` | n/a | yes | | subnetwork | The subnetwork to host the compute instances in | `any` | n/a | yes | diff --git a/examples/umig/static_ips/variables.tf b/examples/umig/static_ips/variables.tf index 6edf8571..dd23f89b 100644 --- a/examples/umig/static_ips/variables.tf +++ b/examples/umig/static_ips/variables.tf @@ -47,5 +47,5 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/modules/compute_instance/README.md b/modules/compute_instance/README.md index db2b3a97..750d3e7d 100644 --- a/modules/compute_instance/README.md +++ b/modules/compute_instance/README.md @@ -1,7 +1,7 @@ # Compute Instance This module is used to create compute instances (and only compute instances) using -[google_compute_instance_from_template](https://www.terraform.io/docs/providers/google/r/compute_instance_from_template.html), with no instance groups. +[google_compute_instance_from_template](https://www.terraform.io/docs/providers/google/r/compute_instance_from_template), with no instance groups. ## Usage diff --git a/modules/instance_template/README.md b/modules/instance_template/README.md index 020acdb1..b12e1845 100644 --- a/modules/instance_template/README.md +++ b/modules/instance_template/README.md @@ -14,7 +14,7 @@ See the [simple](../../examples/instance_template/simple) for a usage example. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | access\_config | Access configurations, i.e. IPs via which the VM instance can be accessed via the Internet. |
list(object({
nat_ip = string
network_tier = string
}))
| `[]` | no | -| additional\_disks | List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name |
list(object({
disk_name = string
device_name = string
auto_delete = bool
boot = bool
disk_size_gb = number
disk_type = string
disk_labels = map(string)
}))
| `[]` | no | +| additional\_disks | List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name |
list(object({
disk_name = string
device_name = string
auto_delete = bool
boot = bool
disk_size_gb = number
disk_type = string
disk_labels = map(string)
}))
| `[]` | no | | additional\_networks | Additional network interface details for GCE, if any. |
list(object({
network = string
subnetwork = string
subnetwork_project = string
network_ip = string
access_config = list(object({
nat_ip = string
network_tier = string
}))
}))
| `[]` | no | | alias\_ip\_range | An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks.
ip\_cidr\_range: The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
subnetwork\_range\_name: The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used. |
object({
ip_cidr_range = string
subnetwork_range_name = string
})
| `null` | no | | auto\_delete | Whether or not the boot disk should be auto-deleted | `string` | `"true"` | no | @@ -39,7 +39,7 @@ See the [simple](../../examples/instance_template/simple) for a usage example. | preemptible | Allow the instance to be preempted | `bool` | `false` | no | | project\_id | The GCP project ID | `string` | `null` | no | | region | Region where the instance template should be created. | `string` | `null` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| n/a | yes | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| n/a | yes | | shielded\_instance\_config | Not used unless enable\_shielded\_vm is true. Shielded VM configuration for the instance. |
object({
enable_secure_boot = bool
enable_vtpm = bool
enable_integrity_monitoring = bool
})
|
{
"enable_integrity_monitoring": true,
"enable_secure_boot": true,
"enable_vtpm": true
}
| no | | source\_image | Source disk image. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `""` | no | | source\_image\_family | Source image family. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `"centos-7"` | no | diff --git a/modules/instance_template/variables.tf b/modules/instance_template/variables.tf index 3b0ca194..9756f131 100644 --- a/modules/instance_template/variables.tf +++ b/modules/instance_template/variables.tf @@ -134,7 +134,7 @@ variable "auto_delete" { } variable "additional_disks" { - description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name" + description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name" type = list(object({ disk_name = string device_name = string @@ -209,7 +209,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } ########################### diff --git a/modules/mig/README.md b/modules/mig/README.md index 3dd9d36e..c9317805 100644 --- a/modules/mig/README.md +++ b/modules/mig/README.md @@ -1,6 +1,6 @@ # Managed Instance Group (MIG) -This module is used to create a [google_compute_region_instance_group_manager](https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html), +This module is used to create a [google_compute_region_instance_group_manager](https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager), and optionally, an autoscaler and healthchecks. ## Usage @@ -19,12 +19,12 @@ The current version is 2.X. The following guides are available to assist with up | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | autoscaler\_name | Autoscaler name. When variable is empty, name will be derived from var.hostname. | `string` | `""` | no | -| autoscaling\_cpu | Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization |
list(object({
target = number
predictive_method = string
}))
| `[]` | no | +| autoscaling\_cpu | Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#cpu_utilization |
list(object({
target = number
predictive_method = string
}))
| `[]` | no | | autoscaling\_enabled | Creates an autoscaler for the managed instance group | `string` | `"false"` | no | -| autoscaling\_lb | Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#load_balancing_utilization | `list(map(number))` | `[]` | no | -| autoscaling\_metric | Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#metric |
list(object({
name = string
target = number
type = string
}))
| `[]` | no | +| autoscaling\_lb | Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#load_balancing_utilization | `list(map(number))` | `[]` | no | +| autoscaling\_metric | Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#metric |
list(object({
name = string
target = number
type = string
}))
| `[]` | no | | autoscaling\_mode | Operating mode of the autoscaling policy. If omitted, the default value is ON. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_autoscaler#mode | `string` | `null` | no | -| autoscaling\_scale\_in\_control | Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#scale_in_control |
object({
fixed_replicas = number
percent_replicas = number
time_window_sec = number
})
|
{
"fixed_replicas": null,
"percent_replicas": null,
"time_window_sec": null
}
| no | +| autoscaling\_scale\_in\_control | Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#scale_in_control |
object({
fixed_replicas = number
percent_replicas = number
time_window_sec = number
})
|
{
"fixed_replicas": null,
"percent_replicas": null,
"time_window_sec": null
}
| no | | cooldown\_period | The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. | `number` | `60` | no | | distribution\_policy\_zones | The distribution policy, i.e. which zone(s) should instances be create in. Default is all zones in given region. | `list(string)` | `[]` | no | | health\_check | Health check to determine whether instances are responsive and able to do work |
object({
type = string
initial_delay_sec = number
check_interval_sec = number
healthy_threshold = number
timeout_sec = number
unhealthy_threshold = number
response = string
proxy_header = string
port = number
request = string
request_path = string
host = string
})
|
{
"check_interval_sec": 30,
"healthy_threshold": 1,
"host": "",
"initial_delay_sec": 30,
"port": 80,
"proxy_header": "NONE",
"request": "",
"request_path": "/",
"response": "",
"timeout_sec": 10,
"type": "",
"unhealthy_threshold": 5
}
| no | @@ -45,7 +45,7 @@ The current version is 2.X. The following guides are available to assist with up | subnetwork\_project | The project that subnetwork belongs to | `string` | `""` | no | | target\_pools | The target load balancing pools to assign this group to. | `list(string)` | `[]` | no | | target\_size | The target number of running instances for this managed instance group. This value should always be explicitly set unless this resource is attached to an autoscaler, in which case it should never be set. | `number` | `1` | no | -| update\_policy | The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html#rolling_update_policy |
list(object({
max_surge_fixed = number
instance_redistribution_type = string
max_surge_percent = number
max_unavailable_fixed = number
max_unavailable_percent = number
min_ready_sec = number
replacement_method = string
minimal_action = string
type = string
}))
| `[]` | no | +| update\_policy | The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager#rolling_update_policy |
list(object({
max_surge_fixed = number
instance_redistribution_type = string
max_surge_percent = number
max_unavailable_fixed = number
max_unavailable_percent = number
min_ready_sec = number
replacement_method = string
minimal_action = string
type = string
}))
| `[]` | no | | wait\_for\_instances | Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, Terraform will continue trying until it times out. | `string` | `"false"` | no | ## Outputs diff --git a/modules/mig/variables.tf b/modules/mig/variables.tf index 2c1ae7ff..8f6b51ad 100644 --- a/modules/mig/variables.tf +++ b/modules/mig/variables.tf @@ -75,7 +75,7 @@ variable "stateful_disks" { ################# variable "update_policy" { - description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html#rolling_update_policy" + description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager#rolling_update_policy" type = list(object({ max_surge_fixed = number instance_redistribution_type = string @@ -168,7 +168,7 @@ variable "autoscaling_mode" { } variable "autoscaling_cpu" { - description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization" + description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#cpu_utilization" type = list(object({ target = number predictive_method = string @@ -177,7 +177,7 @@ variable "autoscaling_cpu" { } variable "autoscaling_metric" { - description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#metric" + description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#metric" type = list(object({ name = string target = number @@ -187,7 +187,7 @@ variable "autoscaling_metric" { } variable "autoscaling_lb" { - description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#load_balancing_utilization" + description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#load_balancing_utilization" type = list(map(number)) default = [] } @@ -206,7 +206,7 @@ variable "scaling_schedules" { } variable "autoscaling_scale_in_control" { - description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#scale_in_control" + description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#scale_in_control" type = object({ fixed_replicas = number percent_replicas = number diff --git a/modules/mig_with_percent/README.md b/modules/mig_with_percent/README.md index 0e7624b4..f05113ba 100644 --- a/modules/mig_with_percent/README.md +++ b/modules/mig_with_percent/README.md @@ -18,12 +18,12 @@ The current version is 2.X. The following guides are available to assist with up | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | autoscaler\_name | Autoscaler name. When variable is empty, name will be derived from var.hostname. | `string` | `""` | no | -| autoscaling\_cpu | Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization |
list(object({
target = number
predictive_method = string
}))
| `[]` | no | +| autoscaling\_cpu | Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#cpu_utilization |
list(object({
target = number
predictive_method = string
}))
| `[]` | no | | autoscaling\_enabled | Creates an autoscaler for the managed instance group | `string` | `"false"` | no | -| autoscaling\_lb | Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#load_balancing_utilization | `list(map(number))` | `[]` | no | -| autoscaling\_metric | Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#metric |
list(object({
name = string
target = number
type = string
}))
| `[]` | no | +| autoscaling\_lb | Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#load_balancing_utilization | `list(map(number))` | `[]` | no | +| autoscaling\_metric | Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#metric |
list(object({
name = string
target = number
type = string
}))
| `[]` | no | | autoscaling\_mode | Operating mode of the autoscaling policy. If omitted, the default value is ON. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_autoscaler#mode | `string` | `null` | no | -| autoscaling\_scale\_in\_control | Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#scale_in_control |
object({
fixed_replicas = number
percent_replicas = number
time_window_sec = number
})
|
{
"fixed_replicas": null,
"percent_replicas": null,
"time_window_sec": null
}
| no | +| autoscaling\_scale\_in\_control | Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#scale_in_control |
object({
fixed_replicas = number
percent_replicas = number
time_window_sec = number
})
|
{
"fixed_replicas": null,
"percent_replicas": null,
"time_window_sec": null
}
| no | | cooldown\_period | The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. | `number` | `60` | no | | distribution\_policy\_zones | The distribution policy, i.e. which zone(s) should instances be create in. Default is all zones in given region. | `list(string)` | `[]` | no | | health\_check | Health check to determine whether instances are responsive and able to do work |
object({
type = string
initial_delay_sec = number
check_interval_sec = number
healthy_threshold = number
timeout_sec = number
unhealthy_threshold = number
response = string
proxy_header = string
port = number
request = string
request_path = string
host = string
})
|
{
"check_interval_sec": 30,
"healthy_threshold": 1,
"host": "",
"initial_delay_sec": 30,
"port": 80,
"proxy_header": "NONE",
"request": "",
"request_path": "/",
"response": "",
"timeout_sec": 10,
"type": "",
"unhealthy_threshold": 5
}
| no | @@ -46,7 +46,7 @@ The current version is 2.X. The following guides are available to assist with up | subnetwork\_project | The project that subnetwork belongs to | `string` | `""` | no | | target\_pools | The target load balancing pools to assign this group to. | `list(string)` | `[]` | no | | target\_size | The target number of running instances for this managed instance group. This value should always be explicitly set unless this resource is attached to an autoscaler, in which case it should never be set. | `number` | `1` | no | -| update\_policy | The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html#rolling_update_policy |
list(object({
max_surge_fixed = number
instance_redistribution_type = string
max_surge_percent = number
max_unavailable_fixed = number
max_unavailable_percent = number
min_ready_sec = number
replacement_method = string
minimal_action = string
type = string
}))
| `[]` | no | +| update\_policy | The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager#rolling_update_policy |
list(object({
max_surge_fixed = number
instance_redistribution_type = string
max_surge_percent = number
max_unavailable_fixed = number
max_unavailable_percent = number
min_ready_sec = number
replacement_method = string
minimal_action = string
type = string
}))
| `[]` | no | | wait\_for\_instances | Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, Terraform will continue trying until it times out. | `string` | `"false"` | no | ## Outputs diff --git a/modules/mig_with_percent/variables.tf b/modules/mig_with_percent/variables.tf index 1614b92b..9d3ac787 100644 --- a/modules/mig_with_percent/variables.tf +++ b/modules/mig_with_percent/variables.tf @@ -83,7 +83,7 @@ variable "stateful_disks" { ################# variable "update_policy" { - description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html#rolling_update_policy" + description = "The rolling update policy. https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager#rolling_update_policy" type = list(object({ max_surge_fixed = number instance_redistribution_type = string @@ -176,7 +176,7 @@ variable "autoscaling_mode" { } variable "autoscaling_cpu" { - description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization" + description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#cpu_utilization" type = list(object({ target = number predictive_method = string @@ -185,7 +185,7 @@ variable "autoscaling_cpu" { } variable "autoscaling_metric" { - description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#metric" + description = "Autoscaling, metric policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#metric" type = list(object({ name = string target = number @@ -195,7 +195,7 @@ variable "autoscaling_metric" { } variable "autoscaling_lb" { - description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#load_balancing_utilization" + description = "Autoscaling, load balancing utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#load_balancing_utilization" type = list(map(number)) default = [] } @@ -214,7 +214,7 @@ variable "scaling_schedules" { } variable "autoscaling_scale_in_control" { - description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#scale_in_control" + description = "Autoscaling, scale-in control block. https://www.terraform.io/docs/providers/google/r/compute_autoscaler#scale_in_control" type = object({ fixed_replicas = number percent_replicas = number diff --git a/modules/preemptible_and_regular_instance_templates/README.md b/modules/preemptible_and_regular_instance_templates/README.md index 8db31c2b..3b0403aa 100644 --- a/modules/preemptible_and_regular_instance_templates/README.md +++ b/modules/preemptible_and_regular_instance_templates/README.md @@ -13,7 +13,7 @@ See the [simple](../../examples/preemptible_and_regular_instance_templates/simpl | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | access\_config | Access configurations, i.e. IPs via which the VM instance can be accessed via the Internet. |
list(object({
nat_ip = string
network_tier = string
}))
| `[]` | no | -| additional\_disks | List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name |
list(object({
disk_name = string
device_name = string
auto_delete = bool
boot = bool
disk_size_gb = number
disk_type = string
disk_labels = map(string)
}))
| `[]` | no | +| additional\_disks | List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name |
list(object({
disk_name = string
device_name = string
auto_delete = bool
boot = bool
disk_size_gb = number
disk_type = string
disk_labels = map(string)
}))
| `[]` | no | | auto\_delete | Whether or not the boot disk should be auto-deleted | `bool` | `true` | no | | can\_ip\_forward | Enable IP forwarding, for NAT instances for example | `string` | `"false"` | no | | disk\_size\_gb | Boot disk size in GB | `string` | `"100"` | no | @@ -24,7 +24,7 @@ See the [simple](../../examples/preemptible_and_regular_instance_templates/simpl | name\_prefix | Name prefix for the instance template | `string` | `"default-it"` | no | | network | The name or self\_link of the network to attach this interface to. Use network attribute for Legacy or Auto subnetted networks and subnetwork for custom subnetted networks. | `string` | `""` | no | | project\_id | The GCP project ID | `string` | `null` | no | -| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account. |
object({
email = string
scopes = set(string)
})
| n/a | yes | +| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account. |
object({
email = string
scopes = set(string)
})
| n/a | yes | | source\_image | Source disk image. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `""` | no | | source\_image\_family | Source image family. If neither source\_image nor source\_image\_family is specified, defaults to the latest public CentOS image. | `string` | `""` | no | | source\_image\_project | Project where the source image comes from | `string` | `""` | no | diff --git a/modules/preemptible_and_regular_instance_templates/variables.tf b/modules/preemptible_and_regular_instance_templates/variables.tf index ff08235f..ef5cbd55 100644 --- a/modules/preemptible_and_regular_instance_templates/variables.tf +++ b/modules/preemptible_and_regular_instance_templates/variables.tf @@ -81,7 +81,7 @@ variable "auto_delete" { } variable "additional_disks" { - description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#disk_name" + description = "List of maps of additional disks. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#disk_name" type = list(object({ disk_name = string device_name = string @@ -136,7 +136,7 @@ variable "service_account" { email = string scopes = set(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } ########################### diff --git a/modules/umig/README.md b/modules/umig/README.md index 67bf0c8f..efdd3df1 100644 --- a/modules/umig/README.md +++ b/modules/umig/README.md @@ -1,7 +1,7 @@ # Unmanaged Instance Group (UMIG) This module is used to create compute instances using -[google_compute_instance_from_template](https://www.terraform.io/docs/providers/google/r/compute_instance_from_template.html), and [google_compute_instance_groups](https://www.terraform.io/docs/providers/google/r/compute_instance_group.html). +[google_compute_instance_from_template](https://www.terraform.io/docs/providers/google/r/compute_instance_from_template), and [google_compute_instance_groups](https://www.terraform.io/docs/providers/google/r/compute_instance_group). ## Usage diff --git a/test/fixtures/compute_instance/disk_snapshot/variables.tf b/test/fixtures/compute_instance/disk_snapshot/variables.tf index 1adce9a9..8496db70 100644 --- a/test/fixtures/compute_instance/disk_snapshot/variables.tf +++ b/test/fixtures/compute_instance/disk_snapshot/variables.tf @@ -24,5 +24,5 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/compute_instance/simple_zone/variables.tf b/test/fixtures/compute_instance/simple_zone/variables.tf index 841f41e2..3a1660f7 100644 --- a/test/fixtures/compute_instance/simple_zone/variables.tf +++ b/test/fixtures/compute_instance/simple_zone/variables.tf @@ -24,6 +24,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/instance_simple/variables.tf b/test/fixtures/instance_simple/variables.tf index 841f41e2..3a1660f7 100644 --- a/test/fixtures/instance_simple/variables.tf +++ b/test/fixtures/instance_simple/variables.tf @@ -24,6 +24,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/instance_template/additional_disks/variables.tf b/test/fixtures/instance_template/additional_disks/variables.tf index eada6b91..2f1fde52 100644 --- a/test/fixtures/instance_template/additional_disks/variables.tf +++ b/test/fixtures/instance_template/additional_disks/variables.tf @@ -26,6 +26,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/mig/autoscaler/variables.tf b/test/fixtures/mig/autoscaler/variables.tf index 841f41e2..3a1660f7 100644 --- a/test/fixtures/mig/autoscaler/variables.tf +++ b/test/fixtures/mig/autoscaler/variables.tf @@ -24,6 +24,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/mig/healthcheck/variables.tf b/test/fixtures/mig/healthcheck/variables.tf index 1adce9a9..8496db70 100644 --- a/test/fixtures/mig/healthcheck/variables.tf +++ b/test/fixtures/mig/healthcheck/variables.tf @@ -24,5 +24,5 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/mig/simple/variables.tf b/test/fixtures/mig/simple/variables.tf index eada6b91..2f1fde52 100644 --- a/test/fixtures/mig/simple/variables.tf +++ b/test/fixtures/mig/simple/variables.tf @@ -26,6 +26,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/preemptible_and_regular_instance_templates/simple/variables.tf b/test/fixtures/preemptible_and_regular_instance_templates/simple/variables.tf index 0bbfafe9..ef4626e9 100644 --- a/test/fixtures/preemptible_and_regular_instance_templates/simple/variables.tf +++ b/test/fixtures/preemptible_and_regular_instance_templates/simple/variables.tf @@ -26,5 +26,5 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/umig/named_ports/variables.tf b/test/fixtures/umig/named_ports/variables.tf index 841f41e2..3a1660f7 100644 --- a/test/fixtures/umig/named_ports/variables.tf +++ b/test/fixtures/umig/named_ports/variables.tf @@ -24,6 +24,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/umig/simple/variables.tf b/test/fixtures/umig/simple/variables.tf index 1adce9a9..8496db70 100644 --- a/test/fixtures/umig/simple/variables.tf +++ b/test/fixtures/umig/simple/variables.tf @@ -24,5 +24,5 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." } diff --git a/test/fixtures/umig/static_ips/variables.tf b/test/fixtures/umig/static_ips/variables.tf index 841f41e2..3a1660f7 100644 --- a/test/fixtures/umig/static_ips/variables.tf +++ b/test/fixtures/umig/static_ips/variables.tf @@ -24,6 +24,6 @@ variable "service_account" { email = string scopes = list(string) }) - description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account." + description = "Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account." }