Skip to content

Commit 2245550

Browse files
Several updates on documentation (#5103) (#3534)
Signed-off-by: Modular Magician <[email protected]>
1 parent 935039d commit 2245550

17 files changed

+21
-18
lines changed

.changelog/5103.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
Several updates on documentation and examples
3+
```

website/docs/d/compute_health_check.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Get information about a HealthCheck.
1414
## Example Usage
1515

1616
```tf
17-
data "google_compute_health_check" "health_chceck" {
17+
data "google_compute_health_check" "health_check" {
1818
name = "my-hc"
1919
}
2020
```

website/docs/d/compute_instance_template.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The following arguments are supported:
4444
---
4545

4646
* `project` - (Optional) The ID of the project in which the resource belongs.
47-
If `project` is not provideded, the provider project is used.
47+
If `project` is not provided, the provider project is used.
4848

4949
## Attributes Reference
5050

website/docs/d/runtimeconfig_variable.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "google"
44
page_title: "Google: google_runtimeconfig_variable"
55
sidebar_current: "docs-google-datasource-runtimeconfig-variable"
66
description: |-
7-
Get information about a Google Cloud RuntimeConfig varialbe.
7+
Get information about a Google Cloud RuntimeConfig variable.
88
---
99

1010
# google\_runtimeconfig\_variable

website/docs/guides/iam_deleted_members.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ After this intermediate phase, attempting to grant permissions to a principal th
2828

2929
## Using `*_iam_policy` resources
3030

31-
`_iam_policy` allows you to declare the entire IAM policy from within Terraform. Users may see diffs on `deleted:` members in some cirtumstances, but applying the policy should succeed and resolve any issues. Specifying `deleted:` members is not allowed in Terraform, so any policy entirely managed by Terraform should automatically remove any deleted members when Terraform is run.
31+
`_iam_policy` allows you to declare the entire IAM policy from within Terraform. Users may see diffs on `deleted:` members in some circumstances, but applying the policy should succeed and resolve any issues. Specifying `deleted:` members is not allowed in Terraform, so any policy entirely managed by Terraform should automatically remove any deleted members when Terraform is run.
3232

3333
During the intermediate period it may be required to `taint` the `_iam_policy` resource to ensure any deleted principals are removed *before* the new principal is granted permission. This should only be necessary if you are continuing to see diffs after successful applies. For more information on using `taint` see the [official documentation](https://www.terraform.io/docs/commands/taint.html).
3434

website/docs/guides/version_2_upgrade.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ to either `terraform import` them or delete them by hand.
7878
- [Data Sources](#data-sources)
7979
- [Resource: `google_bigquery_dataset`](#resource-google_bigquery_dataset)
8080
- [Resource: `google_bigtable_instance`](#resource-google_bigtable_instance)
81-
- [Resource: `google_binary_authorizaton_attestor`](#resource-google_binary_authorization_attestor)
82-
- [Resource: `google_binary_authorizaton_policy`](#resource-google_binary_authorization_policy)
81+
- [Resource: `google_binary_authorization_attestor`](#resource-google_binary_authorization_attestor)
82+
- [Resource: `google_binary_authorization_policy`](#resource-google_binary_authorization_policy)
8383
- [Resource: `google_cloudbuild_trigger`](#resource-google_cloudbuild_trigger)
8484
- [Resource: `google_cloudfunctions_function`](#resource-google_cloudfunctions_function)
8585
- [Resource: `google_compute_backend_service`](#resource-google_compute_backend_service)

website/docs/guides/version_3_upgrade.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ Previously documentation suggested Terraform could use the same range of valid
549549
IP Address formats for `ip_address` as accepted by the API (e.g. named addresses
550550
or URLs to GCP Address resources). However, the server returns only literal IP
551551
addresses and thus caused diffs on re-apply (i.e. a permadiff). We amended
552-
documenation to say Terraform only accepts literal IP addresses.
552+
documentation to say Terraform only accepts literal IP addresses.
553553

554554
This is now strictly validated. While this shouldn't have a large breaking
555555
impact as users would have already run into permadiff issues on re-apply,

website/docs/r/compute_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The following arguments are supported:
137137
startup-script metadata key on the created instance and thus the two
138138
mechanisms are not allowed to be used simultaneously. Users are free to use
139139
either mechanism - the only distinction is that this separate attribute
140-
willl cause a recreate on modification. On import, `metadata_startup_script`
140+
will cause a recreate on modification. On import, `metadata_startup_script`
141141
will be set, but `metadata.startup-script` will not - if you choose to use the
142142
other mechanism, you will see a diff immediately after import, which will cause a
143143
destroy/recreate operation. You may want to modify your state file manually

website/docs/r/container_node_pool.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ resource "google_container_cluster" "primary" {
120120
may change this value in your existing cluster, which will trigger destruction
121121
and recreation on the next Terraform run (to rectify the discrepancy). If you don't
122122
need this value, don't set it. If you do need it, you can [use a lifecycle block to
123-
ignore subsqeuent changes to this field](https://github.com/hashicorp/terraform-provider-google/issues/6901#issuecomment-667369691).
123+
ignore subsequent changes to this field](https://github.com/hashicorp/terraform-provider-google/issues/6901#issuecomment-667369691).
124124

125125
* `management` - (Optional) Node management configuration, wherein auto-repair and
126126
auto-upgrade is configured. Structure is documented below.

website/docs/r/dataproc_cluster.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ resource "google_dataproc_cluster" "accelerated_cluster" {
139139
* `cluster_config` - (Optional) Allows you to configure various aspects of the cluster.
140140
Structure defined below.
141141

142-
* `graceful_decommission_timout` - (Optional) Allows graceful decomissioning when you change the number of worker nodes directly through a terraform apply.
142+
* `graceful_decommission_timeout` - (Optional) Allows graceful decomissioning when you change the number of worker nodes directly through a terraform apply.
143143
Does not affect auto scaling decomissioning from an autoscaling policy.
144144
Graceful decommissioning allows removing nodes from the cluster without interrupting jobs in progress.
145145
Timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs).
@@ -190,7 +190,7 @@ The `cluster_config` block supports:
190190
* `preemptible_worker_config` (Optional) The Google Compute Engine config settings for the additional
191191
instances in a cluster. Structure defined below.
192192
* **NOTE** : `preemptible_worker_config` is
193-
an alias for the api's [secondaryWorkerConfig](https://cloud.google.com/dataproc/docs/reference/rest/v1/ClusterConfig#InstanceGroupConfig). The name doesn't neccasarily mean it is preemptible and is named as
193+
an alias for the api's [secondaryWorkerConfig](https://cloud.google.com/dataproc/docs/reference/rest/v1/ClusterConfig#InstanceGroupConfig). The name doesn't necessarily mean it is preemptible and is named as
194194
such for legacy/compatibility reasons.
195195

196196
* `software_config` (Optional) The config settings for software inside the cluster.

0 commit comments

Comments
 (0)