From cf1640bc10dc10cb3a3502e4dab9eb6f72e33b71 Mon Sep 17 00:00:00 2001 From: RLRabinowitz Date: Wed, 23 Aug 2023 16:56:49 +0300 Subject: [PATCH] Change terraform doc website links to be a placeholder for now --- .release/release-metadata.hcl | 2 +- docs/README.md | 4 ++-- docs/architecture.md | 10 +++++----- docs/planning-behaviors.md | 2 +- docs/plugin-protocol/README.md | 2 +- docs/plugin-protocol/object-wire-format.md | 4 ++-- internal/backend/remote-state/s3/backend.go | 2 +- .../apply-json-with-outputs/plan-redacted.json | 2 +- .../plan-redacted.json | 2 +- .../apply-json-with-provisioner/plan-redacted.json | 2 +- internal/cloud/testdata/apply-json/plan-redacted.json | 2 +- .../plan-json-basic-no-unredacted/plan-redacted.json | 2 +- .../cloud/testdata/plan-json-basic/plan-redacted.json | 2 +- .../testdata/plan-json-no-changes/plan-redacted.json | 2 +- internal/command/e2etest/automation_test.go | 2 +- internal/command/import.go | 2 +- internal/command/init.go | 2 +- internal/command/meta_backend_migrate.go | 4 ++-- internal/command/version.go | 2 +- .../command/views/testdata/plans/redacted-plan.json | 2 +- internal/legacy/terraform/resource_address.go | 2 +- internal/providercache/installer_test.go | 4 ++-- internal/providercache/package_install.go | 4 ++-- website/README.md | 2 +- website/docs/language/checks/index.mdx | 4 ++-- .../docs/language/expressions/custom-conditions.mdx | 2 +- website/docs/language/functions/plantimestamp.mdx | 2 +- website/docs/language/functions/uuidv5.mdx | 6 +++--- 28 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl index e8629cfddc..9739b6f840 100644 --- a/.release/release-metadata.hcl +++ b/.release/release-metadata.hcl @@ -4,5 +4,5 @@ url_docker_registry_dockerhub = "https://hub.docker.com/r/hashicorp/terraform" url_docker_registry_ecr = "https://gallery.ecr.aws/hashicorp/terraform" url_license = "https://github.com/placeholderplaceholderplaceholder/opentf/blob/main/LICENSE" -url_project_website = "https://www.terraform.io" +url_project_website = "https://www.placeholderplaceholderplaceholder.io" url_source_repository = "https://github.com/hashicorp/terraform" diff --git a/docs/README.md b/docs/README.md index 9dda8755cb..9395d02c46 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,7 @@ This directory contains some documentation about the OpenTF Core codebase, aimed at readers who are interested in making code contributions. If you're looking for information on _using_ OpenTF, please instead refer -to [the main OpenTF CLI documentation](https://www.terraform.io/docs/cli/index.html). +to [the main OpenTF CLI documentation](https://www.placeholderplaceholderplaceholder.io/docs/cli/index.html). ## OpenTF Core Architecture Documents @@ -21,7 +21,7 @@ to [the main OpenTF CLI documentation](https://www.terraform.io/docs/cli/index.h SDK and so wish to conform to them. (If you are planning to write a new provider using the _official_ SDK then - please refer to [the Extend documentation](https://www.terraform.io/docs/extend/index.html) + please refer to [the Extend documentation](https://www.placeholderplaceholderplaceholder.io/docs/extend/index.html) instead; it presents similar information from the perspective of the SDK API, rather than the plugin wire protocol.) diff --git a/docs/architecture.md b/docs/architecture.md index c5f6c8c134..0597e96d5e 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -41,7 +41,7 @@ object that describes an action to be taken. An _operation_ consists of: * The action to be taken (e.g. "plan", "apply"). -* The name of the [workspace](https://www.terraform.io/docs/state/workspaces.html) +* The name of the [workspace](https://www.placeholderplaceholderplaceholder.io/docs/state/workspaces.html) where the action will be taken. * Root module input variables to use for the action. * For the "plan" operation, a path to the directory containing the configuration's root module. @@ -50,7 +50,7 @@ An _operation_ consists of: "force" flag, etc. The operation is then passed to the currently-selected -[backend](https://www.terraform.io/docs/backends/index.html). Each backend name +[backend](https://www.placeholderplaceholderplaceholder.io/docs/backends/index.html). Each backend name corresponds to an implementation of [`backend.Backend`](https://pkg.go.dev/github.com/placeholderplaceholderplaceholder/opentf/internal/backend#Backend), using a mapping table in @@ -129,7 +129,7 @@ allowing OpenTF to interpret them at a more appropriate time. ## State Manager A _state manager_ is responsible for storing and retrieving snapshots of the -[OpenTF state](https://www.terraform.io/docs/language/state/index.html) +[OpenTF state](https://www.placeholderplaceholderplaceholder.io/docs/language/state/index.html) for a particular workspace. Each manager is an implementation of some combination of interfaces in [the `statemgr` package](https://pkg.go.dev/github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr), @@ -145,7 +145,7 @@ The implementation [`statemgr.Filesystem`](https://pkg.go.dev/github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr#Filesystem) is used by default (by the `local` backend) and is responsible for the familiar `terraform.tfstate` local file that most OpenTF users start with, before -they switch to [remote state](https://www.terraform.io/docs/language/state/remote.html). +they switch to [remote state](https://www.placeholderplaceholderplaceholder.io/docs/language/state/remote.html). Other implementations of `statemgr.Full` are used to implement remote state. Each of these saves and retrieves state via a remote network service appropriate to the backend that creates it. @@ -206,7 +206,7 @@ important examples include: * [`ProviderTransformer`](https://pkg.go.dev/github.com/placeholderplaceholderplaceholder/opentf/internal/terraform#ProviderTransformer), which associates each resource or resource instance with exactly one provider configuration (implementing - [the inheritance rules](https://www.terraform.io/docs/language/modules/develop/providers.html)) + [the inheritance rules](https://www.placeholderplaceholderplaceholder.io/docs/language/modules/develop/providers.html)) and then creates "happens after" edges to ensure that the providers are initialized before taking any actions with the resources that belong to them. diff --git a/docs/planning-behaviors.md b/docs/planning-behaviors.md index 30089ec5a6..64c7a357f8 100644 --- a/docs/planning-behaviors.md +++ b/docs/planning-behaviors.md @@ -20,7 +20,7 @@ their behaviors in a way comparable to the resource instance behaviors. This is developer-oriented documentation rather than user-oriented documentation. See -[the main OpenTF documentation](https://www.terraform.io/docs) for +[the main OpenTF documentation](https://www.placeholderplaceholderplaceholder.io/docs) for information on existing planning behaviors and other behaviors as viewed from an end-user perspective. diff --git a/docs/plugin-protocol/README.md b/docs/plugin-protocol/README.md index 7a4e7858b1..f66baf3118 100644 --- a/docs/plugin-protocol/README.md +++ b/docs/plugin-protocol/README.md @@ -10,7 +10,7 @@ the SDK's API. ---- **If you want to write a plugin for OpenTF, please refer to -[Extending OpenTF](https://www.terraform.io/docs/extend/index.html) instead.** +[Extending OpenTF](https://www.placeholderplaceholderplaceholder.io/docs/extend/index.html) instead.** This documentation is for those who are developing _OpenTF SDKs_, rather than those implementing plugins. diff --git a/docs/plugin-protocol/object-wire-format.md b/docs/plugin-protocol/object-wire-format.md index 71069d9391..e412f4eed5 100644 --- a/docs/plugin-protocol/object-wire-format.md +++ b/docs/plugin-protocol/object-wire-format.md @@ -63,7 +63,7 @@ The key-value pairs representing nested block types have values based on The MessagePack serialization of an attribute value depends on the value of the `type` field of the corresponding `Schema.Attribute` message. The `type` field is a compact JSON serialization of a -[OpenTF type constraint](https://www.terraform.io/docs/configuration/types.html), +[OpenTF type constraint](https://www.placeholderplaceholderplaceholder.io/docs/configuration/types.html), which consists either of a single string value (for primitive types) or a two-element array giving a type kind and a type argument. @@ -212,7 +212,7 @@ The properties representing nested block types have property values based on The JSON serialization of an attribute value depends on the value of the `type` field of the corresponding `Schema.Attribute` message. The `type` field is a compact JSON serialization of a -[OpenTF type constraint](https://www.terraform.io/docs/configuration/types.html), +[OpenTF type constraint](https://www.placeholderplaceholderplaceholder.io/docs/configuration/types.html), which consists either of a single string value (for primitive types) or a two-element array giving a type kind and a type argument. diff --git a/internal/backend/remote-state/s3/backend.go b/internal/backend/remote-state/s3/backend.go index cf0d2dbab6..54a282d631 100644 --- a/internal/backend/remote-state/s3/backend.go +++ b/internal/backend/remote-state/s3/backend.go @@ -379,7 +379,7 @@ func (b *Backend) Configure(obj cty.Value) tfdiags.Diagnostics { AssumeRoleExternalID: stringAttr(obj, "external_id"), AssumeRolePolicy: stringAttr(obj, "assume_role_policy"), AssumeRoleSessionName: stringAttr(obj, "session_name"), - CallerDocumentationURL: "https://www.terraform.io/docs/language/settings/backends/s3.html", + CallerDocumentationURL: "https://www.placeholderplaceholderplaceholder.io/docs/language/settings/backends/s3.html", CallerName: "S3 Backend", CredsFilename: stringAttr(obj, "shared_credentials_file"), DebugLogging: logging.IsDebugOrHigher(), diff --git a/internal/cloud/testdata/apply-json-with-outputs/plan-redacted.json b/internal/cloud/testdata/apply-json-with-outputs/plan-redacted.json index c6ee2776a2..f41b189de3 100644 --- a/internal/cloud/testdata/apply-json-with-outputs/plan-redacted.json +++ b/internal/cloud/testdata/apply-json-with-outputs/plan-redacted.json @@ -1 +1 @@ -{"plan_format_version":"1.1","resource_drift":[],"resource_changes":[{"address":"null_resource.foo","mode":"managed","type":"null_resource","name":"foo","provider_name":"registry.terraform.io/hashicorp/null","change":{"actions":["create"],"before":null,"after":{"triggers":null},"after_unknown":{"id":true},"before_sensitive":false,"after_sensitive":{}}}],"relevant_attributes":[],"output_changes":{"complex":{"actions":["create"],"before":null,"after":{"keyA":{"someList":[1,2,3]},"keyB":{"someBool":true,"someStr":"hello"}},"after_unknown":false,"before_sensitive":false,"after_sensitive":false},"secret":{"actions":["create"],"before":null,"after":"8517896e47af3c9ca19a694ea0d6cc30b0dccf08598f33d93e583721fd5f3032","after_unknown":false,"before_sensitive":true,"after_sensitive":true},"simple":{"actions":["create"],"before":null,"after":["some","list"],"after_unknown":false,"before_sensitive":false,"after_sensitive":false}},"provider_schemas":{"registry.terraform.io/hashicorp/null":{"provider":{"version":0,"block":{"description_kind":"plain"}},"resource_schemas":{"null_resource":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"This is set to a random value at create time.","description_kind":"plain","computed":true},"triggers":{"type":["map","string"],"description":"A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.","description_kind":"plain","optional":true}},"description":"The `null_resource` resource implements the standard resource lifecycle but takes no further action.\n\nThe `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.","description_kind":"plain"}}},"data_source_schemas":{"null_data_source":{"version":0,"block":{"attributes":{"has_computed_default":{"type":"string","description":"If set, its literal value will be stored and returned. If not, its value defaults to `\"default\"`. This argument exists primarily for testing and has little practical use.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.","description_kind":"plain","deprecated":true,"computed":true},"inputs":{"type":["map","string"],"description":"A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.","description_kind":"plain","optional":true},"outputs":{"type":["map","string"],"description":"After the data source is \"read\", a copy of the `inputs` map.","description_kind":"plain","computed":true},"random":{"type":"string","description":"A random value. This is primarily for testing and has little practical use; prefer the [hashicorp/random provider](https://registry.terraform.io/providers/hashicorp/random) for more practical random number use-cases.","description_kind":"plain","computed":true}},"description":"The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n","description_kind":"plain","deprecated":true}}}}},"provider_format_version":"1.0"} \ No newline at end of file +{"plan_format_version":"1.1","resource_drift":[],"resource_changes":[{"address":"null_resource.foo","mode":"managed","type":"null_resource","name":"foo","provider_name":"registry.terraform.io/hashicorp/null","change":{"actions":["create"],"before":null,"after":{"triggers":null},"after_unknown":{"id":true},"before_sensitive":false,"after_sensitive":{}}}],"relevant_attributes":[],"output_changes":{"complex":{"actions":["create"],"before":null,"after":{"keyA":{"someList":[1,2,3]},"keyB":{"someBool":true,"someStr":"hello"}},"after_unknown":false,"before_sensitive":false,"after_sensitive":false},"secret":{"actions":["create"],"before":null,"after":"8517896e47af3c9ca19a694ea0d6cc30b0dccf08598f33d93e583721fd5f3032","after_unknown":false,"before_sensitive":true,"after_sensitive":true},"simple":{"actions":["create"],"before":null,"after":["some","list"],"after_unknown":false,"before_sensitive":false,"after_sensitive":false}},"provider_schemas":{"registry.terraform.io/hashicorp/null":{"provider":{"version":0,"block":{"description_kind":"plain"}},"resource_schemas":{"null_resource":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"This is set to a random value at create time.","description_kind":"plain","computed":true},"triggers":{"type":["map","string"],"description":"A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.","description_kind":"plain","optional":true}},"description":"The `null_resource` resource implements the standard resource lifecycle but takes no further action.\n\nThe `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.","description_kind":"plain"}}},"data_source_schemas":{"null_data_source":{"version":0,"block":{"attributes":{"has_computed_default":{"type":"string","description":"If set, its literal value will be stored and returned. If not, its value defaults to `\"default\"`. This argument exists primarily for testing and has little practical use.","description_kind":"plain","optional":true,"computed":true},"id":{"type":"string","description":"This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.","description_kind":"plain","deprecated":true,"computed":true},"inputs":{"type":["map","string"],"description":"A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.","description_kind":"plain","optional":true},"outputs":{"type":["map","string"],"description":"After the data source is \"read\", a copy of the `inputs` map.","description_kind":"plain","computed":true},"random":{"type":"string","description":"A random value. This is primarily for testing and has little practical use; prefer the [hashicorp/random provider](https://registry.terraform.io/providers/hashicorp/random) for more practical random number use-cases.","description_kind":"plain","computed":true}},"description":"The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n","description_kind":"plain","deprecated":true}}}}},"provider_format_version":"1.0"} \ No newline at end of file diff --git a/internal/cloud/testdata/apply-json-with-provisioner-error/plan-redacted.json b/internal/cloud/testdata/apply-json-with-provisioner-error/plan-redacted.json index 9becf1bcd0..2bb769c8d3 100644 --- a/internal/cloud/testdata/apply-json-with-provisioner-error/plan-redacted.json +++ b/internal/cloud/testdata/apply-json-with-provisioner-error/plan-redacted.json @@ -104,7 +104,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/cloud/testdata/apply-json-with-provisioner/plan-redacted.json b/internal/cloud/testdata/apply-json-with-provisioner/plan-redacted.json index 9becf1bcd0..2bb769c8d3 100644 --- a/internal/cloud/testdata/apply-json-with-provisioner/plan-redacted.json +++ b/internal/cloud/testdata/apply-json-with-provisioner/plan-redacted.json @@ -104,7 +104,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/cloud/testdata/apply-json/plan-redacted.json b/internal/cloud/testdata/apply-json/plan-redacted.json index 9becf1bcd0..2bb769c8d3 100644 --- a/internal/cloud/testdata/apply-json/plan-redacted.json +++ b/internal/cloud/testdata/apply-json/plan-redacted.json @@ -104,7 +104,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/cloud/testdata/plan-json-basic-no-unredacted/plan-redacted.json b/internal/cloud/testdata/plan-json-basic-no-unredacted/plan-redacted.json index 9becf1bcd0..2bb769c8d3 100644 --- a/internal/cloud/testdata/plan-json-basic-no-unredacted/plan-redacted.json +++ b/internal/cloud/testdata/plan-json-basic-no-unredacted/plan-redacted.json @@ -104,7 +104,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/cloud/testdata/plan-json-basic/plan-redacted.json b/internal/cloud/testdata/plan-json-basic/plan-redacted.json index 9becf1bcd0..2bb769c8d3 100644 --- a/internal/cloud/testdata/plan-json-basic/plan-redacted.json +++ b/internal/cloud/testdata/plan-json-basic/plan-redacted.json @@ -104,7 +104,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/cloud/testdata/plan-json-no-changes/plan-redacted.json b/internal/cloud/testdata/plan-json-no-changes/plan-redacted.json index b945f22534..00d2456058 100644 --- a/internal/cloud/testdata/plan-json-no-changes/plan-redacted.json +++ b/internal/cloud/testdata/plan-json-no-changes/plan-redacted.json @@ -106,7 +106,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/command/e2etest/automation_test.go b/internal/command/e2etest/automation_test.go index a6b76cf2dd..d9626b5bc8 100644 --- a/internal/command/e2etest/automation_test.go +++ b/internal/command/e2etest/automation_test.go @@ -16,7 +16,7 @@ import ( // The tests in this file run through different scenarios recommended in our // "Running Terraform in Automation" guide: -// https://www.terraform.io/guides/running-terraform-in-automation.html +// https://www.placeholderplaceholderplaceholder.io/guides/running-terraform-in-automation.html // TestPlanApplyInAutomation runs through the "main case" of init, plan, apply // using the specific command line options suggested in the guide. diff --git a/internal/command/import.go b/internal/command/import.go index a1786592d0..8fa8e7049f 100644 --- a/internal/command/import.go +++ b/internal/command/import.go @@ -345,7 +345,7 @@ func (c *ImportCommand) Synopsis() string { } const importCommandInvalidAddressReference = `For information on valid syntax, see: -https://www.terraform.io/docs/cli/state/resource-addressing.html` +https://www.placeholderplaceholderplaceholder.io/docs/cli/state/resource-addressing.html` const importCommandMissingResourceFmt = `[reset][bold][red]Error:[reset][bold] resource address %q does not exist in the configuration.[reset] diff --git a/internal/command/init.go b/internal/command/init.go index 79ef1c408a..e217ab2a60 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -864,7 +864,7 @@ func (c *InitCommand) getProviders(ctx context.Context, config *configs.Config, if thirdPartySigned { c.Ui.Info(fmt.Sprintf("\nPartner and community providers are signed by their developers.\n" + "If you'd like to know more about provider signing, you can read about it here:\n" + - "https://www.terraform.io/docs/cli/plugins/signing.html")) + "https://www.placeholderplaceholderplaceholder.io/docs/cli/plugins/signing.html")) } }, } diff --git a/internal/command/meta_backend_migrate.go b/internal/command/meta_backend_migrate.go index 42b282e037..13114fcdeb 100644 --- a/internal/command/meta_backend_migrate.go +++ b/internal/command/meta_backend_migrate.go @@ -984,7 +984,7 @@ the error above and try again. const errTFCMigrateNotYetImplemented = ` Migrating state from Terraform Cloud to another backend is not yet implemented. -Please use the API to do this: https://www.terraform.io/docs/cloud/api/state-versions.html +Please use the API to do this: https://www.placeholderplaceholderplaceholder.io/docs/cloud/api/state-versions.html ` const errInteractiveInputDisabled = ` @@ -1007,7 +1007,7 @@ configuration (e.g. production, staging, development), Terraform Cloud workspace across all configurations used within an organization. A typical strategy to start with is -- (e.g. networking-prod-us-east, networking-staging-us-east). -For more information on workspace naming, see https://www.terraform.io/docs/cloud/workspaces/naming.html +For more information on workspace naming, see https://www.placeholderplaceholderplaceholder.io/docs/cloud/workspaces/naming.html When migrating existing workspaces from the backend %[1]q to Terraform Cloud, would you like to rename your workspaces? Enter 1 or 2. diff --git a/internal/command/version.go b/internal/command/version.go index 45b3581a4c..ae66aa8acd 100644 --- a/internal/command/version.go +++ b/internal/command/version.go @@ -139,7 +139,7 @@ func (c *VersionCommand) Run(args []string) int { if outdated { c.Ui.Output(fmt.Sprintf( "\nYour version of OpenTF is out of date! The latest version\n"+ - "is %s. You can update by downloading from https://www.terraform.io/downloads.html", + "is %s. You can update by downloading from https://www.placeholderplaceholderplaceholder.io/downloads.html", latest)) } diff --git a/internal/command/views/testdata/plans/redacted-plan.json b/internal/command/views/testdata/plans/redacted-plan.json index 9becf1bcd0..2bb769c8d3 100644 --- a/internal/command/views/testdata/plans/redacted-plan.json +++ b/internal/command/views/testdata/plans/redacted-plan.json @@ -104,7 +104,7 @@ "computed": true } }, - "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n", + "description": "The `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.placeholderplaceholderplaceholder.io/docs/language/values/locals.html).\n", "description_kind": "plain", "deprecated": true } diff --git a/internal/legacy/terraform/resource_address.go b/internal/legacy/terraform/resource_address.go index 1d462f0981..2e2c7866e7 100644 --- a/internal/legacy/terraform/resource_address.go +++ b/internal/legacy/terraform/resource_address.go @@ -96,7 +96,7 @@ func (r *ResourceAddress) String() string { // HasResourceSpec returns true if the address has a resource spec, as // defined in the documentation: // -// https://www.terraform.io/docs/cli/state/resource-addressing.html +// https://www.placeholderplaceholderplaceholder.io/docs/cli/state/resource-addressing.html // // In particular, this returns false if the address contains only // a module path, thus addressing the entire module. diff --git a/internal/providercache/installer_test.go b/internal/providercache/installer_test.go index 42494f14c1..0cf05871a9 100644 --- a/internal/providercache/installer_test.go +++ b/internal/providercache/installer_test.go @@ -2018,7 +2018,7 @@ func TestEnsureProviderVersions(t *testing.T) { beepProvider: getproviders.MustParseVersionConstraints(">= 1.0.0"), }, WantErr: `some providers could not be installed: -- example.com/foo/beep: the local package for example.com/foo/beep 1.0.0 doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more information: https://www.terraform.io/language/provider-checksum-verification`, +- example.com/foo/beep: the local package for example.com/foo/beep 1.0.0 doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more information: https://www.placeholderplaceholderplaceholder.io/language/provider-checksum-verification`, WantEvents: func(inst *Installer, dir *Dir) map[addrs.Provider][]*testInstallerEventLogItem { return map[addrs.Provider][]*testInstallerEventLogItem{ noProvider: { @@ -2064,7 +2064,7 @@ func TestEnsureProviderVersions(t *testing.T) { Error string }{ "1.0.0", - `the local package for example.com/foo/beep 1.0.0 doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more information: https://www.terraform.io/language/provider-checksum-verification`, + `the local package for example.com/foo/beep 1.0.0 doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more information: https://www.placeholderplaceholderplaceholder.io/language/provider-checksum-verification`, }, }, }, diff --git a/internal/providercache/package_install.go b/internal/providercache/package_install.go index 1e4c845ef8..1f54c49999 100644 --- a/internal/providercache/package_install.go +++ b/internal/providercache/package_install.go @@ -120,7 +120,7 @@ func installFromLocalArchive(ctx context.Context, meta getproviders.PackageMeta, ) } else if !matches { return authResult, fmt.Errorf( - "the current package for %s %s doesn't match any of the checksums previously recorded in the dependency lock file; for more information: https://www.terraform.io/language/provider-checksum-verification", + "the current package for %s %s doesn't match any of the checksums previously recorded in the dependency lock file; for more information: https://www.placeholderplaceholderplaceholder.io/language/provider-checksum-verification", meta.Provider, meta.Version, ) } @@ -210,7 +210,7 @@ func installFromLocalDir(ctx context.Context, meta getproviders.PackageMeta, tar ) } else if !matches { return authResult, fmt.Errorf( - "the local package for %s %s doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more information: https://www.terraform.io/language/provider-checksum-verification", + "the local package for %s %s doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more information: https://www.placeholderplaceholderplaceholder.io/language/provider-checksum-verification", meta.Provider, meta.Version, ) } diff --git a/website/README.md b/website/README.md index 803b4bce21..35a2758e29 100644 --- a/website/README.md +++ b/website/README.md @@ -1,6 +1,6 @@ # Terraform Documentation -This directory contains the portions of [the Terraform website](https://www.terraform.io/) that pertain to the core functionality, excluding providers and the overall configuration. +This directory contains the portions of [the Terraform website](https://www.placeholderplaceholderplaceholder.io/) that pertain to the core functionality, excluding providers and the overall configuration. The website uses the files in this directory in conjunction with [the `terraform-website` repository](https://github.com/hashicorp/terraform-website). The `terraform-website` repository brings all of the documentation together and contains the scripts for testing and building the entire site. diff --git a/website/docs/language/checks/index.mdx b/website/docs/language/checks/index.mdx index 7b3e21f6e3..21a34b3263 100644 --- a/website/docs/language/checks/index.mdx +++ b/website/docs/language/checks/index.mdx @@ -23,7 +23,7 @@ The following example loads the Terraform website and validates that it returns ```hcl check "health_check" { data "http" "terraform_io" { - url = "https://www.terraform.io" + url = "https://www.placeholderplaceholderplaceholder.io" } assert { @@ -101,7 +101,7 @@ For example, you can [rewrite the above `check` block example](#checks-syntax) t ```hcl data "http" "terraform_io" { - url = "https://www.terraform.io" + url = "https://www.placeholderplaceholderplaceholder.io" lifecycle { postcondition { diff --git a/website/docs/language/expressions/custom-conditions.mdx b/website/docs/language/expressions/custom-conditions.mdx index b673dd43d3..a7f804448a 100644 --- a/website/docs/language/expressions/custom-conditions.mdx +++ b/website/docs/language/expressions/custom-conditions.mdx @@ -222,7 +222,7 @@ The following example uses a check block with an assertion to verify the Terrafo ```hcl check "health_check" { data "http" "terraform_io" { - url = "https://www.terraform.io" + url = "https://www.placeholderplaceholderplaceholder.io" } assert { diff --git a/website/docs/language/functions/plantimestamp.mdx b/website/docs/language/functions/plantimestamp.mdx index 7b3a41e0d0..85821f4f63 100644 --- a/website/docs/language/functions/plantimestamp.mdx +++ b/website/docs/language/functions/plantimestamp.mdx @@ -38,7 +38,7 @@ The `plantimestamp` function is not available within the Terraform console. ```terraform check "terraform_io_certificate" { data "tls_certificate" "terraform_io" { - url = "https://www.terraform.io/" + url = "https://www.placeholderplaceholderplaceholder.io/" } assert { diff --git a/website/docs/language/functions/uuidv5.mdx b/website/docs/language/functions/uuidv5.mdx index 0b45bb57cc..4963f8a7f7 100644 --- a/website/docs/language/functions/uuidv5.mdx +++ b/website/docs/language/functions/uuidv5.mdx @@ -40,10 +40,10 @@ Use the namespace keywords where possible, to make the intent more obvious to a future reader: ``` -> uuidv5("dns", "www.terraform.io") +> uuidv5("dns", "www.placeholderplaceholderplaceholder.io") a5008fae-b28c-5ba5-96cd-82b4c53552d6 -> uuidv5("url", "https://www.terraform.io/") +> uuidv5("url", "https://www.placeholderplaceholderplaceholder.io/") 9db6f67c-dd95-5ea0-aa5b-e70e5c5f7cf5 > uuidv5("oid", "1.3.6.1.4") @@ -58,7 +58,7 @@ UUIDs, and in some special cases it may be more appropriate to use the UUID form: ``` -> uuidv5("6ba7b810-9dad-11d1-80b4-00c04fd430c8", "www.terraform.io") +> uuidv5("6ba7b810-9dad-11d1-80b4-00c04fd430c8", "www.placeholderplaceholderplaceholder.io") a5008fae-b28c-5ba5-96cd-82b4c53552d6 ```