Skip to content

Commit e57af7d

Browse files
committed
Fix issues in test fixture, rename it
1 parent 1d9cd2d commit e57af7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/command/e2etest/primary_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func TestPrimary_stateStore(t *testing.T) {
245245
}
246246
t.Parallel()
247247

248-
tf := e2e.NewBinary(t, terraformBin, "testdata/full-workflow-null-with-state-store")
248+
tf := e2e.NewBinary(t, terraformBin, "testdata/full-workflow-with-state-store")
249249

250250
// In order to do a decent end-to-end test for this case we will need a real
251251
// enough provider plugin to try to run and make sure we are able to

internal/command/e2etest/testdata/full-workflow-null-with-state-store/main.tf renamed to internal/command/e2etest/testdata/full-workflow-with-state-store/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ variable "name" {
1414
default = "world"
1515
}
1616

17-
data "terraform_data" "my-data" {
17+
resource "terraform_data" "my-data" {
1818
input = "hello ${var.name}"
1919
}
2020

2121
output "greeting" {
22-
value = data.terraform_data.output
22+
value = resource.terraform_data.my-data.output
2323
}

0 commit comments

Comments
 (0)