File tree Expand file tree Collapse file tree 1 file changed +0
-48
lines changed
Expand file tree Collapse file tree 1 file changed +0
-48
lines changed Original file line number Diff line number Diff 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" : `
You can’t perform that action at this time.
0 commit comments