mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Feature branch: Ephemeral resources (#2852)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
This commit is contained in:
@@ -85,7 +85,7 @@ func TestSession_basicState(t *testing.T) {
|
||||
{
|
||||
Input: "test_instance.bar.id",
|
||||
Error: true,
|
||||
ErrorContains: `A managed resource "test_instance" "bar" has not been declared`,
|
||||
ErrorContains: `There is no managed resource "test_instance" "bar" definition in the root module`,
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -196,7 +196,7 @@ func TestSession_stateless(t *testing.T) {
|
||||
{
|
||||
Input: "test_instance.bar.id",
|
||||
Error: true,
|
||||
ErrorContains: `resource "test_instance" "bar" has not been declared`,
|
||||
ErrorContains: `resource "test_instance" "bar" definition`,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user