mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
OpenTofu rename - packages with tiny renames (#479)
This commit is contained in:
parent
794e3413bb
commit
462c4667e0
@ -125,7 +125,7 @@ func applyDataStoreResourceChange(req providers.ApplyResourceChangeRequest) (res
|
|||||||
|
|
||||||
if !req.PlannedState.GetAttr("id").IsKnown() {
|
if !req.PlannedState.GetAttr("id").IsKnown() {
|
||||||
idString, err := uuid.GenerateUUID()
|
idString, err := uuid.GenerateUUID()
|
||||||
// OpenTF would probably never get this far without a good random
|
// OpenTofu would probably never get this far without a good random
|
||||||
// source, but catch the error anyway.
|
// source, but catch the error anyway.
|
||||||
if err != nil {
|
if err != nil {
|
||||||
diag := tfdiags.AttributeValue(
|
diag := tfdiags.AttributeValue(
|
||||||
|
@ -179,7 +179,7 @@ func marshalVertexID(v Vertex) string {
|
|||||||
return VertexName(v)
|
return VertexName(v)
|
||||||
|
|
||||||
// we could try harder by attempting to read the arbitrary value from the
|
// we could try harder by attempting to read the arbitrary value from the
|
||||||
// interface, but we shouldn't get here from OpenTF right now.
|
// interface, but we shouldn't get here from OpenTofu right now.
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for a Subgrapher, and return the underlying *Graph.
|
// check for a Subgrapher, and return the underlying *Graph.
|
||||||
|
@ -30,7 +30,7 @@ func init() {
|
|||||||
registerConcludedExperiment(SuppressProviderSensitiveAttrs, "Provider-defined sensitive attributes are now redacted by default, without enabling an experiment.")
|
registerConcludedExperiment(SuppressProviderSensitiveAttrs, "Provider-defined sensitive attributes are now redacted by default, without enabling an experiment.")
|
||||||
registerConcludedExperiment(ConfigDrivenMove, "Declarations of moved resource instances using \"moved\" blocks can now be used by default, without enabling an experiment.")
|
registerConcludedExperiment(ConfigDrivenMove, "Declarations of moved resource instances using \"moved\" blocks can now be used by default, without enabling an experiment.")
|
||||||
registerConcludedExperiment(PreconditionsPostconditions, "Condition blocks can now be used by default, without enabling an experiment.")
|
registerConcludedExperiment(PreconditionsPostconditions, "Condition blocks can now be used by default, without enabling an experiment.")
|
||||||
registerConcludedExperiment(ModuleVariableOptionalAttrs, "The final feature corresponding to this experiment differs from the experimental form and is available in the OpenTF language from OpenTF v1.3.0 onwards.")
|
registerConcludedExperiment(ModuleVariableOptionalAttrs, "The final feature corresponding to this experiment differs from the experimental form and is available in the OpenTofu language from OpenTofu v1.3.0 onwards.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetCurrent takes an experiment name and returns the experiment value
|
// GetCurrent takes an experiment name and returns the experiment value
|
||||||
|
@ -16,7 +16,7 @@ import (
|
|||||||
// repetition values (count and for_each in configuration) and then later
|
// repetition values (count and for_each in configuration) and then later
|
||||||
// making use of them to fully enumerate all of the instances of an object.
|
// making use of them to fully enumerate all of the instances of an object.
|
||||||
//
|
//
|
||||||
// The two repeatable object types in OpenTF are modules and resources.
|
// The two repeatable object types in OpenTofu are modules and resources.
|
||||||
// Because resources belong to modules and modules can nest inside other
|
// Because resources belong to modules and modules can nest inside other
|
||||||
// modules, module expansion in particular has a recursive effect that can
|
// modules, module expansion in particular has a recursive effect that can
|
||||||
// cause deep objects to expand exponentially. Expander assumes that all
|
// cause deep objects to expand exponentially. Expander assumes that all
|
||||||
|
@ -5,7 +5,7 @@ as of Go 1.16, used under the Go project license which we've included here
|
|||||||
in [`LICENSE`](LICENSE) and [`PATENTS`](PATENTS), which are also copied from
|
in [`LICENSE`](LICENSE) and [`PATENTS`](PATENTS), which are also copied from
|
||||||
the Go project.
|
the Go project.
|
||||||
|
|
||||||
OpenTF has its own fork of these functions because Go 1.17 included a
|
OpenTofu has its own fork of these functions because Go 1.17 included a
|
||||||
breaking change to reject IPv4 address octets written with leading zeros.
|
breaking change to reject IPv4 address octets written with leading zeros.
|
||||||
|
|
||||||
The Go project rationale for that change was that Go historically interpreted
|
The Go project rationale for that change was that Go historically interpreted
|
||||||
@ -19,7 +19,7 @@ implementations may cause naive validation or policy checks to produce
|
|||||||
incorrect results, and thus it's a potential security concern. For more
|
incorrect results, and thus it's a potential security concern. For more
|
||||||
information, see [Go issue #30999](https://golang.org/issue/30999).
|
information, see [Go issue #30999](https://golang.org/issue/30999).
|
||||||
|
|
||||||
After careful consideration, it was concluded that OpenTF's
|
After careful consideration, it was concluded that OpenTofu's
|
||||||
use of these functions as part of the implementation of the `cidrhost`,
|
use of these functions as part of the implementation of the `cidrhost`,
|
||||||
`cidrsubnet`, `cidrsubnets`, and `cidrnetmask` functions has a more limited
|
`cidrsubnet`, `cidrsubnets`, and `cidrnetmask` functions has a more limited
|
||||||
impact than the general availability of these functions in the Go standard
|
impact than the general availability of these functions in the Go standard
|
||||||
|
@ -15,17 +15,17 @@ import (
|
|||||||
|
|
||||||
// This output is shown if a panic happens.
|
// This output is shown if a panic happens.
|
||||||
const panicOutput = `
|
const panicOutput = `
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!! OPENTF CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!! OPENTOFU CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
OpenTF crashed! This is always indicative of a bug within OpenTF.
|
OpenTofu crashed! This is always indicative of a bug within OpenTofu.
|
||||||
Please report the crash with OpenTF[1] so that we can fix this.
|
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 terraform version, the stack trace
|
||||||
shown below, and any additional information which may help replicate the issue.
|
shown below, and any additional information which may help replicate the issue.
|
||||||
|
|
||||||
[1]: https://github.com/opentofu/opentofu/issues
|
[1]: https://github.com/opentofu/opentofu/issues
|
||||||
|
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!! OPENTF CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!! OPENTOFU CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ func validateMoveStatementGraph(g *dag.AcyclicGraph) tfdiags.Diagnostics {
|
|||||||
tfdiags.Error,
|
tfdiags.Error,
|
||||||
"Self reference in move statements",
|
"Self reference in move statements",
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"The move statement %s refers to itself the move dependency graph, which is invalid. This is a bug in OpenTF; please report it!",
|
"The move statement %s refers to itself the move dependency graph, which is invalid. This is a bug in OpenTofu; please report it!",
|
||||||
src.(*MoveStatement).Name(),
|
src.(*MoveStatement).Name(),
|
||||||
),
|
),
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user