Skip to content

Commit

Permalink
Terraform provider docs guides (#1333)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and chrisst committed Nov 5, 2019
1 parent 0ed4068 commit aeff460
Show file tree
Hide file tree
Showing 119 changed files with 201 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |-
Provide access to a Resource Policy's attributes. For more information see [the official documentation](https://cloud.google.com/compute/docs/disks/scheduled-snapshots) or the [API](https://cloud.google.com/compute/docs/reference/rest/beta/resourcePolicies).

~> **Warning:** This datasource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html) for more details on beta resources.
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.

```hcl
provider "google-beta" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ a virtual machine on Google Cloud Platform. The key concepts unique to GCP are:

Run `terraform destroy` to tear down your resources.

Afterwards, check out the [provider reference](/docs/providers/google/provider_reference.html) for more details on configuring
Afterwards, check out the [provider reference](/docs/providers/google/guides/provider_reference.html) for more details on configuring
the provider block (including how you can eliminate it entirely!).

You can also check out the [GCP Community tutorials](https://cloud.google.com/community/tutorials/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ To use Google Cloud Platform features that are in beta, you need to both:

* explicitly set the provider for your resource to `google-beta`.

See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html)
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html)
for a full reference on how to use features from different GCP API versions in
the Google provider.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ to upgrade from version `1.20.0` to `2.0.0`.

-> The "Google provider" refers to both `google` and `google-beta`; each will
have released `2.0.0` at around the same time, and this guide is for both
variants of the Google provider. See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html)
variants of the Google provider. See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html)
for details if you're new to using `google-beta`.

Most of the changes outlined in this guide have been previously marked as
Expand Down Expand Up @@ -201,7 +201,7 @@ resource "google_compute_instance" "beta-instance" {
}
```

See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html)
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html)
for more details on how to use `google-beta`.

## Data Sources
Expand Down
4 changes: 2 additions & 2 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |-
-> Try out Terraform 0.12 with the Google provider! `google` and `google-beta` are 0.12-compatible from `2.5.0` onwards.

The Google provider is used to configure your [Google Cloud Platform](https://cloud.google.com/) infrastructure.
See the [Getting Started](/docs/providers/google/getting_started.html) page for an introduction to using the provider.
See the [Getting Started](/docs/providers/google/guides/getting_started.html) page for an introduction to using the provider.

A typical provider configuration will look something like:

Expand All @@ -23,7 +23,7 @@ provider "google" {
}
```

See the [provider reference](/docs/providers/google/provider_reference.html)
See the [provider reference](/docs/providers/google/guides/provider_reference.html)
for more details on authentication or otherwise configuring the provider.

Take advantage of [Modules](https://www.terraform.io/docs/modules/index.html)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/app_engine_domain_mapping.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/app_engine_firewall_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/bigquery_data_transfer_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/bigquery_dataset.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/bigtable_app_profile.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/binary_authorization_attestor.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/binary_authorization_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
4 changes: 2 additions & 2 deletions website/docs/r/cloud_run_domain_mapping.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Resource to hold the state and status of a user's domain mapping.
Please use this with caution as it may change when the API moves to beta.

~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html) for more details on beta resources.
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.

To get more information about DomainMapping, see:

Expand Down Expand Up @@ -228,4 +228,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
4 changes: 2 additions & 2 deletions website/docs/r/cloud_run_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ See also:
https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html) for more details on beta resources.
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.

To get more information about Service, see:

Expand Down Expand Up @@ -404,4 +404,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/cloud_scheduler_job.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
4 changes: 2 additions & 2 deletions website/docs/r/cloudbuild_trigger.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The following arguments are supported:
This field is required, and will be validated as such in 3.0.0. Structure is documented below.

* `github` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Describes the configuration of a trigger that creates a build whenever a GitHub event is received. Structure is documented below.

* `build` -
Expand Down Expand Up @@ -358,4 +358,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
4 changes: 2 additions & 2 deletions website/docs/r/compute_address.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ The following arguments are supported:
GCE_ENDPOINT/DNS_RESOLVER purposes.

* `labels` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Labels to apply to this address. A list of key->value pairs.

* `region` -
Expand Down Expand Up @@ -247,4 +247,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
6 changes: 3 additions & 3 deletions website/docs/r/compute_autoscaler.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ The `metric` block supports:
The metric must have a value type of INT64 or DOUBLE.

* `single_instance_assignment` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
If scaling is based on a per-group metric value that represents the
total amount of work to be done or resource usage, set this value to
an amount assigned for a single instance of the scaled group.
Expand Down Expand Up @@ -324,7 +324,7 @@ The `metric` block supports:
or DELTA_PER_MINUTE.

* `filter` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
A filter string to be used as the filter string for
a Stackdriver Monitoring TimeSeries.list API call.
This filter is used to select a specific TimeSeries for
Expand Down Expand Up @@ -411,4 +411,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/compute_backend_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
14 changes: 7 additions & 7 deletions website/docs/r/compute_backend_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ The following arguments are supported:
The set of backends that serve this BackendService. Structure is documented below.

* `circuit_breakers` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Settings controlling the volume of connections to a backend service. This field
is applicable only when the load_balancing_scheme is set to INTERNAL_SELF_MANAGED. Structure is documented below.

* `consistent_hash` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Consistent Hash-based load balancing can be used to provide soft session
affinity based on HTTP headers, cookies or other properties. This load balancing
policy is applicable only for HTTP connections. The affinity to a particular
Expand All @@ -192,7 +192,7 @@ The following arguments are supported:
connections, but still work to finish started).

* `custom_request_headers` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Headers that the HTTP/S load balancer should add to proxied
requests.

Expand All @@ -216,7 +216,7 @@ The following arguments are supported:
`INTERNAL_SELF_MANAGED` for a global backend service. Defaults to `EXTERNAL`.

* `locality_lb_policy` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
The load balancing algorithm used within the scope of the locality.
The possible values are -
ROUND_ROBIN - This is a simple policy in which each healthy backend
Expand All @@ -241,7 +241,7 @@ The following arguments are supported:
INTERNAL_SELF_MANAGED.

* `outlier_detection` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Settings controlling eviction of unhealthy hosts from the load balancing pool.
This field is applicable only when the load_balancing_scheme is set
to INTERNAL_SELF_MANAGED. Structure is documented below.
Expand Down Expand Up @@ -274,7 +274,7 @@ The following arguments are supported:
failed request. Default is 30 seconds. Valid range is [1, 86400].

* `log_config` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
This field denotes the logging options for the load balancer traffic served by this backend service.
If logging is enabled, logs will be exported to Stackdriver. Structure is documented below.

Expand Down Expand Up @@ -694,4 +694,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
4 changes: 2 additions & 2 deletions website/docs/r/compute_disk.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ The following arguments are supported:
These images can be referred by family name here.

* `resource_policies` -
(Optional, [Beta](https://terraform.io/docs/providers/google/provider_versions.html))
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
Resource policies applied to this disk for automatic snapshot creations.

* `zone` -
Expand Down Expand Up @@ -297,4 +297,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ as an argument so that Terraform uses the correct provider to import your resour

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
Loading

0 comments on commit aeff460

Please sign in to comment.