mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 07:33:32 -06:00
go fmt, change import order
This commit is contained in:
parent
42e7c5b25c
commit
90dce4dd3c
@ -23,11 +23,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configload"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"github.com/mitchellh/cli"
|
||||
"github.com/mitchellh/colorstring"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
)
|
||||
|
||||
// CLI is an optional interface that can be implemented to be initialized
|
||||
|
@ -18,8 +18,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -14,11 +14,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -13,9 +13,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configload"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -18,13 +18,13 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configload"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -12,11 +12,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/genconfig"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -20,12 +20,12 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func TestLocal_planBasic(t *testing.T) {
|
||||
|
@ -17,10 +17,10 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -8,9 +8,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// StateHook is a hook that continuously updates the state by calling
|
||||
|
@ -9,9 +9,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func TestStateHook_impl(t *testing.T) {
|
||||
|
@ -12,10 +12,10 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// TestLocal returns a configured Local struct with temporary paths and
|
||||
|
@ -24,9 +24,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/remote"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
tfversion "github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
@ -13,8 +13,8 @@ import (
|
||||
tfe "github.com/hashicorp/go-tfe"
|
||||
version "github.com/hashicorp/go-version"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -25,11 +25,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
tfversion "github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
||||
|
@ -17,8 +17,8 @@ import (
|
||||
tfe "github.com/hashicorp/go-tfe"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -14,8 +14,8 @@ import (
|
||||
"github.com/hashicorp/hcl/v2/hclsyntax"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -24,11 +24,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func testOperationPlan(t *testing.T, configDir string) (*backend.Operation, func(), func(*testing.T) *terminal.TestOutput) {
|
||||
|
@ -23,9 +23,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/httpclient"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/remote"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
@ -28,9 +28,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
tfversion "github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
|
||||
|
@ -15,8 +15,8 @@ import (
|
||||
tfe "github.com/hashicorp/go-tfe"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -29,11 +29,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
tfversion "github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
||||
|
@ -24,8 +24,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonformat"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -14,8 +14,8 @@ import (
|
||||
"github.com/hashicorp/hcl/v2/hclsyntax"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -17,9 +17,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -27,11 +27,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/depsfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func testOperationPlan(t *testing.T, configDir string) (*backend.Operation, func(), func(*testing.T) *terminal.TestOutput) {
|
||||
|
@ -27,11 +27,11 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend/local"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonstate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/remote"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// State implements the State interfaces in the state package to handle
|
||||
|
@ -29,10 +29,10 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/httpclient"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
|
||||
|
@ -23,11 +23,11 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -42,6 +42,7 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
legacy "github.com/placeholderplaceholderplaceholder/opentf/internal/legacy/opentf"
|
||||
_ "github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
@ -50,7 +51,6 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
||||
|
@ -12,8 +12,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/repl"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/repl"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
|
||||
"github.com/mitchellh/cli"
|
||||
|
@ -10,9 +10,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/dag"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -27,9 +27,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/getproviders"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providercache"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
tfversion "github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
@ -20,11 +20,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/lang/marks"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func TestRenderHuman_EmptyPlan(t *testing.T) {
|
||||
|
@ -19,9 +19,9 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func TestState(t *testing.T) {
|
||||
|
@ -18,10 +18,10 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonconfig"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonstate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
||||
|
@ -14,9 +14,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonstate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// StateValues is the common representation of resolved values for both the
|
||||
|
@ -12,9 +12,9 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func TestMarshalAttributeValues(t *testing.T) {
|
||||
|
@ -6,8 +6,8 @@ package jsonprovider
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
)
|
||||
|
||||
// FormatVersion represents the version of the json format and will be
|
||||
|
@ -14,9 +14,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonchecks"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/lang/marks"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -14,9 +14,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/lang/marks"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
func TestMarshalOutputs(t *testing.T) {
|
||||
|
@ -34,11 +34,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configload"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/getproviders"
|
||||
legacy "github.com/placeholderplaceholderplaceholder/opentf/internal/legacy/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/provisioners"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -28,9 +28,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
|
||||
backendInit "github.com/placeholderplaceholderplaceholder/opentf/internal/backend/init"
|
||||
|
@ -21,9 +21,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
type backendMigrateOpts struct {
|
||||
|
@ -21,8 +21,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configload"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/registry"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/registry"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -23,10 +23,10 @@ import (
|
||||
backendinit "github.com/placeholderplaceholderplaceholder/opentf/internal/backend/init"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/checks"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -14,8 +14,8 @@ import (
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/mitchellh/cli"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
||||
|
@ -16,11 +16,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans/planfile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -17,11 +17,11 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
||||
|
@ -14,8 +14,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -14,9 +14,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -13,8 +13,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -11,8 +11,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -20,9 +20,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/moduletest"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -11,8 +11,8 @@ import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -11,8 +11,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/clistate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/format"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views/json"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -9,9 +9,9 @@ import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// countHook is a hook that counts the number of resources
|
||||
|
@ -10,9 +10,9 @@ import (
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
|
||||
legacy "github.com/placeholderplaceholderplaceholder/opentf/internal/legacy/opentf"
|
||||
)
|
||||
|
@ -15,9 +15,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/format"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views/json"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// How long to wait between sending heartbeat/progress messages
|
||||
|
@ -10,10 +10,10 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
||||
|
@ -16,10 +16,10 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/format"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
const defaultPeriodicUiTimer = 10 * time.Second
|
||||
|
@ -15,11 +15,11 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// Test the PreApply hook for creating a new resource
|
||||
|
@ -15,9 +15,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonplan"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views/json"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -12,11 +12,11 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/lang/globalref"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
||||
|
@ -9,10 +9,10 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views/json"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -15,9 +15,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonprovider"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/jsonstate"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -14,12 +14,12 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/arguments"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/terminal"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
|
||||
"github.com/zclconf/go-cty/cty"
|
||||
)
|
||||
|
@ -15,10 +15,10 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/command/views/json"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/moduletest"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/plans"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/tfdiags"
|
||||
)
|
||||
|
||||
|
@ -15,9 +15,9 @@ import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/addrs"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/configs/configschema"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/initwd"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/providers"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
|
||||
_ "github.com/placeholderplaceholderplaceholder/opentf/internal/logging"
|
||||
)
|
||||
|
@ -12,10 +12,10 @@ import (
|
||||
uuid "github.com/hashicorp/go-uuid"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/backend/local"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statemgr"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// State implements the State interfaces in the state package to handle
|
||||
|
@ -17,9 +17,9 @@ import (
|
||||
|
||||
multierror "github.com/hashicorp/go-multierror"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
)
|
||||
|
||||
// Filesystem is a full state manager that uses a file in the local filesystem
|
||||
|
@ -7,9 +7,9 @@ package statemgr
|
||||
// operations done against full state managers.
|
||||
|
||||
import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states/statefile"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||
)
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
package statemgr
|
||||
|
||||
import (
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
)
|
||||
|
||||
// LockDisabled implements State and Locker but disables state locking.
|
||||
|
@ -6,8 +6,8 @@ package statemgr
|
||||
import (
|
||||
version "github.com/hashicorp/go-version"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
)
|
||||
|
||||
// Persistent is a union of the Refresher and Persistent interfaces, for types
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"errors"
|
||||
"sync"
|
||||
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/opentf"
|
||||
"github.com/placeholderplaceholderplaceholder/opentf/internal/states"
|
||||
)
|
||||
|
||||
// NewFullFake returns a full state manager that really only supports transient
|
||||
|
Loading…
Reference in New Issue
Block a user