@ -549,8 +549,8 @@ type Plan struct {
// configuration.
TargetAddrs [ ] string ` protobuf:"bytes,5,rep,name=target_addrs,json=targetAddrs,proto3" json:"target_addrs,omitempty" `
// An unordered set of action addresses that must be invoked when applying.
// If no actions are specified then only lifecycle actions should be
// executed.
// If no actions are specified then only resource-triggered actions should
// be executed.
ActionTargetAddrs [ ] string ` protobuf:"bytes,32,rep,name=action_target_addrs,json=actionTargetAddrs,proto3" json:"action_target_addrs,omitempty" `
// An unordered set of force-replace addresses to include when applying.
// This must match the set of addresses that was used when creating the
@ -1748,7 +1748,7 @@ type ActionInvocationInstance struct {
SensitiveConfigPaths [ ] * Path ` protobuf:"bytes,5,rep,name=sensitive_config_paths,json=sensitiveConfigPaths,proto3" json:"sensitive_config_paths,omitempty" `
// Types that are valid to be assigned to ActionTrigger:
//
// *ActionInvocationInstance_ Lifecycl eActionTrigger
// *ActionInvocationInstance_ Resourc eActionTrigger
// *ActionInvocationInstance_InvokeActionTrigger
ActionTrigger isActionInvocationInstance_ActionTrigger ` protobuf_oneof:"action_trigger" `
unknownFields protoimpl . UnknownFields
@ -1820,10 +1820,10 @@ func (x *ActionInvocationInstance) GetActionTrigger() isActionInvocationInstance
return nil
}
func ( x * ActionInvocationInstance ) Get LifecycleActionTrigger( ) * Lifecycl eActionTrigger {
func ( x * ActionInvocationInstance ) Get ResourceActionTrigger( ) * Resourc eActionTrigger {
if x != nil {
if x , ok := x . ActionTrigger . ( * ActionInvocationInstance_ Lifecycl eActionTrigger) ; ok {
return x . Lifecycl eActionTrigger
if x , ok := x . ActionTrigger . ( * ActionInvocationInstance_ Resourc eActionTrigger) ; ok {
return x . Resourc eActionTrigger
}
}
return nil
@ -1842,21 +1842,21 @@ type isActionInvocationInstance_ActionTrigger interface {
isActionInvocationInstance_ActionTrigger ( )
}
type ActionInvocationInstance_ Lifecycl eActionTrigger struct {
LifecycleActionTrigger * LifecycleActionTrigger ` protobuf:"bytes,6,opt,name=lifecycle_action_trigger,json=lifecycl eActionTrigger,proto3,oneof"`
type ActionInvocationInstance_ Resourc eActionTrigger struct {
ResourceActionTrigger * ResourceActionTrigger ` protobuf:"bytes,6,opt,name=resource_action_trigger,json=resourc eActionTrigger,proto3,oneof"`
}
type ActionInvocationInstance_InvokeActionTrigger struct {
InvokeActionTrigger * InvokeActionTrigger ` protobuf:"bytes,7,opt,name=invoke_action_trigger,json=invokeActionTrigger,proto3,oneof" `
}
func ( * ActionInvocationInstance_ Lifecycl eActionTrigger) isActionInvocationInstance_ActionTrigger ( ) { }
func ( * ActionInvocationInstance_ Resourc eActionTrigger) isActionInvocationInstance_ActionTrigger ( ) { }
func ( * ActionInvocationInstance_InvokeActionTrigger ) isActionInvocationInstance_ActionTrigger ( ) { }
// Lifecycl eActionTrigger contains details on the conditions that led to the
// Resourc eActionTrigger contains details on the conditions that led to the
// triggering of an action.
type Lifecycl eActionTrigger struct {
type Resourc eActionTrigger struct {
state protoimpl . MessageState ` protogen:"open.v1" `
TriggeringResourceAddr string ` protobuf:"bytes,1,opt,name=triggering_resource_addr,json=triggeringResourceAddr,proto3" json:"triggering_resource_addr,omitempty" `
TriggerEvent ActionTriggerEvent ` protobuf:"varint,2,opt,name=trigger_event,json=triggerEvent,proto3,enum=tfplan.ActionTriggerEvent" json:"trigger_event,omitempty" `
@ -1866,20 +1866,20 @@ type LifecycleActionTrigger struct {
sizeCache protoimpl . SizeCache
}
func ( x * Lifecycl eActionTrigger) Reset ( ) {
* x = Lifecycl eActionTrigger{ }
func ( x * Resourc eActionTrigger) Reset ( ) {
* x = Resourc eActionTrigger{ }
mi := & file_planfile_proto_msgTypes [ 16 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
func ( x * Lifecycl eActionTrigger) String ( ) string {
func ( x * Resourc eActionTrigger) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Lifecycl eActionTrigger) ProtoMessage ( ) { }
func ( * Resourc eActionTrigger) ProtoMessage ( ) { }
func ( x * Lifecycl eActionTrigger) ProtoReflect ( ) protoreflect . Message {
func ( x * Resourc eActionTrigger) ProtoReflect ( ) protoreflect . Message {
mi := & file_planfile_proto_msgTypes [ 16 ]
if x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
@ -1891,33 +1891,33 @@ func (x *LifecycleActionTrigger) ProtoReflect() protoreflect.Message {
return mi . MessageOf ( x )
}
// Deprecated: Use Lifecycl eActionTrigger.ProtoReflect.Descriptor instead.
func ( * Lifecycl eActionTrigger) Descriptor ( ) ( [ ] byte , [ ] int ) {
// Deprecated: Use Resourc eActionTrigger.ProtoReflect.Descriptor instead.
func ( * Resourc eActionTrigger) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_planfile_proto_rawDescGZIP ( ) , [ ] int { 16 }
}
func ( x * Lifecycl eActionTrigger) GetTriggeringResourceAddr ( ) string {
func ( x * Resourc eActionTrigger) GetTriggeringResourceAddr ( ) string {
if x != nil {
return x . TriggeringResourceAddr
}
return ""
}
func ( x * Lifecycl eActionTrigger) GetTriggerEvent ( ) ActionTriggerEvent {
func ( x * Resourc eActionTrigger) GetTriggerEvent ( ) ActionTriggerEvent {
if x != nil {
return x . TriggerEvent
}
return ActionTriggerEvent_INVALID_EVENT
}
func ( x * Lifecycl eActionTrigger) GetActionTriggerBlockIndex ( ) int64 {
func ( x * Resourc eActionTrigger) GetActionTriggerBlockIndex ( ) int64 {
if x != nil {
return x . ActionTriggerBlockIndex
}
return 0
}
func ( x * Lifecycl eActionTrigger) GetActionsListIndex ( ) int64 {
func ( x * Resourc eActionTrigger) GetActionsListIndex ( ) int64 {
if x != nil {
return x . ActionsListIndex
}
@ -2349,16 +2349,16 @@ const file_planfile_proto_rawDesc = "" +
"\aunknown\x18\x02 \x01(\bR\aunknown\x120\n" +
"\bidentity\x18\x03 \x01(\v2\x14.tfplan.DynamicValueR\bidentity\":\n" +
"\bDeferred\x12.\n" +
"\x06reason\x18\x01 \x01(\x0e2\x16.tfplan.DeferredReasonR\x06reason\"\x8 8 \x03\n" +
"\x06reason\x18\x01 \x01(\x0e2\x16.tfplan.DeferredReasonR\x06reason\"\x8 5 \x03\n" +
"\x18ActionInvocationInstance\x12\x12\n" +
"\x04addr\x18\x01 \x01(\tR\x04addr\x12\x1a\n" +
"\bprovider\x18\x02 \x01(\tR\bprovider\x127\n" +
"\fconfig_value\x18\x04 \x01(\v2\x14.tfplan.DynamicValueR\vconfigValue\x12B\n" +
"\x16sensitive_config_paths\x18\x05 \x03(\v2\f.tfplan.PathR\x14sensitiveConfigPaths\x12 Z \n" +
"\x1 8lifecycle_action_trigger\x18\x06 \x01(\v2\x1e.tfplan.LifecycleActionTriggerH\x00R\x16lifecycl eActionTrigger\x12Q\n" +
"\x16sensitive_config_paths\x18\x05 \x03(\v2\f.tfplan.PathR\x14sensitiveConfigPaths\x12 W \n" +
"\x1 7resource_action_trigger\x18\x06 \x01(\v2\x1d.tfplan.ResourceActionTriggerH\x00R\x15resourc eActionTrigger\x12Q\n" +
"\x15invoke_action_trigger\x18\a \x01(\v2\x1b.tfplan.InvokeActionTriggerH\x00R\x13invokeActionTriggerB\x10\n" +
"\x0eaction_trigger\"\xf e \x01\n" +
"\x1 6Lifecycl eActionTrigger\x128\n" +
"\x0eaction_trigger\"\xf d \x01\n" +
"\x1 5Resourc eActionTrigger\x128\n" +
"\x18triggering_resource_addr\x18\x01 \x01(\tR\x16triggeringResourceAddr\x12?\n" +
"\rtrigger_event\x18\x02 \x01(\x0e2\x1a.tfplan.ActionTriggerEventR\ftriggerEvent\x12;\n" +
"\x1aaction_trigger_block_index\x18\x03 \x01(\x03R\x17actionTriggerBlockIndex\x12,\n" +
@ -2460,7 +2460,7 @@ var file_planfile_proto_goTypes = []any{
( * Importing ) ( nil ) , // 20: tfplan.Importing
( * Deferred ) ( nil ) , // 21: tfplan.Deferred
( * ActionInvocationInstance ) ( nil ) , // 22: tfplan.ActionInvocationInstance
( * LifecycleActionTrigger) ( nil ) , // 23: tfplan.Lifecycl eActionTrigger
( * ResourceActionTrigger) ( nil ) , // 23: tfplan.Resourc eActionTrigger
( * InvokeActionTrigger ) ( nil ) , // 24: tfplan.InvokeActionTrigger
( * ResourceInstanceActionChange ) ( nil ) , // 25: tfplan.ResourceInstanceActionChange
nil , // 26: tfplan.Plan.VariablesEntry
@ -2509,9 +2509,9 @@ var file_planfile_proto_depIdxs = []int32{
3 , // 37: tfplan.Deferred.reason:type_name -> tfplan.DeferredReason
18 , // 38: tfplan.ActionInvocationInstance.config_value:type_name -> tfplan.DynamicValue
19 , // 39: tfplan.ActionInvocationInstance.sensitive_config_paths:type_name -> tfplan.Path
23 , // 40: tfplan.ActionInvocationInstance. lifecycle_action_trigger:type_name -> tfplan.Lifecycl eActionTrigger
23 , // 40: tfplan.ActionInvocationInstance. resource_action_trigger:type_name -> tfplan.Resourc eActionTrigger
24 , // 41: tfplan.ActionInvocationInstance.invoke_action_trigger:type_name -> tfplan.InvokeActionTrigger
4 , // 42: tfplan. Lifecycl eActionTrigger.trigger_event:type_name -> tfplan.ActionTriggerEvent
4 , // 42: tfplan. Resourc eActionTrigger.trigger_event:type_name -> tfplan.ActionTriggerEvent
11 , // 43: tfplan.ResourceInstanceActionChange.change:type_name -> tfplan.Change
18 , // 44: tfplan.Plan.VariablesEntry.value:type_name -> tfplan.DynamicValue
19 , // 45: tfplan.Plan.resource_attr.attr:type_name -> tfplan.Path
@ -2530,7 +2530,7 @@ func file_planfile_proto_init() {
return
}
file_planfile_proto_msgTypes [ 15 ] . OneofWrappers = [ ] any {
( * ActionInvocationInstance_ Lifecycl eActionTrigger) ( nil ) ,
( * ActionInvocationInstance_ Resourc eActionTrigger) ( nil ) ,
( * ActionInvocationInstance_InvokeActionTrigger ) ( nil ) ,
}
file_planfile_proto_msgTypes [ 22 ] . OneofWrappers = [ ] any {