Skip to content

Commit 7d3d535

Browse files
committed
remove old invalid test
1 parent ff8be6e commit 7d3d535

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

internal/terraform/context_apply_action_test.go

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,54 +1308,6 @@ resource "test_object" "resource" {
13081308
}},
13091309
},
13101310

1311-
"ephemeral values": {
1312-
module: map[string]string{
1313-
"main.tf": `
1314-
variable "attr" {
1315-
type = string
1316-
ephemeral = true
1317-
}
1318-
1319-
resource "test_object" "resource" {
1320-
name = "hello"
1321-
lifecycle {
1322-
action_trigger {
1323-
events = [before_create]
1324-
actions = [action.action_example.hello]
1325-
}
1326-
}
1327-
}
1328-
1329-
action "action_example" "hello" {
1330-
config {
1331-
attr = var.attr
1332-
}
1333-
}
1334-
`,
1335-
},
1336-
expectInvokeActionCalled: true,
1337-
expectInvokeActionCalls: []providers.InvokeActionRequest{
1338-
{
1339-
ActionType: "action_example",
1340-
PlannedActionData: cty.ObjectVal(map[string]cty.Value{
1341-
"attr": cty.StringVal("wo-apply"),
1342-
}),
1343-
},
1344-
},
1345-
planOpts: SimplePlanOpts(plans.NormalMode, InputValues{
1346-
"attr": {
1347-
Value: cty.StringVal("wo-plan"),
1348-
},
1349-
}),
1350-
applyOpts: &ApplyOpts{
1351-
SetVariables: InputValues{
1352-
"attr": {
1353-
Value: cty.StringVal("wo-apply"),
1354-
},
1355-
},
1356-
},
1357-
},
1358-
13591311
"write-only attributes": {
13601312
module: map[string]string{
13611313
"main.tf": `

0 commit comments

Comments
 (0)