Skip to content

Commit

Permalink
Update old links to provider docs (#6847) (#13089)
Browse files Browse the repository at this point in the history
* Update old links to provider docs

This means the docs don't rely on redirection to the new documentation website being in place

* Update old links to provider docs for data sources

* Update old links to provider docs' guides

* Fix typos in URLs

* Fix typos in URLs

Signed-off-by: Modular Magician <magic-modules@google.com>

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Nov 21, 2022
1 parent 213ff96 commit 2777206
Show file tree
Hide file tree
Showing 308 changed files with 319 additions and 316 deletions.
3 changes: 3 additions & 0 deletions .changelog/6847.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
2 changes: 1 addition & 1 deletion google/resource_dns_managed_zone.go
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ func resourceDNSManagedZoneDelete(d *schema.ResourceData, meta interface{}) erro
domain := mz.DnsName

if domain == rr.Name {
log.Println("[DEBUG] NS records can't be deleted due to API restrictions, so they're being left in place. See https://www.terraform.io/docs/providers/google/r/dns_record_set.html for more information.")
log.Println("[DEBUG] NS records can't be deleted due to API restrictions, so they're being left in place. See https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/dns_record_set for more information.")
continue
}
}
Expand Down
2 changes: 1 addition & 1 deletion google/resource_dns_record_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ func resourceDnsRecordSetDelete(d *schema.ResourceData, meta interface{}) error
domain := mz.DnsName

if domain == d.Get("name").(string) {
log.Println("[DEBUG] NS records can't be deleted due to API restrictions, so they're being left in place. See https://www.terraform.io/docs/providers/google/r/dns_record_set.html for more information.")
log.Println("[DEBUG] NS records can't be deleted due to API restrictions, so they're being left in place. See https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/dns_record_set for more information.")
return nil
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/cloud_run_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ The following arguments are supported:

## Attributes Reference

See [google_cloud_run_service](https://www.terraform.io/docs/providers/google/r/cloud_run_service.html#argument-reference) resource for details of the available attributes.
See [google_cloud_run_service](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_service#argument-reference) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/compute_backend_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ The following arguments are supported:

## Attributes Reference

See [google_compute_backend_bucket](https://www.terraform.io/docs/providers/google/r/compute_backend_bucket.html) resource for details of the available attributes.
See [google_compute_backend_bucket](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_backend_bucket) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/compute_forwarding_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ The following arguments are supported:
is not provided, the project region is used.

## Attributes Reference
See [google_compute_forwarding_rule](https://www.terraform.io/docs/providers/google/r/compute_forwarding_rule.html) resource for details of the available attributes.
See [google_compute_forwarding_rule](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_forwarding_rule) resource for details of the available attributes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ The following arguments are supported:
is not provided, the provider project is used.

## Attributes Reference
See [google_compute_global_forwarding_rule](https://www.terraform.io/docs/providers/google/r/compute_global_forwarding_rule.html) resource for details of the available attributes.
See [google_compute_global_forwarding_rule](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_global_forwarding_rule) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/compute_ha_vpn_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ The following arguments are supported:
is not provided, the project region is used.

## Attributes Reference
See [google_compute_ha_vpn_gateway](https://www.terraform.io/docs/providers/google/r/compute_ha_vpn_gateway.html) resource for details of the available attributes.
See [google_compute_ha_vpn_gateway](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_ha_vpn_gateway) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/compute_health_check.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ The following arguments are supported:

## Attributes Reference

See [google_compute_health_check](https://www.terraform.io/docs/providers/google/r/compute_health_check.html) resource for details of the available attributes.
See [google_compute_health_check](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_health_check) resource for details of the available attributes.
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ The following arguments are supported:

## Attributes Reference

See [google_compute_region_ssl_certificate](https://www.terraform.io/docs/providers/google/r/compute_region_ssl_certificate.html) resource for details of the available attributes.
See [google_compute_region_ssl_certificate](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_region_ssl_certificate) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/compute_router.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ The following arguments are supported:

## Attributes Reference

See [google_compute_router](https://www.terraform.io/docs/providers/google/r/compute_router.html) resource for details of the available attributes.
See [google_compute_router](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_router) resource for details of the available attributes.
4 changes: 2 additions & 2 deletions website/docs/d/compute_router_status.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ In addition to the arguments listed above, the following attributes are exported
* `network` - The network name or resource link to the parent
network of this subnetwork.

* `best_routes` - List of best `compute#routes` configurations for this router's network. See [google_compute_route](https://www.terraform.io/docs/providers/google/r/compute_route.html) resource for available attributes.
* `best_routes` - List of best `compute#routes` configurations for this router's network. See [google_compute_route](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_route) resource for available attributes.

* `best_routes_for_router` - List of best `compute#routes` for this specific router. See [google_compute_route](https://www.terraform.io/docs/providers/google/r/compute_route.html) resource for available attributes.
* `best_routes_for_router` - List of best `compute#routes` for this specific router. See [google_compute_route](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_route) resource for available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/compute_ssl_certificate.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ The following arguments are supported:

## Attributes Reference

See [google_compute_ssl_certificate](https://www.terraform.io/docs/providers/google/r/compute_ssl_certificate.html) resource for details of the available attributes.
See [google_compute_ssl_certificate](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_ssl_certificate) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/container_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ in favour of `location`.

## Attributes Reference

See [google_container_cluster](https://www.terraform.io/docs/providers/google/r/container_cluster.html) resource for details of the available attributes.
See [google_container_cluster](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster) resource for details of the available attributes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ The following arguments are supported:

## Attributes Reference

See [google_dataproc_metastore_service](https://www.terraform.io/docs/providers/google/r/dataproc_metastore_service.html) resource for details of all the available attributes.
See [google_dataproc_metastore_service](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/dataproc_metastore_service) resource for details of all the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/folder_organization_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ The following arguments are supported:

## Attributes Reference

See [google_folder_organization_policy](https://www.terraform.io/docs/providers/google/r/google_folder_organization_policy.html) resource for details of the available attributes.
See [google_folder_organization_policy](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_folder_organization_policy) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/iam_workload_identity_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ The following arguments are supported:
is not provided, the provider project is used.

## Attributes Reference
See [google_iam_workload_identity_pool](https://www.terraform.io/docs/providers/google/r/iam_workload_identity_pool.html) resource for details of all the available attributes.
See [google_iam_workload_identity_pool](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iam_workload_identity_pool) resource for details of all the available attributes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ The following arguments are supported:
is not provided, the provider project is used.

## Attributes Reference
See [google_iam_workload_identity_pool_provider](https://www.terraform.io/docs/providers/google/r/iam_workload_identity_pool_provider.html) resource for details of all the available attributes.
See [google_iam_workload_identity_pool_provider](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iam_workload_identity_pool_provider) resource for details of all the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/iap_client.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ The following arguments are supported:

## Attributes Reference

See [google_iap_client](https://www.terraform.io/docs/providers/google/r/iap_client.html) resource for details of the available attributes.
See [google_iap_client](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_client) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/kms_secret_ciphertext.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ The following attribute is exported:

## User Project Overrides

This data source supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This data source supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/d/project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ The following attributes are exported:

* `number` - The numeric identifier of the project.

See [google_project](https://www.terraform.io/docs/providers/google/r/google_project.html) resource for details of the available attributes.
See [google_project](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project) resource for details of the available attributes.

2 changes: 1 addition & 1 deletion website/docs/d/project_organization_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ The following arguments are supported:

## Attributes Reference

See [google_project_organization_policy](https://www.terraform.io/docs/providers/google/r/google_project_organization_policy.html) resource for details of the available attributes.
See [google_project_organization_policy](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project_organization_policy) resource for details of the available attributes.

2 changes: 1 addition & 1 deletion website/docs/d/pubsub_topic.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ The following arguments are supported:

## Attributes Reference

See [google_pubsub_topic](https://www.terraform.io/docs/providers/google/r/pubsub_topic.html#argument-reference) resource for details of the available attributes.
See [google_pubsub_topic](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_topic#argument-reference) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/redis_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ The following arguments are supported:

## Attributes Reference

See [google_redis_instance](https://www.terraform.io/docs/providers/google/r/redis_instance.html) resource for details of the available attributes.
See [google_redis_instance](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/redis_instance) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/runtimeconfig_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ The following arguments are supported:

## Attributes Reference

See [google_runtimeconfig_config](https://www.terraform.io/docs/providers/google/r/runtimeconfig_config.html#argument-reference) resource for details of the available attributes.
See [google_runtimeconfig_config](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/runtimeconfig_config#argument-reference) resource for details of the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/runtimeconfig_variable.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ The following arguments are supported:

## Attributes Reference

See [google_runtimeconfig_variable](https://www.terraform.io/docs/providers/google/r/runtimeconfig_variable.html#argument-reference) resource for details of the available attributes.
See [google_runtimeconfig_variable](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/runtimeconfig_variable#argument-reference) resource for details of the available attributes.
4 changes: 2 additions & 2 deletions website/docs/d/service_account_id_token.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For more information see
[OpenID Connect](https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

## Example Usage - ServiceAccount JSON credential file.
`google_service_account_id_token` will use the configured [provider credentials](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#credentials-1)
`google_service_account_id_token` will use the configured [provider credentials](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#credentials-1)

```hcl
data "google_service_account_id_token" "oidc" {
Expand All @@ -26,7 +26,7 @@ For more information see
```

## Example Usage - Service Account Impersonation.
`google_service_account_access_token` will use background impersonated credentials provided by [google_service_account_access_token](https://www.terraform.io/docs/providers/google/d/service_account_access_token.html).
`google_service_account_access_token` will use background impersonated credentials provided by [google_service_account_access_token](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/service_account_access_token).

Note: to use the following, you must grant `target_service_account` the
`roles/iam.serviceAccountTokenCreator` role on itself.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/spanner_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ The following arguments are supported:
is not provided, the provider project is used.

## Attributes Reference
See [google_spanner_instance](https://www.terraform.io/docs/providers/google/r/spanner_instance.html) resource for details of all the available attributes.
See [google_spanner_instance](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/spanner_instance) resource for details of all the available attributes.
2 changes: 1 addition & 1 deletion website/docs/d/vpc_access_connector.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ The following arguments are supported:

## Attributes Reference

See [google_vpc_access_connector](https://www.terraform.io/docs/providers/google/r/vpc_access_connector.html) resource for details of the available attributes.
See [google_vpc_access_connector](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/vpc_access_connector) resource for details of the available attributes.
6 changes: 3 additions & 3 deletions website/docs/guides/version_2_upgrade.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ resource "google_storage_bucket_object" "archive" {
```

See the documentation at
[`google_cloudfunctions_function`](https://www.terraform.io/docs/providers/google/r/cloudfunctions_function.html)
[`google_cloudfunctions_function`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloudfunctions_function)
for more details.

## Resource: `google_compute_backend_service`
Expand Down Expand Up @@ -697,7 +697,7 @@ Use `terraform destroy`, or remove the resource from your config instead.
### `app_engine` has been removed

Use the
[`google_app_engine_application` resource](https://www.terraform.io/docs/providers/google/r/app_engine_application.html) instead.
[`google_app_engine_application` resource](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/app_engine_application) instead.

To avoid errors trying to recreate the resource, import it into your state first by running:

Expand Down Expand Up @@ -732,7 +732,7 @@ This resource is very dangerous. Consider using `google_project_iam_binding` or
### `policy_data` has been removed

Use one of the other
[service account IAM resources](https://www.terraform.io/docs/providers/google/r/google_service_account_iam.html) instead.
[service account IAM resources](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_service_account_iam) instead.

## Resource: `google_sql_database_instance`

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/active_directory_domain.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ $ terraform import google_active_directory_domain.default {{name}}

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/active_directory_domain_trust.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ $ terraform import google_active_directory_domain_trust.default {{domain}}/{{tar

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/active_directory_peering.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ This resource does not support import.

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/alloydb_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -322,4 +322,4 @@ $ terraform import google_alloydb_cluster.default {{cluster_id}}

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_api.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ $ terraform import google_api_gateway_api.default {{api_id}}

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_api_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,4 @@ $ terraform import google_api_gateway_api_config.default {{api}}/{{api_config_id

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_api_config_iam.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ $ terraform import google_api_gateway_api_config_iam_policy.editor projects/{{pr

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_api_iam.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ $ terraform import google_api_gateway_api_iam_policy.editor projects/{{project}}

## User Project Overrides

This resource supports [User Project Overrides](https://www.terraform.io/docs/providers/google/guides/provider_reference.html#user_project_override).
This resource supports [User Project Overrides](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#user_project_override).
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ $ terraform import google_api_gateway_gateway.default {{gateway_id}}

## User Project Overrides

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

0 comments on commit 2777206

Please sign in to comment.