mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-26 16:36:26 -06:00
Remove all Terraform mentions in STDOUTs in the codebase (#704)
This commit is contained in:
parent
1b9148a3de
commit
26fb627af9
@ -146,7 +146,7 @@ func (b *Remote) LocalRun(op *backend.Operation) (*backend.LocalRun, statemgr.Fu
|
||||
diags = diags.Append(ctxDiags)
|
||||
ret.Core = tfCtx
|
||||
|
||||
log.Printf("[TRACE] backend/remote: finished building terraform.Context")
|
||||
log.Printf("[TRACE] backend/remote: finished building tofu.Context")
|
||||
|
||||
return ret, stateMgr, diags
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ func dataSourceRemoteStateGetSchema() providers.Schema {
|
||||
},
|
||||
"workspace": {
|
||||
Type: cty.String,
|
||||
Description: "The Terraform workspace to use, if " +
|
||||
Description: "The OpenTofu workspace to use, if " +
|
||||
"the backend supports workspaces.",
|
||||
DescriptionKind: configschema.StringMarkdown,
|
||||
Optional: true,
|
||||
|
@ -716,7 +716,7 @@ func (m *Module) CheckCoreVersionRequirements(path addrs.Module, sourceAddr addr
|
||||
Severity: hcl.DiagError,
|
||||
Summary: "Invalid required_version constraint",
|
||||
Detail: fmt.Sprintf(
|
||||
"Prerelease version constraints are not supported: %s. Remove the prerelease information from the constraint. Prerelease versions of terraform will match constraints using their version core only.",
|
||||
"Prerelease version constraints are not supported: %s. Remove the prerelease information from the constraint. Prerelease versions of OpenTofu will match constraints using their version core only.",
|
||||
required.String()),
|
||||
Subject: constraint.DeclRange.Ptr(),
|
||||
})
|
||||
|
@ -39,7 +39,7 @@ func decodeProvisionerBlock(block *hcl.Block) (*Provisioner, hcl.Diagnostics) {
|
||||
diags = append(diags, &hcl.Diagnostic{
|
||||
Severity: hcl.DiagError,
|
||||
Summary: fmt.Sprintf("The \"%s\" provisioner has been removed", pv.Type),
|
||||
Detail: fmt.Sprintf("The \"%s\" provisioner was deprecated in OpenTofu 0.13.4 has been removed from OpenTofu. Visit https://learn.hashicorp.com/collections/terraform/provision for alternatives to using provisioners that are a better fit for the OpenTofu workflow.", pv.Type),
|
||||
Detail: fmt.Sprintf("The \"%s\" provisioner is deprecated and has been removed from OpenTofu.", pv.Type),
|
||||
Subject: &pv.TypeRange,
|
||||
})
|
||||
return nil, diags
|
||||
|
@ -341,7 +341,7 @@ var DescriptionList = map[string]descriptionEntry{
|
||||
ParamDescription: []string{"", ""},
|
||||
},
|
||||
"sensitive": {
|
||||
Description: "`sensitive` takes any value and returns a copy of it marked so that Terraform will treat it as sensitive, with the same meaning and behavior as for [sensitive input variables](/language/values/variables#suppressing-values-in-cli-output).",
|
||||
Description: "`sensitive` takes any value and returns a copy of it marked so that OpenTofu will treat it as sensitive, with the same meaning and behavior as for [sensitive input variables](/language/values/variables#suppressing-values-in-cli-output).",
|
||||
ParamDescription: []string{""},
|
||||
},
|
||||
"setintersection": {
|
||||
|
@ -2250,7 +2250,7 @@ const stateValidateErrMultiModule = `
|
||||
Multiple modules with the same path: %s
|
||||
|
||||
This means that there are multiple entries in the "modules" field
|
||||
in your state file that point to the same module. This will cause Terraform
|
||||
in your state file that point to the same module. This will cause OpenTofu
|
||||
to behave in unexpected and error prone ways and is invalid. Please back up
|
||||
and modify your state file manually to resolve this.
|
||||
`
|
||||
|
@ -20,7 +20,7 @@ const panicOutput = `
|
||||
OpenTofu crashed! This is always indicative of a bug within OpenTofu.
|
||||
Please report the crash with OpenTofu[1] so that we can fix this.
|
||||
|
||||
When reporting bugs, please include your terraform version, the stack trace
|
||||
When reporting bugs, please include your OpenTofu version, the stack trace
|
||||
shown below, and any additional information which may help replicate the issue.
|
||||
|
||||
[1]: https://github.com/opentofu/opentofu/issues
|
||||
|
@ -88,7 +88,7 @@ func (s *Session) handleEval(line string) (string, tfdiags.Diagnostics) {
|
||||
|
||||
func (s *Session) handleHelp() (string, tfdiags.Diagnostics) {
|
||||
text := `
|
||||
The Terraform console allows you to experiment with Terraform interpolations.
|
||||
The OpenTofu console allows you to experiment with OpenTofu interpolations.
|
||||
You may access resources in the state (if you have one) just as you would
|
||||
from a configuration. For example: "aws_instance.foo.id" would evaluate
|
||||
to the ID of "aws_instance.foo" if it exists in your state.
|
||||
|
Loading…
Reference in New Issue
Block a user