github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/plans/internal/planproto/planfile.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.15.6 5 // source: planfile.proto 6 7 package planproto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 // Mode describes the planning mode that created the plan. 24 type Mode int32 25 26 const ( 27 Mode_NORMAL Mode = 0 28 Mode_DESTROY Mode = 1 29 Mode_REFRESH_ONLY Mode = 2 30 ) 31 32 // Enum value maps for Mode. 33 var ( 34 Mode_name = map[int32]string{ 35 0: "NORMAL", 36 1: "DESTROY", 37 2: "REFRESH_ONLY", 38 } 39 Mode_value = map[string]int32{ 40 "NORMAL": 0, 41 "DESTROY": 1, 42 "REFRESH_ONLY": 2, 43 } 44 ) 45 46 func (x Mode) Enum() *Mode { 47 p := new(Mode) 48 *p = x 49 return p 50 } 51 52 func (x Mode) String() string { 53 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 54 } 55 56 func (Mode) Descriptor() protoreflect.EnumDescriptor { 57 return file_planfile_proto_enumTypes[0].Descriptor() 58 } 59 60 func (Mode) Type() protoreflect.EnumType { 61 return &file_planfile_proto_enumTypes[0] 62 } 63 64 func (x Mode) Number() protoreflect.EnumNumber { 65 return protoreflect.EnumNumber(x) 66 } 67 68 // Deprecated: Use Mode.Descriptor instead. 69 func (Mode) EnumDescriptor() ([]byte, []int) { 70 return file_planfile_proto_rawDescGZIP(), []int{0} 71 } 72 73 // Action describes the type of action planned for an object. 74 // Not all action values are valid for all object types. 75 type Action int32 76 77 const ( 78 Action_NOOP Action = 0 79 Action_CREATE Action = 1 80 Action_READ Action = 2 81 Action_UPDATE Action = 3 82 Action_DELETE Action = 5 83 Action_DELETE_THEN_CREATE Action = 6 84 Action_CREATE_THEN_DELETE Action = 7 85 ) 86 87 // Enum value maps for Action. 88 var ( 89 Action_name = map[int32]string{ 90 0: "NOOP", 91 1: "CREATE", 92 2: "READ", 93 3: "UPDATE", 94 5: "DELETE", 95 6: "DELETE_THEN_CREATE", 96 7: "CREATE_THEN_DELETE", 97 } 98 Action_value = map[string]int32{ 99 "NOOP": 0, 100 "CREATE": 1, 101 "READ": 2, 102 "UPDATE": 3, 103 "DELETE": 5, 104 "DELETE_THEN_CREATE": 6, 105 "CREATE_THEN_DELETE": 7, 106 } 107 ) 108 109 func (x Action) Enum() *Action { 110 p := new(Action) 111 *p = x 112 return p 113 } 114 115 func (x Action) String() string { 116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 117 } 118 119 func (Action) Descriptor() protoreflect.EnumDescriptor { 120 return file_planfile_proto_enumTypes[1].Descriptor() 121 } 122 123 func (Action) Type() protoreflect.EnumType { 124 return &file_planfile_proto_enumTypes[1] 125 } 126 127 func (x Action) Number() protoreflect.EnumNumber { 128 return protoreflect.EnumNumber(x) 129 } 130 131 // Deprecated: Use Action.Descriptor instead. 132 func (Action) EnumDescriptor() ([]byte, []int) { 133 return file_planfile_proto_rawDescGZIP(), []int{1} 134 } 135 136 // ResourceInstanceActionReason sometimes provides some additional user-facing 137 // context for why a particular action was chosen for a resource instance. 138 // This is for user feedback only and never used to drive behavior during the 139 // subsequent apply step. 140 type ResourceInstanceActionReason int32 141 142 const ( 143 ResourceInstanceActionReason_NONE ResourceInstanceActionReason = 0 144 ResourceInstanceActionReason_REPLACE_BECAUSE_TAINTED ResourceInstanceActionReason = 1 145 ResourceInstanceActionReason_REPLACE_BY_REQUEST ResourceInstanceActionReason = 2 146 ResourceInstanceActionReason_REPLACE_BECAUSE_CANNOT_UPDATE ResourceInstanceActionReason = 3 147 ResourceInstanceActionReason_DELETE_BECAUSE_NO_RESOURCE_CONFIG ResourceInstanceActionReason = 4 148 ResourceInstanceActionReason_DELETE_BECAUSE_WRONG_REPETITION ResourceInstanceActionReason = 5 149 ResourceInstanceActionReason_DELETE_BECAUSE_COUNT_INDEX ResourceInstanceActionReason = 6 150 ResourceInstanceActionReason_DELETE_BECAUSE_EACH_KEY ResourceInstanceActionReason = 7 151 ResourceInstanceActionReason_DELETE_BECAUSE_NO_MODULE ResourceInstanceActionReason = 8 152 ) 153 154 // Enum value maps for ResourceInstanceActionReason. 155 var ( 156 ResourceInstanceActionReason_name = map[int32]string{ 157 0: "NONE", 158 1: "REPLACE_BECAUSE_TAINTED", 159 2: "REPLACE_BY_REQUEST", 160 3: "REPLACE_BECAUSE_CANNOT_UPDATE", 161 4: "DELETE_BECAUSE_NO_RESOURCE_CONFIG", 162 5: "DELETE_BECAUSE_WRONG_REPETITION", 163 6: "DELETE_BECAUSE_COUNT_INDEX", 164 7: "DELETE_BECAUSE_EACH_KEY", 165 8: "DELETE_BECAUSE_NO_MODULE", 166 } 167 ResourceInstanceActionReason_value = map[string]int32{ 168 "NONE": 0, 169 "REPLACE_BECAUSE_TAINTED": 1, 170 "REPLACE_BY_REQUEST": 2, 171 "REPLACE_BECAUSE_CANNOT_UPDATE": 3, 172 "DELETE_BECAUSE_NO_RESOURCE_CONFIG": 4, 173 "DELETE_BECAUSE_WRONG_REPETITION": 5, 174 "DELETE_BECAUSE_COUNT_INDEX": 6, 175 "DELETE_BECAUSE_EACH_KEY": 7, 176 "DELETE_BECAUSE_NO_MODULE": 8, 177 } 178 ) 179 180 func (x ResourceInstanceActionReason) Enum() *ResourceInstanceActionReason { 181 p := new(ResourceInstanceActionReason) 182 *p = x 183 return p 184 } 185 186 func (x ResourceInstanceActionReason) String() string { 187 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 188 } 189 190 func (ResourceInstanceActionReason) Descriptor() protoreflect.EnumDescriptor { 191 return file_planfile_proto_enumTypes[2].Descriptor() 192 } 193 194 func (ResourceInstanceActionReason) Type() protoreflect.EnumType { 195 return &file_planfile_proto_enumTypes[2] 196 } 197 198 func (x ResourceInstanceActionReason) Number() protoreflect.EnumNumber { 199 return protoreflect.EnumNumber(x) 200 } 201 202 // Deprecated: Use ResourceInstanceActionReason.Descriptor instead. 203 func (ResourceInstanceActionReason) EnumDescriptor() ([]byte, []int) { 204 return file_planfile_proto_rawDescGZIP(), []int{2} 205 } 206 207 // Plan is the root message type for the tfplan file 208 type Plan struct { 209 state protoimpl.MessageState 210 sizeCache protoimpl.SizeCache 211 unknownFields protoimpl.UnknownFields 212 213 // Version is incremented whenever there is a breaking change to 214 // the serialization format. Programs reading serialized plans should 215 // verify that version is set to the expected value and abort processing 216 // if not. A breaking change is any change that may cause an older 217 // consumer to interpret the structure incorrectly. This number will 218 // not be incremented if an existing consumer can either safely ignore 219 // changes to the format or if an existing consumer would fail to process 220 // the file for another message- or field-specific reason. 221 Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 222 // The mode that was active when this plan was created. 223 // 224 // This is saved only for UI purposes, so that Terraform can tailor its 225 // rendering of the plan depending on the mode. This must never be used to 226 // make decisions in Terraform Core during the applying of a plan. 227 UiMode Mode `protobuf:"varint,17,opt,name=ui_mode,json=uiMode,proto3,enum=tfplan.Mode" json:"ui_mode,omitempty"` 228 // The variables that were set when creating the plan. Each value is 229 // a msgpack serialization of an HCL value. 230 Variables map[string]*DynamicValue `protobuf:"bytes,2,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 231 // An unordered set of proposed changes to resources throughout the 232 // configuration, including any nested modules. Use the address of 233 // each resource to determine which module it belongs to. 234 ResourceChanges []*ResourceInstanceChange `protobuf:"bytes,3,rep,name=resource_changes,json=resourceChanges,proto3" json:"resource_changes,omitempty"` 235 // An unordered set of detected drift: changes made to resources outside of 236 // Terraform, computed by comparing the previous run's state to the state 237 // after refresh. 238 ResourceDrift []*ResourceInstanceChange `protobuf:"bytes,18,rep,name=resource_drift,json=resourceDrift,proto3" json:"resource_drift,omitempty"` 239 // An unordered set of proposed changes to outputs in the root module 240 // of the configuration. This set also includes "no action" changes for 241 // outputs that are not changing, as context for detecting inconsistencies 242 // at apply time. 243 OutputChanges []*OutputChange `protobuf:"bytes,4,rep,name=output_changes,json=outputChanges,proto3" json:"output_changes,omitempty"` 244 // An unordered set of target addresses to include when applying. If no 245 // target addresses are present, the plan applies to the whole 246 // configuration. 247 TargetAddrs []string `protobuf:"bytes,5,rep,name=target_addrs,json=targetAddrs,proto3" json:"target_addrs,omitempty"` 248 // An unordered set of force-replace addresses to include when applying. 249 // This must match the set of addresses that was used when creating the 250 // plan, or else applying the plan will fail when it reaches a different 251 // conclusion about what action a particular resource instance needs. 252 ForceReplaceAddrs []string `protobuf:"bytes,16,rep,name=force_replace_addrs,json=forceReplaceAddrs,proto3" json:"force_replace_addrs,omitempty"` 253 // The version string for the Terraform binary that created this plan. 254 TerraformVersion string `protobuf:"bytes,14,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"` 255 // Backend is a description of the backend configuration and other related 256 // settings at the time the plan was created. 257 Backend *Backend `protobuf:"bytes,13,opt,name=backend,proto3" json:"backend,omitempty"` 258 } 259 260 func (x *Plan) Reset() { 261 *x = Plan{} 262 if protoimpl.UnsafeEnabled { 263 mi := &file_planfile_proto_msgTypes[0] 264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 265 ms.StoreMessageInfo(mi) 266 } 267 } 268 269 func (x *Plan) String() string { 270 return protoimpl.X.MessageStringOf(x) 271 } 272 273 func (*Plan) ProtoMessage() {} 274 275 func (x *Plan) ProtoReflect() protoreflect.Message { 276 mi := &file_planfile_proto_msgTypes[0] 277 if protoimpl.UnsafeEnabled && x != nil { 278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 279 if ms.LoadMessageInfo() == nil { 280 ms.StoreMessageInfo(mi) 281 } 282 return ms 283 } 284 return mi.MessageOf(x) 285 } 286 287 // Deprecated: Use Plan.ProtoReflect.Descriptor instead. 288 func (*Plan) Descriptor() ([]byte, []int) { 289 return file_planfile_proto_rawDescGZIP(), []int{0} 290 } 291 292 func (x *Plan) GetVersion() uint64 { 293 if x != nil { 294 return x.Version 295 } 296 return 0 297 } 298 299 func (x *Plan) GetUiMode() Mode { 300 if x != nil { 301 return x.UiMode 302 } 303 return Mode_NORMAL 304 } 305 306 func (x *Plan) GetVariables() map[string]*DynamicValue { 307 if x != nil { 308 return x.Variables 309 } 310 return nil 311 } 312 313 func (x *Plan) GetResourceChanges() []*ResourceInstanceChange { 314 if x != nil { 315 return x.ResourceChanges 316 } 317 return nil 318 } 319 320 func (x *Plan) GetResourceDrift() []*ResourceInstanceChange { 321 if x != nil { 322 return x.ResourceDrift 323 } 324 return nil 325 } 326 327 func (x *Plan) GetOutputChanges() []*OutputChange { 328 if x != nil { 329 return x.OutputChanges 330 } 331 return nil 332 } 333 334 func (x *Plan) GetTargetAddrs() []string { 335 if x != nil { 336 return x.TargetAddrs 337 } 338 return nil 339 } 340 341 func (x *Plan) GetForceReplaceAddrs() []string { 342 if x != nil { 343 return x.ForceReplaceAddrs 344 } 345 return nil 346 } 347 348 func (x *Plan) GetTerraformVersion() string { 349 if x != nil { 350 return x.TerraformVersion 351 } 352 return "" 353 } 354 355 func (x *Plan) GetBackend() *Backend { 356 if x != nil { 357 return x.Backend 358 } 359 return nil 360 } 361 362 // Backend is a description of backend configuration and other related settings. 363 type Backend struct { 364 state protoimpl.MessageState 365 sizeCache protoimpl.SizeCache 366 unknownFields protoimpl.UnknownFields 367 368 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 369 Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 370 Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"` 371 } 372 373 func (x *Backend) Reset() { 374 *x = Backend{} 375 if protoimpl.UnsafeEnabled { 376 mi := &file_planfile_proto_msgTypes[1] 377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 378 ms.StoreMessageInfo(mi) 379 } 380 } 381 382 func (x *Backend) String() string { 383 return protoimpl.X.MessageStringOf(x) 384 } 385 386 func (*Backend) ProtoMessage() {} 387 388 func (x *Backend) ProtoReflect() protoreflect.Message { 389 mi := &file_planfile_proto_msgTypes[1] 390 if protoimpl.UnsafeEnabled && x != nil { 391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 392 if ms.LoadMessageInfo() == nil { 393 ms.StoreMessageInfo(mi) 394 } 395 return ms 396 } 397 return mi.MessageOf(x) 398 } 399 400 // Deprecated: Use Backend.ProtoReflect.Descriptor instead. 401 func (*Backend) Descriptor() ([]byte, []int) { 402 return file_planfile_proto_rawDescGZIP(), []int{1} 403 } 404 405 func (x *Backend) GetType() string { 406 if x != nil { 407 return x.Type 408 } 409 return "" 410 } 411 412 func (x *Backend) GetConfig() *DynamicValue { 413 if x != nil { 414 return x.Config 415 } 416 return nil 417 } 418 419 func (x *Backend) GetWorkspace() string { 420 if x != nil { 421 return x.Workspace 422 } 423 return "" 424 } 425 426 // Change represents a change made to some object, transforming it from an old 427 // state to a new state. 428 type Change struct { 429 state protoimpl.MessageState 430 sizeCache protoimpl.SizeCache 431 unknownFields protoimpl.UnknownFields 432 433 // Not all action values are valid for all object types. Consult 434 // the documentation for any message that embeds Change. 435 Action Action `protobuf:"varint,1,opt,name=action,proto3,enum=tfplan.Action" json:"action,omitempty"` 436 // msgpack-encoded HCL values involved in the change. 437 // - For update and replace, two values are provided that give the old and new values, 438 // respectively. 439 // - For create, one value is provided that gives the new value to be created 440 // - For delete, one value is provided that describes the value being deleted 441 // - For read, two values are provided that give the prior value for this object 442 // (or null, if no prior value exists) and the value that was or will be read, 443 // respectively. 444 // - For no-op, one value is provided that is left unmodified by this non-change. 445 Values []*DynamicValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` 446 // An unordered set of paths into the old value which are marked as 447 // sensitive. Values at these paths should be obscured in human-readable 448 // output. This set is always empty for create. 449 BeforeSensitivePaths []*Path `protobuf:"bytes,3,rep,name=before_sensitive_paths,json=beforeSensitivePaths,proto3" json:"before_sensitive_paths,omitempty"` 450 // An unordered set of paths into the new value which are marked as 451 // sensitive. Values at these paths should be obscured in human-readable 452 // output. This set is always empty for delete. 453 AfterSensitivePaths []*Path `protobuf:"bytes,4,rep,name=after_sensitive_paths,json=afterSensitivePaths,proto3" json:"after_sensitive_paths,omitempty"` 454 } 455 456 func (x *Change) Reset() { 457 *x = Change{} 458 if protoimpl.UnsafeEnabled { 459 mi := &file_planfile_proto_msgTypes[2] 460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 461 ms.StoreMessageInfo(mi) 462 } 463 } 464 465 func (x *Change) String() string { 466 return protoimpl.X.MessageStringOf(x) 467 } 468 469 func (*Change) ProtoMessage() {} 470 471 func (x *Change) ProtoReflect() protoreflect.Message { 472 mi := &file_planfile_proto_msgTypes[2] 473 if protoimpl.UnsafeEnabled && x != nil { 474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 475 if ms.LoadMessageInfo() == nil { 476 ms.StoreMessageInfo(mi) 477 } 478 return ms 479 } 480 return mi.MessageOf(x) 481 } 482 483 // Deprecated: Use Change.ProtoReflect.Descriptor instead. 484 func (*Change) Descriptor() ([]byte, []int) { 485 return file_planfile_proto_rawDescGZIP(), []int{2} 486 } 487 488 func (x *Change) GetAction() Action { 489 if x != nil { 490 return x.Action 491 } 492 return Action_NOOP 493 } 494 495 func (x *Change) GetValues() []*DynamicValue { 496 if x != nil { 497 return x.Values 498 } 499 return nil 500 } 501 502 func (x *Change) GetBeforeSensitivePaths() []*Path { 503 if x != nil { 504 return x.BeforeSensitivePaths 505 } 506 return nil 507 } 508 509 func (x *Change) GetAfterSensitivePaths() []*Path { 510 if x != nil { 511 return x.AfterSensitivePaths 512 } 513 return nil 514 } 515 516 type ResourceInstanceChange struct { 517 state protoimpl.MessageState 518 sizeCache protoimpl.SizeCache 519 unknownFields protoimpl.UnknownFields 520 521 // addr is a string representation of the resource instance address that 522 // this change will apply to. 523 Addr string `protobuf:"bytes,13,opt,name=addr,proto3" json:"addr,omitempty"` 524 // prev_run_addr is a string representation of the address at which 525 // this resource instance was tracked during the previous apply operation. 526 // 527 // This is populated only if it would be different from addr due to 528 // Terraform having reacted to refactoring annotations in the configuration. 529 // If empty, the previous run address is the same as the current address. 530 PrevRunAddr string `protobuf:"bytes,14,opt,name=prev_run_addr,json=prevRunAddr,proto3" json:"prev_run_addr,omitempty"` 531 // deposed_key, if set, indicates that this change applies to a deposed 532 // object for the indicated instance with the given deposed key. If not 533 // set, the change applies to the instance's current object. 534 DeposedKey string `protobuf:"bytes,7,opt,name=deposed_key,json=deposedKey,proto3" json:"deposed_key,omitempty"` 535 // provider is the address of the provider configuration that this change 536 // was planned with, and thus the configuration that must be used to 537 // apply it. 538 Provider string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"` 539 // Description of the proposed change. May use "create", "read", "update", 540 // "replace", "delete" and "no-op" actions. 541 Change *Change `protobuf:"bytes,9,opt,name=change,proto3" json:"change,omitempty"` 542 // raw blob value provided by the provider as additional context for the 543 // change. Must be considered an opaque value for any consumer other than 544 // the provider that generated it, and will be returned verbatim to the 545 // provider during the subsequent apply operation. 546 Private []byte `protobuf:"bytes,10,opt,name=private,proto3" json:"private,omitempty"` 547 // An unordered set of paths that prompted the change action to be 548 // "replace" rather than "update". Empty for any action other than 549 // "replace". 550 RequiredReplace []*Path `protobuf:"bytes,11,rep,name=required_replace,json=requiredReplace,proto3" json:"required_replace,omitempty"` 551 // Optional extra user-oriented context for why change.Action was chosen. 552 // This is for user feedback only and never used to drive behavior during 553 // apply. 554 ActionReason ResourceInstanceActionReason `protobuf:"varint,12,opt,name=action_reason,json=actionReason,proto3,enum=tfplan.ResourceInstanceActionReason" json:"action_reason,omitempty"` 555 } 556 557 func (x *ResourceInstanceChange) Reset() { 558 *x = ResourceInstanceChange{} 559 if protoimpl.UnsafeEnabled { 560 mi := &file_planfile_proto_msgTypes[3] 561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 562 ms.StoreMessageInfo(mi) 563 } 564 } 565 566 func (x *ResourceInstanceChange) String() string { 567 return protoimpl.X.MessageStringOf(x) 568 } 569 570 func (*ResourceInstanceChange) ProtoMessage() {} 571 572 func (x *ResourceInstanceChange) ProtoReflect() protoreflect.Message { 573 mi := &file_planfile_proto_msgTypes[3] 574 if protoimpl.UnsafeEnabled && x != nil { 575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 576 if ms.LoadMessageInfo() == nil { 577 ms.StoreMessageInfo(mi) 578 } 579 return ms 580 } 581 return mi.MessageOf(x) 582 } 583 584 // Deprecated: Use ResourceInstanceChange.ProtoReflect.Descriptor instead. 585 func (*ResourceInstanceChange) Descriptor() ([]byte, []int) { 586 return file_planfile_proto_rawDescGZIP(), []int{3} 587 } 588 589 func (x *ResourceInstanceChange) GetAddr() string { 590 if x != nil { 591 return x.Addr 592 } 593 return "" 594 } 595 596 func (x *ResourceInstanceChange) GetPrevRunAddr() string { 597 if x != nil { 598 return x.PrevRunAddr 599 } 600 return "" 601 } 602 603 func (x *ResourceInstanceChange) GetDeposedKey() string { 604 if x != nil { 605 return x.DeposedKey 606 } 607 return "" 608 } 609 610 func (x *ResourceInstanceChange) GetProvider() string { 611 if x != nil { 612 return x.Provider 613 } 614 return "" 615 } 616 617 func (x *ResourceInstanceChange) GetChange() *Change { 618 if x != nil { 619 return x.Change 620 } 621 return nil 622 } 623 624 func (x *ResourceInstanceChange) GetPrivate() []byte { 625 if x != nil { 626 return x.Private 627 } 628 return nil 629 } 630 631 func (x *ResourceInstanceChange) GetRequiredReplace() []*Path { 632 if x != nil { 633 return x.RequiredReplace 634 } 635 return nil 636 } 637 638 func (x *ResourceInstanceChange) GetActionReason() ResourceInstanceActionReason { 639 if x != nil { 640 return x.ActionReason 641 } 642 return ResourceInstanceActionReason_NONE 643 } 644 645 type OutputChange struct { 646 state protoimpl.MessageState 647 sizeCache protoimpl.SizeCache 648 unknownFields protoimpl.UnknownFields 649 650 // Name of the output as defined in the root module. 651 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 652 // Description of the proposed change. May use "no-op", "create", 653 // "update" and "delete" actions. 654 Change *Change `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"` 655 // Sensitive, if true, indicates that one or more of the values given 656 // in "change" is sensitive and should not be shown directly in any 657 // rendered plan. 658 Sensitive bool `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"` 659 } 660 661 func (x *OutputChange) Reset() { 662 *x = OutputChange{} 663 if protoimpl.UnsafeEnabled { 664 mi := &file_planfile_proto_msgTypes[4] 665 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 666 ms.StoreMessageInfo(mi) 667 } 668 } 669 670 func (x *OutputChange) String() string { 671 return protoimpl.X.MessageStringOf(x) 672 } 673 674 func (*OutputChange) ProtoMessage() {} 675 676 func (x *OutputChange) ProtoReflect() protoreflect.Message { 677 mi := &file_planfile_proto_msgTypes[4] 678 if protoimpl.UnsafeEnabled && x != nil { 679 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 680 if ms.LoadMessageInfo() == nil { 681 ms.StoreMessageInfo(mi) 682 } 683 return ms 684 } 685 return mi.MessageOf(x) 686 } 687 688 // Deprecated: Use OutputChange.ProtoReflect.Descriptor instead. 689 func (*OutputChange) Descriptor() ([]byte, []int) { 690 return file_planfile_proto_rawDescGZIP(), []int{4} 691 } 692 693 func (x *OutputChange) GetName() string { 694 if x != nil { 695 return x.Name 696 } 697 return "" 698 } 699 700 func (x *OutputChange) GetChange() *Change { 701 if x != nil { 702 return x.Change 703 } 704 return nil 705 } 706 707 func (x *OutputChange) GetSensitive() bool { 708 if x != nil { 709 return x.Sensitive 710 } 711 return false 712 } 713 714 // DynamicValue represents a value whose type is not decided until runtime, 715 // often based on schema information obtained from a plugin. 716 // 717 // At present dynamic values are always encoded as msgpack, with extension 718 // id 0 used to represent the special "unknown" value indicating results 719 // that won't be known until after apply. 720 // 721 // In future other serialization formats may be used, possibly with a 722 // transitional period of including both as separate attributes of this type. 723 // Consumers must ignore attributes they don't support and fail if no supported 724 // attribute is present. The top-level format version will not be incremented 725 // for changes to the set of dynamic serialization formats. 726 type DynamicValue struct { 727 state protoimpl.MessageState 728 sizeCache protoimpl.SizeCache 729 unknownFields protoimpl.UnknownFields 730 731 Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"` 732 } 733 734 func (x *DynamicValue) Reset() { 735 *x = DynamicValue{} 736 if protoimpl.UnsafeEnabled { 737 mi := &file_planfile_proto_msgTypes[5] 738 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 739 ms.StoreMessageInfo(mi) 740 } 741 } 742 743 func (x *DynamicValue) String() string { 744 return protoimpl.X.MessageStringOf(x) 745 } 746 747 func (*DynamicValue) ProtoMessage() {} 748 749 func (x *DynamicValue) ProtoReflect() protoreflect.Message { 750 mi := &file_planfile_proto_msgTypes[5] 751 if protoimpl.UnsafeEnabled && x != nil { 752 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 753 if ms.LoadMessageInfo() == nil { 754 ms.StoreMessageInfo(mi) 755 } 756 return ms 757 } 758 return mi.MessageOf(x) 759 } 760 761 // Deprecated: Use DynamicValue.ProtoReflect.Descriptor instead. 762 func (*DynamicValue) Descriptor() ([]byte, []int) { 763 return file_planfile_proto_rawDescGZIP(), []int{5} 764 } 765 766 func (x *DynamicValue) GetMsgpack() []byte { 767 if x != nil { 768 return x.Msgpack 769 } 770 return nil 771 } 772 773 // Path represents a set of steps to traverse into a data structure. It is 774 // used to refer to a sub-structure within a dynamic data structure presented 775 // separately. 776 type Path struct { 777 state protoimpl.MessageState 778 sizeCache protoimpl.SizeCache 779 unknownFields protoimpl.UnknownFields 780 781 Steps []*Path_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` 782 } 783 784 func (x *Path) Reset() { 785 *x = Path{} 786 if protoimpl.UnsafeEnabled { 787 mi := &file_planfile_proto_msgTypes[6] 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 ms.StoreMessageInfo(mi) 790 } 791 } 792 793 func (x *Path) String() string { 794 return protoimpl.X.MessageStringOf(x) 795 } 796 797 func (*Path) ProtoMessage() {} 798 799 func (x *Path) ProtoReflect() protoreflect.Message { 800 mi := &file_planfile_proto_msgTypes[6] 801 if protoimpl.UnsafeEnabled && x != nil { 802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 803 if ms.LoadMessageInfo() == nil { 804 ms.StoreMessageInfo(mi) 805 } 806 return ms 807 } 808 return mi.MessageOf(x) 809 } 810 811 // Deprecated: Use Path.ProtoReflect.Descriptor instead. 812 func (*Path) Descriptor() ([]byte, []int) { 813 return file_planfile_proto_rawDescGZIP(), []int{6} 814 } 815 816 func (x *Path) GetSteps() []*Path_Step { 817 if x != nil { 818 return x.Steps 819 } 820 return nil 821 } 822 823 type Path_Step struct { 824 state protoimpl.MessageState 825 sizeCache protoimpl.SizeCache 826 unknownFields protoimpl.UnknownFields 827 828 // Types that are assignable to Selector: 829 // *Path_Step_AttributeName 830 // *Path_Step_ElementKey 831 Selector isPath_Step_Selector `protobuf_oneof:"selector"` 832 } 833 834 func (x *Path_Step) Reset() { 835 *x = Path_Step{} 836 if protoimpl.UnsafeEnabled { 837 mi := &file_planfile_proto_msgTypes[8] 838 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 839 ms.StoreMessageInfo(mi) 840 } 841 } 842 843 func (x *Path_Step) String() string { 844 return protoimpl.X.MessageStringOf(x) 845 } 846 847 func (*Path_Step) ProtoMessage() {} 848 849 func (x *Path_Step) ProtoReflect() protoreflect.Message { 850 mi := &file_planfile_proto_msgTypes[8] 851 if protoimpl.UnsafeEnabled && x != nil { 852 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 853 if ms.LoadMessageInfo() == nil { 854 ms.StoreMessageInfo(mi) 855 } 856 return ms 857 } 858 return mi.MessageOf(x) 859 } 860 861 // Deprecated: Use Path_Step.ProtoReflect.Descriptor instead. 862 func (*Path_Step) Descriptor() ([]byte, []int) { 863 return file_planfile_proto_rawDescGZIP(), []int{6, 0} 864 } 865 866 func (m *Path_Step) GetSelector() isPath_Step_Selector { 867 if m != nil { 868 return m.Selector 869 } 870 return nil 871 } 872 873 func (x *Path_Step) GetAttributeName() string { 874 if x, ok := x.GetSelector().(*Path_Step_AttributeName); ok { 875 return x.AttributeName 876 } 877 return "" 878 } 879 880 func (x *Path_Step) GetElementKey() *DynamicValue { 881 if x, ok := x.GetSelector().(*Path_Step_ElementKey); ok { 882 return x.ElementKey 883 } 884 return nil 885 } 886 887 type isPath_Step_Selector interface { 888 isPath_Step_Selector() 889 } 890 891 type Path_Step_AttributeName struct { 892 // Set "attribute_name" to represent looking up an attribute 893 // in the current object value. 894 AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` 895 } 896 897 type Path_Step_ElementKey struct { 898 // Set "element_key" to represent looking up an element in 899 // an indexable collection type. 900 ElementKey *DynamicValue `protobuf:"bytes,2,opt,name=element_key,json=elementKey,proto3,oneof"` 901 } 902 903 func (*Path_Step_AttributeName) isPath_Step_Selector() {} 904 905 func (*Path_Step_ElementKey) isPath_Step_Selector() {} 906 907 var File_planfile_proto protoreflect.FileDescriptor 908 909 var file_planfile_proto_rawDesc = []byte{ 910 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 911 0x12, 0x06, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0xd0, 0x04, 0x0a, 0x04, 0x50, 0x6c, 0x61, 912 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 913 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x07, 0x75, 914 0x69, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x74, 915 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x75, 0x69, 0x4d, 0x6f, 916 0x64, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 917 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 918 0x6c, 0x61, 0x6e, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 919 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x49, 0x0a, 920 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 921 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 922 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 923 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 924 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 925 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x72, 0x69, 0x66, 0x74, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 926 0x32, 0x1e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 927 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 928 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x72, 0x69, 0x66, 0x74, 0x12, 929 0x3b, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 930 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 931 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x6f, 932 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 933 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 934 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x73, 0x12, 935 0x2e, 0x0a, 0x13, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 936 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x66, 0x6f, 937 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x73, 0x12, 938 0x2b, 0x0a, 0x11, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, 0x72, 939 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x65, 0x72, 0x72, 940 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x07, 941 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 942 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 943 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x1a, 0x52, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 944 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 945 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 946 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 947 0x6c, 0x61, 0x6e, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 948 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x69, 0x0a, 0x07, 0x42, 949 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 950 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x63, 0x6f, 951 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 952 0x6c, 0x61, 0x6e, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 953 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 954 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x6f, 0x72, 955 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x06, 0x43, 0x68, 0x61, 0x6e, 0x67, 956 0x65, 0x12, 0x26, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 957 0x0e, 0x32, 0x0e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 958 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x06, 0x76, 0x61, 0x6c, 959 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 960 0x61, 0x6e, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 961 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x16, 0x62, 0x65, 0x66, 0x6f, 0x72, 962 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 963 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 964 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x14, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x6e, 965 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x40, 0x0a, 0x15, 0x61, 966 0x66, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 967 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 968 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 969 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd3, 0x02, 970 0x0a, 0x16, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 971 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 972 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x22, 0x0a, 0x0d, 973 0x70, 0x72, 0x65, 0x76, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0e, 0x20, 974 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x52, 0x75, 0x6e, 0x41, 0x64, 0x64, 0x72, 975 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 976 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x4b, 0x65, 977 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 978 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, 979 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 980 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x63, 981 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 982 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 983 0x37, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 984 0x61, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 985 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 986 0x64, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 987 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 988 0x24, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 989 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 990 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 991 0x73, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 992 0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 993 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 994 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 995 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 996 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 997 0x28, 0x08, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x22, 0x28, 0x0a, 998 0x0c, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 999 0x07, 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 1000 0x6d, 0x73, 0x67, 0x70, 0x61, 0x63, 0x6b, 0x22, 0xa5, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, 1001 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 1002 0x11, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x53, 0x74, 1003 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x1a, 0x74, 0x0a, 0x04, 0x53, 0x74, 0x65, 1004 0x70, 0x12, 0x27, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 1005 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x74, 0x74, 1006 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6c, 1007 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 1008 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 1009 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 1010 0x4b, 0x65, 0x79, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2a, 1011 0x31, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 1012 0x4c, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, 0x59, 0x10, 0x01, 1013 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 1014 0x10, 0x02, 0x2a, 0x70, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 1015 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 1016 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 1017 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 1018 0x54, 0x45, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x54, 1019 0x48, 0x45, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 1020 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x48, 0x45, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 1021 0x54, 0x45, 0x10, 0x07, 0x2a, 0xa7, 0x02, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1022 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 1023 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 1024 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x45, 0x43, 0x41, 0x55, 1025 0x53, 0x45, 0x5f, 0x54, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 1026 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 1027 0x53, 0x54, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 1028 0x42, 0x45, 0x43, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 1029 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x25, 0x0a, 0x21, 0x44, 0x45, 0x4c, 0x45, 0x54, 1030 0x45, 0x5f, 0x42, 0x45, 0x43, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x53, 1031 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x04, 0x12, 0x23, 1032 0x0a, 0x1f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x42, 0x45, 0x43, 0x41, 0x55, 0x53, 0x45, 1033 0x5f, 0x57, 0x52, 0x4f, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x54, 0x49, 0x54, 0x49, 0x4f, 1034 0x4e, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x42, 0x45, 1035 0x43, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x44, 0x45, 1036 0x58, 0x10, 0x06, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x42, 0x45, 1037 0x43, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x45, 0x41, 0x43, 0x48, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x07, 1038 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x42, 0x45, 0x43, 0x41, 0x55, 1039 0x53, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x10, 0x08, 0x42, 0x42, 1040 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 1041 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 1042 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 1043 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x70, 0x72, 0x6f, 1044 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1045 } 1046 1047 var ( 1048 file_planfile_proto_rawDescOnce sync.Once 1049 file_planfile_proto_rawDescData = file_planfile_proto_rawDesc 1050 ) 1051 1052 func file_planfile_proto_rawDescGZIP() []byte { 1053 file_planfile_proto_rawDescOnce.Do(func() { 1054 file_planfile_proto_rawDescData = protoimpl.X.CompressGZIP(file_planfile_proto_rawDescData) 1055 }) 1056 return file_planfile_proto_rawDescData 1057 } 1058 1059 var file_planfile_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 1060 var file_planfile_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1061 var file_planfile_proto_goTypes = []interface{}{ 1062 (Mode)(0), // 0: tfplan.Mode 1063 (Action)(0), // 1: tfplan.Action 1064 (ResourceInstanceActionReason)(0), // 2: tfplan.ResourceInstanceActionReason 1065 (*Plan)(nil), // 3: tfplan.Plan 1066 (*Backend)(nil), // 4: tfplan.Backend 1067 (*Change)(nil), // 5: tfplan.Change 1068 (*ResourceInstanceChange)(nil), // 6: tfplan.ResourceInstanceChange 1069 (*OutputChange)(nil), // 7: tfplan.OutputChange 1070 (*DynamicValue)(nil), // 8: tfplan.DynamicValue 1071 (*Path)(nil), // 9: tfplan.Path 1072 nil, // 10: tfplan.Plan.VariablesEntry 1073 (*Path_Step)(nil), // 11: tfplan.Path.Step 1074 } 1075 var file_planfile_proto_depIdxs = []int32{ 1076 0, // 0: tfplan.Plan.ui_mode:type_name -> tfplan.Mode 1077 10, // 1: tfplan.Plan.variables:type_name -> tfplan.Plan.VariablesEntry 1078 6, // 2: tfplan.Plan.resource_changes:type_name -> tfplan.ResourceInstanceChange 1079 6, // 3: tfplan.Plan.resource_drift:type_name -> tfplan.ResourceInstanceChange 1080 7, // 4: tfplan.Plan.output_changes:type_name -> tfplan.OutputChange 1081 4, // 5: tfplan.Plan.backend:type_name -> tfplan.Backend 1082 8, // 6: tfplan.Backend.config:type_name -> tfplan.DynamicValue 1083 1, // 7: tfplan.Change.action:type_name -> tfplan.Action 1084 8, // 8: tfplan.Change.values:type_name -> tfplan.DynamicValue 1085 9, // 9: tfplan.Change.before_sensitive_paths:type_name -> tfplan.Path 1086 9, // 10: tfplan.Change.after_sensitive_paths:type_name -> tfplan.Path 1087 5, // 11: tfplan.ResourceInstanceChange.change:type_name -> tfplan.Change 1088 9, // 12: tfplan.ResourceInstanceChange.required_replace:type_name -> tfplan.Path 1089 2, // 13: tfplan.ResourceInstanceChange.action_reason:type_name -> tfplan.ResourceInstanceActionReason 1090 5, // 14: tfplan.OutputChange.change:type_name -> tfplan.Change 1091 11, // 15: tfplan.Path.steps:type_name -> tfplan.Path.Step 1092 8, // 16: tfplan.Plan.VariablesEntry.value:type_name -> tfplan.DynamicValue 1093 8, // 17: tfplan.Path.Step.element_key:type_name -> tfplan.DynamicValue 1094 18, // [18:18] is the sub-list for method output_type 1095 18, // [18:18] is the sub-list for method input_type 1096 18, // [18:18] is the sub-list for extension type_name 1097 18, // [18:18] is the sub-list for extension extendee 1098 0, // [0:18] is the sub-list for field type_name 1099 } 1100 1101 func init() { file_planfile_proto_init() } 1102 func file_planfile_proto_init() { 1103 if File_planfile_proto != nil { 1104 return 1105 } 1106 if !protoimpl.UnsafeEnabled { 1107 file_planfile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1108 switch v := v.(*Plan); i { 1109 case 0: 1110 return &v.state 1111 case 1: 1112 return &v.sizeCache 1113 case 2: 1114 return &v.unknownFields 1115 default: 1116 return nil 1117 } 1118 } 1119 file_planfile_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1120 switch v := v.(*Backend); i { 1121 case 0: 1122 return &v.state 1123 case 1: 1124 return &v.sizeCache 1125 case 2: 1126 return &v.unknownFields 1127 default: 1128 return nil 1129 } 1130 } 1131 file_planfile_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1132 switch v := v.(*Change); i { 1133 case 0: 1134 return &v.state 1135 case 1: 1136 return &v.sizeCache 1137 case 2: 1138 return &v.unknownFields 1139 default: 1140 return nil 1141 } 1142 } 1143 file_planfile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1144 switch v := v.(*ResourceInstanceChange); i { 1145 case 0: 1146 return &v.state 1147 case 1: 1148 return &v.sizeCache 1149 case 2: 1150 return &v.unknownFields 1151 default: 1152 return nil 1153 } 1154 } 1155 file_planfile_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1156 switch v := v.(*OutputChange); i { 1157 case 0: 1158 return &v.state 1159 case 1: 1160 return &v.sizeCache 1161 case 2: 1162 return &v.unknownFields 1163 default: 1164 return nil 1165 } 1166 } 1167 file_planfile_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1168 switch v := v.(*DynamicValue); i { 1169 case 0: 1170 return &v.state 1171 case 1: 1172 return &v.sizeCache 1173 case 2: 1174 return &v.unknownFields 1175 default: 1176 return nil 1177 } 1178 } 1179 file_planfile_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1180 switch v := v.(*Path); i { 1181 case 0: 1182 return &v.state 1183 case 1: 1184 return &v.sizeCache 1185 case 2: 1186 return &v.unknownFields 1187 default: 1188 return nil 1189 } 1190 } 1191 file_planfile_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1192 switch v := v.(*Path_Step); i { 1193 case 0: 1194 return &v.state 1195 case 1: 1196 return &v.sizeCache 1197 case 2: 1198 return &v.unknownFields 1199 default: 1200 return nil 1201 } 1202 } 1203 } 1204 file_planfile_proto_msgTypes[8].OneofWrappers = []interface{}{ 1205 (*Path_Step_AttributeName)(nil), 1206 (*Path_Step_ElementKey)(nil), 1207 } 1208 type x struct{} 1209 out := protoimpl.TypeBuilder{ 1210 File: protoimpl.DescBuilder{ 1211 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1212 RawDescriptor: file_planfile_proto_rawDesc, 1213 NumEnums: 3, 1214 NumMessages: 9, 1215 NumExtensions: 0, 1216 NumServices: 0, 1217 }, 1218 GoTypes: file_planfile_proto_goTypes, 1219 DependencyIndexes: file_planfile_proto_depIdxs, 1220 EnumInfos: file_planfile_proto_enumTypes, 1221 MessageInfos: file_planfile_proto_msgTypes, 1222 }.Build() 1223 File_planfile_proto = out.File 1224 file_planfile_proto_rawDesc = nil 1225 file_planfile_proto_goTypes = nil 1226 file_planfile_proto_depIdxs = nil 1227 }