diff --git a/internal/backend/remote-state/s3/backend.go b/internal/backend/remote-state/s3/backend.go index 19f6aa50a6..3f5d793f29 100644 --- a/internal/backend/remote-state/s3/backend.go +++ b/internal/backend/remote-state/s3/backend.go @@ -380,7 +380,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.placeholderplaceholderplaceholder.io/docs/language/settings/backends/s3.html", + CallerDocumentationURL: "https://opentofu.org/docs/language/settings/backends/s3/", CallerName: "S3 Backend", CredsFilename: stringAttr(obj, "shared_credentials_file"), DebugLogging: logging.IsDebugOrHigher(), diff --git a/internal/command/e2etest/automation_test.go b/internal/command/e2etest/automation_test.go index eae033a134..b2e831d50e 100644 --- a/internal/command/e2etest/automation_test.go +++ b/internal/command/e2etest/automation_test.go @@ -14,10 +14,6 @@ import ( "github.com/opentofu/opentofu/internal/plans" ) -// The tests in this file run through different scenarios recommended in our -// "Running Terraform in Automation" guide: -// 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. func TestPlanApplyInAutomation(t *testing.T) { diff --git a/internal/command/import.go b/internal/command/import.go index 97ba0a4194..ac44d31b2f 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.placeholderplaceholderplaceholder.io/docs/cli/state/resource-addressing.html` +https://opentofu.org/docs/cli/state/resource-addressing/` 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 808bdedf2a..da1691c661 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -868,7 +868,7 @@ func (c *InitCommand) getProviders(ctx context.Context, config *configs.Config, if thirdPartySigned { c.Ui.Info(fmt.Sprintf("\nProviders 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.placeholderplaceholderplaceholder.io/docs/cli/plugins/signing.html")) + "https://opentofu.org/docs/cli/plugins/signing/")) } }, } diff --git a/internal/command/meta_backend_migrate.go b/internal/command/meta_backend_migrate.go index 8da3306f85..a9839fad4f 100644 --- a/internal/command/meta_backend_migrate.go +++ b/internal/command/meta_backend_migrate.go @@ -981,8 +981,6 @@ 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.placeholderplaceholderplaceholder.io/docs/cloud/api/state-versions.html ` const errInteractiveInputDisabled = ` @@ -1005,8 +1003,6 @@ 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.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/legacy/tofu/resource_address.go b/internal/legacy/tofu/resource_address.go index 9bec7d78fc..421dd278d1 100644 --- a/internal/legacy/tofu/resource_address.go +++ b/internal/legacy/tofu/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.placeholderplaceholderplaceholder.io/docs/cli/state/resource-addressing.html +// https://opentofu.org/docs/cli/state/resource-addressing/ // // 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 8864dd7074..e0811f3b3c 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.placeholderplaceholderplaceholder.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://opentofu.org/docs/language/files/dependency-lock/#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.placeholderplaceholderplaceholder.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://opentofu.org/docs/language/files/dependency-lock/#checksum-verification`, }, }, }, diff --git a/internal/providercache/package_install.go b/internal/providercache/package_install.go index eb77c8461d..fb79cb955c 100644 --- a/internal/providercache/package_install.go +++ b/internal/providercache/package_install.go @@ -119,7 +119,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.placeholderplaceholderplaceholder.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://opentofu.org/docs/language/files/dependency-lock/#checksum-verification", meta.Provider, meta.Version, ) } @@ -209,7 +209,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.placeholderplaceholderplaceholder.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://opentofu.org/docs/language/files/dependency-lock/#checksum-verification", meta.Provider, meta.Version, ) } diff --git a/website/docs/cli/commands/version.mdx b/website/docs/cli/commands/version.mdx index 9539f9e2e5..0bb07f2e16 100644 --- a/website/docs/cli/commands/version.mdx +++ b/website/docs/cli/commands/version.mdx @@ -29,7 +29,7 @@ Basic usage, with security information shown if relevant: $ tofu version OpenTofu v1.6.0 on darwin_amd64 -+ provider registry.terraform.io/hashicorp/null v3.0.0 ++ provider registry.opentofu.org/hashicorp/null v3.0.0 ``` As JSON: @@ -37,10 +37,10 @@ As JSON: ```shellsession $ tofu version -json { - "terraform_version": "0.15.0", + "terraform_version": "0.16.0-alpha2", "platform": "darwin_amd64", "provider_selections": { - "registry.terraform.io/hashicorp/null": "3.0.0" + "registry.opentofu.org/hashicorp/null": "3.0.0" } } ``` diff --git a/website/docs/cli/config/config-file.mdx b/website/docs/cli/config/config-file.mdx index d6a8a92c9c..6e8acbc1d5 100644 --- a/website/docs/cli/config/config-file.mdx +++ b/website/docs/cli/config/config-file.mdx @@ -74,7 +74,7 @@ When interacting with OpenTofu-specific network services, OpenTofu expects to find API tokens in CLI configuration files in `credentials` blocks: ```hcl -credentials "app.placeholderplaceholderplaceholder.io" { +credentials "app.opentofu.org" { token = "xxxxxx.atlasv1.zzzzzzzzzzzzz" } ``` @@ -97,8 +97,8 @@ sources and/or backend configuration. If you would prefer not to store your API tokens directly in the CLI configuration, you may use a host-specific environment variable. Environment variable names should have the prefix `TF_TOKEN_` added to the domain name, with periods encoded as underscores. For example, the -value of a variable named `TF_TOKEN_app_placeholderplaceholderplaceholder_io` will be used as a bearer authorization -token when the CLI makes service requests to the hostname `app.placeholderplaceholderplaceholder.io`. +value of a variable named `TF_TOKEN_app_opentofu_org` will be used as a bearer authorization +token when the CLI makes service requests to the hostname `app.opentofu.org`. You must convert domain names containing non-ASCII characters to their [punycode equivalent](https://www.charset.org/punycode) with an ACE prefix. For example, token credentials for 例えば.com must be set in a variable diff --git a/website/docs/language/checks/index.mdx b/website/docs/language/checks/index.mdx index 6c297e3c9c..da22c8e76d 100644 --- a/website/docs/language/checks/index.mdx +++ b/website/docs/language/checks/index.mdx @@ -17,13 +17,13 @@ The following example loads the website and validates that it returns the expect ```hcl check "health_check" { - data "http" "placeholderplaceholderplaceholder_io" { - url = "https://www.placeholderplaceholderplaceholder.io" + data "http" "opentofu_org" { + url = "https://www.opentofu.org" } assert { - condition = data.http.placeholderplaceholderplaceholder_io.status_code == 200 - error_message = "${data.http.placeholderplaceholderplaceholder_io.url} returned an unhealthy status code" + condition = data.http.opentofu_org.status_code == 200 + error_message = "${data.http.opentofu_org.url} returned an unhealthy status code" } } ``` @@ -34,7 +34,7 @@ You can use any data source from any provider as a scoped data source within a ` A `check` block can optionally contain a nested (a.k.a. scoped) data source. This `data` block behaves like an external [data source](/docs/language/data-sources), except you can not reference it outside its enclosing `check` block. Additionally, if a scoped data source's provider raises any errors, they are masked as warnings and do not prevent OpenTofu from continuing operation execution. -You can use a scoped data source to validate the status of a piece of infrastructure outside of the usual OpenTofu resource lifecycle. [In the above example](#syntax), if the `placeholderplaceholderplaceholder_io` data source fails to load, you receive a warning instead of a blocking error, which would occur if you declared this data source outside of a `check` block. +You can use a scoped data source to validate the status of a piece of infrastructure outside of the usual OpenTofu resource lifecycle. [In the above example](#syntax), if the `opentofu_org` data source fails to load, you receive a warning instead of a blocking error, which would occur if you declared this data source outside of a `check` block. #### Meta-Arguments @@ -95,8 +95,8 @@ You can often use postconditions interchangeably with check blocks to validate r For example, you can [rewrite the above `check` block example](#syntax) to use a postcondition instead. The below code uses a `postcondition` block to validate that the website returns the expected status code of `200`. ```hcl -data "http" "placeholderplaceholderplaceholder_io" { - url = "https://www.placeholderplaceholderplaceholder.io" +data "http" "opentofu_org" { + url = "https://www.opentofu.org" lifecycle { postcondition { diff --git a/website/docs/language/expressions/custom-conditions.mdx b/website/docs/language/expressions/custom-conditions.mdx index 0c2814213a..557d92347c 100644 --- a/website/docs/language/expressions/custom-conditions.mdx +++ b/website/docs/language/expressions/custom-conditions.mdx @@ -212,13 +212,13 @@ The following example uses a check block with an assertion to verify the OpenTof ```hcl check "health_check" { - data "http" "placeholderplaceholderplaceholder_io" { - url = "https://www.placeholderplaceholderplaceholder.io" + data "http" "opentofu_org" { + url = "https://www.opentofu.org" } assert { - condition = data.http.placeholderplaceholderplaceholder_io.status_code == 200 - error_message = "${data.http.placeholderplaceholderplaceholder_io.url} returned an unhealthy status code" + condition = data.http.opentofu_org.status_code == 200 + error_message = "${data.http.opentofu_org.url} returned an unhealthy status code" } } ``` diff --git a/website/docs/language/functions/plantimestamp.mdx b/website/docs/language/functions/plantimestamp.mdx index a38ec20317..cdf864db32 100644 --- a/website/docs/language/functions/plantimestamp.mdx +++ b/website/docs/language/functions/plantimestamp.mdx @@ -34,14 +34,14 @@ The `plantimestamp` function is not available within the OpenTofu console. ``` ```hcl -check "placeholderplaceholderplaceholder_io_certificate" { - data "tls_certificate" "placeholderplaceholderplaceholder_io" { - url = "https://www.placeholderplaceholderplaceholder.io/" +check "opentofu_org_certificate" { + data "tls_certificate" "opentofu_org" { + url = "https://www.opentofu.org/" } assert { - condition = timecmp(plantimestamp(), data.tls_certificate.placeholderplaceholderplaceholder_io.certificates[0].not_after) < 0 - error_message = "placeholderplaceholderplaceholder.io certificate has expired" + condition = timecmp(plantimestamp(), data.tls_certificate.opentofu_org.certificates[0].not_after) < 0 + error_message = "opentofu.org certificate has expired" } } ``` diff --git a/website/docs/language/functions/uuidv5.mdx b/website/docs/language/functions/uuidv5.mdx index 50840bf197..43cab5d3b3 100644 --- a/website/docs/language/functions/uuidv5.mdx +++ b/website/docs/language/functions/uuidv5.mdx @@ -40,11 +40,11 @@ Use the namespace keywords where possible, to make the intent more obvious to a future reader: ``` -> uuidv5("dns", "www.placeholderplaceholderplaceholder.io") -a5008fae-b28c-5ba5-96cd-82b4c53552d6 +> uuidv5("dns", "www.opentofu.org") +df1e675d-b743-5f6c-9952-6311d0f141df -> uuidv5("url", "https://www.placeholderplaceholderplaceholder.io/") -9db6f67c-dd95-5ea0-aa5b-e70e5c5f7cf5 +> uuidv5("url", "https://www.opentofu.org/") +ace93eea-1a2c-5eed-b41b-718be15d2e50 > uuidv5("oid", "1.3.6.1.4") af9d40a5-7a36-5c07-b23a-851cd99fbfa5 @@ -58,8 +58,8 @@ UUIDs, and in some special cases it may be more appropriate to use the UUID form: ``` -> uuidv5("6ba7b810-9dad-11d1-80b4-00c04fd430c8", "www.placeholderplaceholderplaceholder.io") -a5008fae-b28c-5ba5-96cd-82b4c53552d6 +> uuidv5("6ba7b810-9dad-11d1-80b4-00c04fd430c8", "www.opentofu.org") +df1e675d-b743-5f6c-9952-6311d0f141df ``` If you wish to use a namespace defined outside of RFC 4122, using the namespace