updating to use the latest version of cloud/state.go and just pass schemas along to PersistState in the remote state

This commit is contained in:
Megan Bang
2022-08-29 14:13:18 -05:00
parent b572e57fb3
commit bddf6a9b34
7 changed files with 158 additions and 560 deletions

View File

@@ -27,9 +27,14 @@ func TestState_GetRootOutputValues(t *testing.T) {
b, bCleanup := testBackendWithOutputs(t)
defer bCleanup()
state := &State{tfeClient: b.client, organization: b.organization, workspace: &tfe.Workspace{
ID: "ws-abcd",
}}
client := &remoteClient{
client: b.client,
workspace: &tfe.Workspace{
ID: "ws-abcd",
},
}
state := NewState(client)
outputs, err := state.GetRootOutputValues()
if err != nil {