mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
terraform: last apply test
This commit is contained in:
parent
1c713878b0
commit
960ba73f1d
@ -4240,7 +4240,6 @@ func TestContext2Apply_output(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
func TestContext2Apply_outputInvalid(t *testing.T) {
|
||||
m := testModule(t, "apply-output-invalid")
|
||||
p := testProvider("aws")
|
||||
@ -4261,7 +4260,6 @@ func TestContext2Apply_outputInvalid(t *testing.T) {
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
func TestContext2Apply_outputList(t *testing.T) {
|
||||
m := testModule(t, "apply-output-list")
|
||||
|
@ -58,7 +58,7 @@ func (n *EvalWriteOutput) Eval(
|
||||
valueRaw = list[0]
|
||||
}
|
||||
if _, ok := valueRaw.(string); !ok {
|
||||
valueRaw = ""
|
||||
return nil, fmt.Errorf("output %s is not a string", n.Name)
|
||||
}
|
||||
|
||||
// Write the output
|
||||
|
Loading…
Reference in New Issue
Block a user