Skip to content

Commit b539674

Browse files
committed
Add ConfigUnknown field
1 parent 806b1a6 commit b539674

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

plan.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ type ActionInvocation struct {
310310
// ConfigValues is the JSON representation of the values in the config block of the action
311311
ConfigValues interface{} `json:"config_values,omitempty"`
312312
ConfigSensitive interface{} `json:"config_sensitive,omitempty"`
313+
ConfigUnknown interface{} `json:"config_unknown,omitempty"`
313314

314315
// ProviderName allows the property "type" to be interpreted unambiguously
315316
// in the unusual situation where a provider offers a type whose

plan_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ func TestPlan_actionInvocations(t *testing.T) {
167167
"ratio": nil,
168168
},
169169
ConfigSensitive: map[string]interface{}{},
170+
ConfigUnknown: map[string]interface{}{},
170171
ProviderName: "registry.terraform.io/austinvalle/bufo",
171172
LifecycleActionTrigger: nil,
172173
InvokeActionTrigger: &InvokeActionTrigger{},

testdata/actions/plan.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"format_version":"1.2","planned_values":{"root_module":{}},"complete":true,"configuration":{"provider_config":{"bufo":{"name":"bufo","full_name":"registry.terraform.io/austinvalle/bufo"}},"root_module":{}},"timestamp":"2025-09-12T09:56:02Z","action_invocations":[{"address":"action.bufo_print.success","type":"bufo_print","name":"success","config_values":{"color":null,"name":"bufo-the-builder","ratio":null},"config_sensitive":{},"provider_name":"registry.terraform.io/austinvalle/bufo","invoke_action_trigger":{}}]}
1+
{"format_version":"1.2","planned_values":{"root_module":{}},"complete":true,"configuration":{"provider_config":{"bufo":{"name":"bufo","full_name":"registry.terraform.io/austinvalle/bufo"}},"root_module":{}},"timestamp":"2025-09-12T09:56:02Z","action_invocations":[{"address":"action.bufo_print.success","type":"bufo_print","name":"success","config_values":{"color":null,"name":"bufo-the-builder","ratio":null},"config_sensitive":{},"config_unknown":{},"provider_name":"registry.terraform.io/austinvalle/bufo","invoke_action_trigger":{}}]}

0 commit comments

Comments
 (0)