kubeform.dev/terraform-backend-sdk@v0.0.0-20220310143633-45f07fe731c5/plans/internal/planproto/planfile.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.15.6 5 // source: planfile.proto 6 7 package planproto 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // This is a compile-time assertion that a sufficiently up-to-date version 25 // of the legacy proto package is being used. 26 const _ = proto.ProtoPackageIsVersion4 27 28 // Mode describes the planning mode that created the plan. 29 type Mode int32 30 31 const ( 32 Mode_NORMAL Mode = 0 33 Mode_DESTROY Mode = 1 34 Mode_REFRESH_ONLY Mode = 2 35 ) 36 37 // Enum value maps for Mode. 38 var ( 39 Mode_name = map[int32]string{ 40 0: "NORMAL", 41 1: "DESTROY", 42 2: "REFRESH_ONLY", 43 } 44 Mode_value = map[string]int32{ 45 "NORMAL": 0, 46 "DESTROY": 1, 47 "REFRESH_ONLY": 2, 48 } 49 ) 50 51 func (x Mode) Enum() *Mode { 52 p := new(Mode) 53 *p = x 54 return p 55 } 56 57 func (x Mode) String() string { 58 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 59 } 60 61 func (Mode) Descriptor() protoreflect.EnumDescriptor { 62 return file_planfile_proto_enumTypes[0].Descriptor() 63 } 64 65 func (Mode) Type() protoreflect.EnumType { 66 return &file_planfile_proto_enumTypes[0] 67 } 68 69 func (x Mode) Number() protoreflect.EnumNumber { 70 return protoreflect.EnumNumber(x) 71 } 72 73 // Deprecated: Use Mode.Descriptor instead. 74 func (Mode) EnumDescriptor() ([]byte, []int) { 75 return file_planfile_proto_rawDescGZIP(), []int{0} 76 } 77 78 // Action describes the type of action planned for an object. 79 // Not all action values are valid for all object types. 80 type Action int32 81 82 const ( 83 Action_NOOP Action = 0 84 Action_CREATE Action = 1 85 Action_READ Action = 2 86 Action_UPDATE Action = 3 87 Action_DELETE Action = 5 88 Action_DELETE_THEN_CREATE Action = 6 89 Action_CREATE_THEN_DELETE Action = 7 90 ) 91 92 // Enum value maps for Action. 93 var ( 94 Action_name = map[int32]string{ 95 0: "NOOP", 96 1: "CREATE", 97 2: "READ", 98 3: "UPDATE", 99 5: "DELETE", 100 6: "DELETE_THEN_CREATE", 101 7: "CREATE_THEN_DELETE", 102 } 103 Action_value = map[string]int32{ 104 "NOOP": 0, 105 "CREATE": 1, 106 "READ": 2, 107 "UPDATE": 3, 108 "DELETE": 5, 109 "DELETE_THEN_CREATE": 6, 110 "CREATE_THEN_DELETE": 7, 111 } 112 ) 113 114 func (x Action) Enum() *Action { 115 p := new(Action) 116 *p = x 117 return p 118 } 119 120 func (x Action) String() string { 121 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 122 } 123 124 func (Action) Descriptor() protoreflect.EnumDescriptor { 125 return file_planfile_proto_enumTypes[1].Descriptor() 126 } 127 128 func (Action) Type() protoreflect.EnumType { 129 return &file_planfile_proto_enumTypes[1] 130 } 131 132 func (x Action) Number() protoreflect.EnumNumber { 133 return protoreflect.EnumNumber(x) 134 } 135 136 // Deprecated: Use Action.Descriptor instead. 137 func (Action) EnumDescriptor() ([]byte, []int) { 138 return file_planfile_proto_rawDescGZIP(), []int{1} 139 } 140 141 // ResourceInstanceActionReason sometimes provides some additional user-facing 142 // context for why a particular action was chosen for a resource instance. 143 // This is for user feedback only and never used to drive behavior during the 144 // subsequent apply step. 145 type ResourceInstanceActionReason int32 146 147 const ( 148 ResourceInstanceActionReason_NONE ResourceInstanceActionReason = 0 149 ResourceInstanceActionReason_REPLACE_BECAUSE_TAINTED ResourceInstanceActionReason = 1 150 ResourceInstanceActionReason_REPLACE_BY_REQUEST ResourceInstanceActionReason = 2 151 ResourceInstanceActionReason_REPLACE_BECAUSE_CANNOT_UPDATE ResourceInstanceActionReason = 3 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 } 162 ResourceInstanceActionReason_value = map[string]int32{ 163 "NONE": 0, 164 "REPLACE_BECAUSE_TAINTED": 1, 165 "REPLACE_BY_REQUEST": 2, 166 "REPLACE_BECAUSE_CANNOT_UPDATE": 3, 167 } 168 ) 169 170 func (x ResourceInstanceActionReason) Enum() *ResourceInstanceActionReason { 171 p := new(ResourceInstanceActionReason) 172 *p = x 173 return p 174 } 175 176 func (x ResourceInstanceActionReason) String() string { 177 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 178 } 179 180 func (ResourceInstanceActionReason) Descriptor() protoreflect.EnumDescriptor { 181 return file_planfile_proto_enumTypes[2].Descriptor() 182 } 183 184 func (ResourceInstanceActionReason) Type() protoreflect.EnumType { 185 return &file_planfile_proto_enumTypes[2] 186 } 187 188 func (x ResourceInstanceActionReason) Number() protoreflect.EnumNumber { 189 return protoreflect.EnumNumber(x) 190 } 191 192 // Deprecated: Use ResourceInstanceActionReason.Descriptor instead. 193 func (ResourceInstanceActionReason) EnumDescriptor() ([]byte, []int) { 194 return file_planfile_proto_rawDescGZIP(), []int{2} 195 } 196 197 // Plan is the root message type for the tfplan file 198 type Plan struct { 199 state protoimpl.MessageState 200 sizeCache protoimpl.SizeCache 201 unknownFields protoimpl.UnknownFields 202 203 // Version is incremented whenever there is a breaking change to 204 // the serialization format. Programs reading serialized plans should 205 // verify that version is set to the expected value and abort processing 206 // if not. A breaking change is any change that may cause an older 207 // consumer to interpret the structure incorrectly. This number will 208 // not be incremented if an existing consumer can either safely ignore 209 // changes to the format or if an existing consumer would fail to process 210 // the file for another message- or field-specific reason. 211 Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 212 // The mode that was active when this plan was created. 213 // 214 // This is saved only for UI purposes, so that Terraform can tailor its 215 // rendering of the plan depending on the mode. This must never be used to 216 // make decisions in Terraform Core during the applying of a plan. 217 UiMode Mode `protobuf:"varint,17,opt,name=ui_mode,json=uiMode,proto3,enum=tfplan.Mode" json:"ui_mode,omitempty"` 218 // The variables that were set when creating the plan. Each value is 219 // a msgpack serialization of an HCL value. 220 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"` 221 // An unordered set of proposed changes to resources throughout the 222 // configuration, including any nested modules. Use the address of 223 // each resource to determine which module it belongs to. 224 ResourceChanges []*ResourceInstanceChange `protobuf:"bytes,3,rep,name=resource_changes,json=resourceChanges,proto3" json:"resource_changes,omitempty"` 225 // An unordered set of detected drift: changes made to resources outside of 226 // Terraform, computed by comparing the previous run's state to the state 227 // after refresh. 228 ResourceDrift []*ResourceInstanceChange `protobuf:"bytes,18,rep,name=resource_drift,json=resourceDrift,proto3" json:"resource_drift,omitempty"` 229 // An unordered set of proposed changes to outputs in the root module 230 // of the configuration. This set also includes "no action" changes for 231 // outputs that are not changing, as context for detecting inconsistencies 232 // at apply time. 233 OutputChanges []*OutputChange `protobuf:"bytes,4,rep,name=output_changes,json=outputChanges,proto3" json:"output_changes,omitempty"` 234 // An unordered set of target addresses to include when applying. If no 235 // target addresses are present, the plan applies to the whole 236 // configuration. 237 TargetAddrs []string `protobuf:"bytes,5,rep,name=target_addrs,json=targetAddrs,proto3" json:"target_addrs,omitempty"` 238 // An unordered set of force-replace addresses to include when applying. 239 // This must match the set of addresses that was used when creating the 240 // plan, or else applying the plan will fail when it reaches a different 241 // conclusion about what action a particular resource instance needs. 242 ForceReplaceAddrs []string `protobuf:"bytes,16,rep,name=force_replace_addrs,json=forceReplaceAddrs,proto3" json:"force_replace_addrs,omitempty"` 243 // The version string for the Terraform binary that created this plan. 244 TerraformVersion string `protobuf:"bytes,14,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"` 245 // SHA256 digests of all of the provider plugin binaries that were used 246 // in the creation of this plan. 247 ProviderHashes map[string]*Hash `protobuf:"bytes,15,rep,name=provider_hashes,json=providerHashes,proto3" json:"provider_hashes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 248 // Backend is a description of the backend configuration and other related 249 // settings at the time the plan was created. 250 Backend *Backend `protobuf:"bytes,13,opt,name=backend,proto3" json:"backend,omitempty"` 251 } 252 253 func (x *Plan) Reset() { 254 *x = Plan{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_planfile_proto_msgTypes[0] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260 } 261 262 func (x *Plan) String() string { 263 return protoimpl.X.MessageStringOf(x) 264 } 265 266 func (*Plan) ProtoMessage() {} 267 268 func (x *Plan) ProtoReflect() protoreflect.Message { 269 mi := &file_planfile_proto_msgTypes[0] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278 } 279 280 // Deprecated: Use Plan.ProtoReflect.Descriptor instead. 281 func (*Plan) Descriptor() ([]byte, []int) { 282 return file_planfile_proto_rawDescGZIP(), []int{0} 283 } 284 285 func (x *Plan) GetVersion() uint64 { 286 if x != nil { 287 return x.Version 288 } 289 return 0 290 } 291 292 func (x *Plan) GetUiMode() Mode { 293 if x != nil { 294 return x.UiMode 295 } 296 return Mode_NORMAL 297 } 298 299 func (x *Plan) GetVariables() map[string]*DynamicValue { 300 if x != nil { 301 return x.Variables 302 } 303 return nil 304 } 305 306 func (x *Plan) GetResourceChanges() []*ResourceInstanceChange { 307 if x != nil { 308 return x.ResourceChanges 309 } 310 return nil 311 } 312 313 func (x *Plan) GetResourceDrift() []*ResourceInstanceChange { 314 if x != nil { 315 return x.ResourceDrift 316 } 317 return nil 318 } 319 320 func (x *Plan) GetOutputChanges() []*OutputChange { 321 if x != nil { 322 return x.OutputChanges 323 } 324 return nil 325 } 326 327 func (x *Plan) GetTargetAddrs() []string { 328 if x != nil { 329 return x.TargetAddrs 330 } 331 return nil 332 } 333 334 func (x *Plan) GetForceReplaceAddrs() []string { 335 if x != nil { 336 return x.ForceReplaceAddrs 337 } 338 return nil 339 } 340 341 func (x *Plan) GetTerraformVersion() string { 342 if x != nil { 343 return x.TerraformVersion 344 } 345 return "" 346 } 347 348 func (x *Plan) GetProviderHashes() map[string]*Hash { 349 if x != nil { 350 return x.ProviderHashes 351 } 352 return nil 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 // Hash represents a hash value. 774 // 775 // At present hashes always use the SHA256 algorithm. In future other hash 776 // algorithms may be used, possibly with a transitional period of including 777 // both as separate attributes of this type. Consumers must ignore attributes 778 // they don't support and fail if no supported attribute is present. The 779 // top-level format version will not be incremented for changes to the set of 780 // hash algorithms. 781 type Hash struct { 782 state protoimpl.MessageState 783 sizeCache protoimpl.SizeCache 784 unknownFields protoimpl.UnknownFields 785 786 Sha256 []byte `protobuf:"bytes,1,opt,name=sha256,proto3" json:"sha256,omitempty"` 787 } 788 789 func (x *Hash) Reset() { 790 *x = Hash{} 791 if protoimpl.UnsafeEnabled { 792 mi := &file_planfile_proto_msgTypes[6] 793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 794 ms.StoreMessageInfo(mi) 795 } 796 } 797 798 func (x *Hash) String() string { 799 return protoimpl.X.MessageStringOf(x) 800 } 801 802 func (*Hash) ProtoMessage() {} 803 804 func (x *Hash) ProtoReflect() protoreflect.Message { 805 mi := &file_planfile_proto_msgTypes[6] 806 if protoimpl.UnsafeEnabled && x != nil { 807 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 808 if ms.LoadMessageInfo() == nil { 809 ms.StoreMessageInfo(mi) 810 } 811 return ms 812 } 813 return mi.MessageOf(x) 814 } 815 816 // Deprecated: Use Hash.ProtoReflect.Descriptor instead. 817 func (*Hash) Descriptor() ([]byte, []int) { 818 return file_planfile_proto_rawDescGZIP(), []int{6} 819 } 820 821 func (x *Hash) GetSha256() []byte { 822 if x != nil { 823 return x.Sha256 824 } 825 return nil 826 } 827 828 // Path represents a set of steps to traverse into a data structure. It is 829 // used to refer to a sub-structure within a dynamic data structure presented 830 // separately. 831 type Path struct { 832 state protoimpl.MessageState 833 sizeCache protoimpl.SizeCache 834 unknownFields protoimpl.UnknownFields 835 836 Steps []*Path_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` 837 } 838 839 func (x *Path) Reset() { 840 *x = Path{} 841 if protoimpl.UnsafeEnabled { 842 mi := &file_planfile_proto_msgTypes[7] 843 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 844 ms.StoreMessageInfo(mi) 845 } 846 } 847 848 func (x *Path) String() string { 849 return protoimpl.X.MessageStringOf(x) 850 } 851 852 func (*Path) ProtoMessage() {} 853 854 func (x *Path) ProtoReflect() protoreflect.Message { 855 mi := &file_planfile_proto_msgTypes[7] 856 if protoimpl.UnsafeEnabled && x != nil { 857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 858 if ms.LoadMessageInfo() == nil { 859 ms.StoreMessageInfo(mi) 860 } 861 return ms 862 } 863 return mi.MessageOf(x) 864 } 865 866 // Deprecated: Use Path.ProtoReflect.Descriptor instead. 867 func (*Path) Descriptor() ([]byte, []int) { 868 return file_planfile_proto_rawDescGZIP(), []int{7} 869 } 870 871 func (x *Path) GetSteps() []*Path_Step { 872 if x != nil { 873 return x.Steps 874 } 875 return nil 876 } 877 878 type Path_Step struct { 879 state protoimpl.MessageState 880 sizeCache protoimpl.SizeCache 881 unknownFields protoimpl.UnknownFields 882 883 // Types that are assignable to Selector: 884 // *Path_Step_AttributeName 885 // *Path_Step_ElementKey 886 Selector isPath_Step_Selector `protobuf_oneof:"selector"` 887 } 888 889 func (x *Path_Step) Reset() { 890 *x = Path_Step{} 891 if protoimpl.UnsafeEnabled { 892 mi := &file_planfile_proto_msgTypes[10] 893 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 894 ms.StoreMessageInfo(mi) 895 } 896 } 897 898 func (x *Path_Step) String() string { 899 return protoimpl.X.MessageStringOf(x) 900 } 901 902 func (*Path_Step) ProtoMessage() {} 903 904 func (x *Path_Step) ProtoReflect() protoreflect.Message { 905 mi := &file_planfile_proto_msgTypes[10] 906 if protoimpl.UnsafeEnabled && x != nil { 907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 908 if ms.LoadMessageInfo() == nil { 909 ms.StoreMessageInfo(mi) 910 } 911 return ms 912 } 913 return mi.MessageOf(x) 914 } 915 916 // Deprecated: Use Path_Step.ProtoReflect.Descriptor instead. 917 func (*Path_Step) Descriptor() ([]byte, []int) { 918 return file_planfile_proto_rawDescGZIP(), []int{7, 0} 919 } 920 921 func (m *Path_Step) GetSelector() isPath_Step_Selector { 922 if m != nil { 923 return m.Selector 924 } 925 return nil 926 } 927 928 func (x *Path_Step) GetAttributeName() string { 929 if x, ok := x.GetSelector().(*Path_Step_AttributeName); ok { 930 return x.AttributeName 931 } 932 return "" 933 } 934 935 func (x *Path_Step) GetElementKey() *DynamicValue { 936 if x, ok := x.GetSelector().(*Path_Step_ElementKey); ok { 937 return x.ElementKey 938 } 939 return nil 940 } 941 942 type isPath_Step_Selector interface { 943 isPath_Step_Selector() 944 } 945 946 type Path_Step_AttributeName struct { 947 // Set "attribute_name" to represent looking up an attribute 948 // in the current object value. 949 AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` 950 } 951 952 type Path_Step_ElementKey struct { 953 // Set "element_key" to represent looking up an element in 954 // an indexable collection type. 955 ElementKey *DynamicValue `protobuf:"bytes,2,opt,name=element_key,json=elementKey,proto3,oneof"` 956 } 957 958 func (*Path_Step_AttributeName) isPath_Step_Selector() {} 959 960 func (*Path_Step_ElementKey) isPath_Step_Selector() {} 961 962 var File_planfile_proto protoreflect.FileDescriptor 963 964 var file_planfile_proto_rawDesc = []byte{ 965 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 966 0x12, 0x06, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0xec, 0x05, 0x0a, 0x04, 0x50, 0x6c, 0x61, 967 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 968 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x07, 0x75, 969 0x69, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x74, 970 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x75, 0x69, 0x4d, 0x6f, 971 0x64, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 972 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 973 0x6c, 0x61, 0x6e, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 974 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x49, 0x0a, 975 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 976 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 977 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 978 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 979 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 980 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x72, 0x69, 0x66, 0x74, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 981 0x32, 0x1e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 982 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 983 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x72, 0x69, 0x66, 0x74, 0x12, 984 0x3b, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 985 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 986 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x6f, 987 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 988 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 989 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x73, 0x12, 990 0x2e, 0x0a, 0x13, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 991 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x66, 0x6f, 992 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x73, 0x12, 993 0x2b, 0x0a, 0x11, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65, 0x72, 994 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x65, 0x72, 0x72, 995 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0f, 996 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 997 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 998 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 999 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 1000 0x72, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 1001 0x6e, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 1002 0x6e, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 1003 0x6e, 0x64, 0x1a, 0x52, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 1004 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 1005 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 1006 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x44, 1007 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 1008 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4f, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 1009 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 1010 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1011 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 1012 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, 0x76, 0x61, 1013 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x69, 0x0a, 0x07, 0x42, 0x61, 0x63, 0x6b, 0x65, 1014 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1015 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1016 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 1017 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x63, 0x6f, 1018 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 1019 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 1020 0x63, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x06, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x26, 0x0a, 1021 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0e, 0x2e, 1022 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 1023 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 1024 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x44, 1025 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 1026 0x75, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x16, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x65, 1027 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 1028 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 1029 0x68, 0x52, 0x14, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 1030 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x40, 0x0a, 0x15, 0x61, 0x66, 0x74, 0x65, 0x72, 1031 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 1032 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 1033 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, 0x66, 0x74, 0x65, 0x72, 0x53, 0x65, 0x6e, 0x73, 0x69, 1034 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd3, 0x02, 0x0a, 0x16, 0x52, 0x65, 1035 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x68, 1036 0x61, 0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0d, 0x20, 0x01, 1037 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 1038 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 1039 0x0b, 0x70, 0x72, 0x65, 0x76, 0x52, 0x75, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 1040 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 1041 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 1042 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 1043 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x06, 0x63, 0x68, 0x61, 1044 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 1045 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 1046 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 1047 0x28, 0x0c, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x10, 0x72, 1048 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 1049 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 1050 0x61, 0x74, 0x68, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 1051 0x6c, 0x61, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 1052 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x74, 0x66, 1053 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 1054 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 1055 0x6e, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 1056 0x68, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 1057 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 1058 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 1059 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x66, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x43, 0x68, 0x61, 1060 0x6e, 0x67, 0x65, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 1061 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 1062 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x22, 0x28, 0x0a, 0x0c, 0x44, 0x79, 0x6e, 1063 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 1064 0x70, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x70, 1065 0x61, 0x63, 0x6b, 0x22, 0x1e, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x73, 1066 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x68, 0x61, 1067 0x32, 0x35, 0x36, 0x22, 0xa5, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, 0x12, 0x27, 0x0a, 0x05, 1068 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x66, 1069 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 1070 0x73, 0x74, 0x65, 0x70, 0x73, 0x1a, 0x74, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 0x12, 0x27, 0x0a, 1071 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 1072 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 1073 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 1074 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x66, 1075 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x56, 0x61, 0x6c, 0x75, 1076 0x65, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x42, 1077 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2a, 0x31, 0x0a, 0x04, 0x4d, 1078 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 1079 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x53, 0x54, 0x52, 0x4f, 0x59, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 1080 0x52, 0x45, 0x46, 0x52, 0x45, 0x53, 0x48, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x2a, 0x70, 1081 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4f, 0x50, 1082 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x08, 1083 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 1084 0x54, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 1085 0x12, 0x16, 0x0a, 0x12, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x54, 0x48, 0x45, 0x4e, 0x5f, 1086 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x52, 0x45, 0x41, 1087 0x54, 0x45, 0x5f, 0x54, 0x48, 0x45, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x07, 1088 0x2a, 0x80, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 1089 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x61, 0x73, 0x6f, 1090 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x52, 1091 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x45, 0x43, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x54, 1092 0x41, 0x49, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x50, 0x4c, 1093 0x41, 0x43, 0x45, 0x5f, 0x42, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x02, 1094 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x45, 0x43, 0x41, 1095 0x55, 0x53, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 1096 0x45, 0x10, 0x03, 0x42, 0x42, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 1097 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x74, 0x65, 0x72, 0x72, 1098 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 1099 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 1100 0x61, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1101 } 1102 1103 var ( 1104 file_planfile_proto_rawDescOnce sync.Once 1105 file_planfile_proto_rawDescData = file_planfile_proto_rawDesc 1106 ) 1107 1108 func file_planfile_proto_rawDescGZIP() []byte { 1109 file_planfile_proto_rawDescOnce.Do(func() { 1110 file_planfile_proto_rawDescData = protoimpl.X.CompressGZIP(file_planfile_proto_rawDescData) 1111 }) 1112 return file_planfile_proto_rawDescData 1113 } 1114 1115 var file_planfile_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 1116 var file_planfile_proto_msgTypes = make([]protoimpl.MessageInfo, 11) 1117 var file_planfile_proto_goTypes = []interface{}{ 1118 (Mode)(0), // 0: tfplan.Mode 1119 (Action)(0), // 1: tfplan.Action 1120 (ResourceInstanceActionReason)(0), // 2: tfplan.ResourceInstanceActionReason 1121 (*Plan)(nil), // 3: tfplan.Plan 1122 (*Backend)(nil), // 4: tfplan.Backend 1123 (*Change)(nil), // 5: tfplan.Change 1124 (*ResourceInstanceChange)(nil), // 6: tfplan.ResourceInstanceChange 1125 (*OutputChange)(nil), // 7: tfplan.OutputChange 1126 (*DynamicValue)(nil), // 8: tfplan.DynamicValue 1127 (*Hash)(nil), // 9: tfplan.Hash 1128 (*Path)(nil), // 10: tfplan.Path 1129 nil, // 11: tfplan.Plan.VariablesEntry 1130 nil, // 12: tfplan.Plan.ProviderHashesEntry 1131 (*Path_Step)(nil), // 13: tfplan.Path.Step 1132 } 1133 var file_planfile_proto_depIdxs = []int32{ 1134 0, // 0: tfplan.Plan.ui_mode:type_name -> tfplan.Mode 1135 11, // 1: tfplan.Plan.variables:type_name -> tfplan.Plan.VariablesEntry 1136 6, // 2: tfplan.Plan.resource_changes:type_name -> tfplan.ResourceInstanceChange 1137 6, // 3: tfplan.Plan.resource_drift:type_name -> tfplan.ResourceInstanceChange 1138 7, // 4: tfplan.Plan.output_changes:type_name -> tfplan.OutputChange 1139 12, // 5: tfplan.Plan.provider_hashes:type_name -> tfplan.Plan.ProviderHashesEntry 1140 4, // 6: tfplan.Plan.backend:type_name -> tfplan.Backend 1141 8, // 7: tfplan.Backend.config:type_name -> tfplan.DynamicValue 1142 1, // 8: tfplan.Change.action:type_name -> tfplan.Action 1143 8, // 9: tfplan.Change.values:type_name -> tfplan.DynamicValue 1144 10, // 10: tfplan.Change.before_sensitive_paths:type_name -> tfplan.Path 1145 10, // 11: tfplan.Change.after_sensitive_paths:type_name -> tfplan.Path 1146 5, // 12: tfplan.ResourceInstanceChange.change:type_name -> tfplan.Change 1147 10, // 13: tfplan.ResourceInstanceChange.required_replace:type_name -> tfplan.Path 1148 2, // 14: tfplan.ResourceInstanceChange.action_reason:type_name -> tfplan.ResourceInstanceActionReason 1149 5, // 15: tfplan.OutputChange.change:type_name -> tfplan.Change 1150 13, // 16: tfplan.Path.steps:type_name -> tfplan.Path.Step 1151 8, // 17: tfplan.Plan.VariablesEntry.value:type_name -> tfplan.DynamicValue 1152 9, // 18: tfplan.Plan.ProviderHashesEntry.value:type_name -> tfplan.Hash 1153 8, // 19: tfplan.Path.Step.element_key:type_name -> tfplan.DynamicValue 1154 20, // [20:20] is the sub-list for method output_type 1155 20, // [20:20] is the sub-list for method input_type 1156 20, // [20:20] is the sub-list for extension type_name 1157 20, // [20:20] is the sub-list for extension extendee 1158 0, // [0:20] is the sub-list for field type_name 1159 } 1160 1161 func init() { file_planfile_proto_init() } 1162 func file_planfile_proto_init() { 1163 if File_planfile_proto != nil { 1164 return 1165 } 1166 if !protoimpl.UnsafeEnabled { 1167 file_planfile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1168 switch v := v.(*Plan); 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[1].Exporter = func(v interface{}, i int) interface{} { 1180 switch v := v.(*Backend); 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[2].Exporter = func(v interface{}, i int) interface{} { 1192 switch v := v.(*Change); 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 file_planfile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1204 switch v := v.(*ResourceInstanceChange); i { 1205 case 0: 1206 return &v.state 1207 case 1: 1208 return &v.sizeCache 1209 case 2: 1210 return &v.unknownFields 1211 default: 1212 return nil 1213 } 1214 } 1215 file_planfile_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1216 switch v := v.(*OutputChange); i { 1217 case 0: 1218 return &v.state 1219 case 1: 1220 return &v.sizeCache 1221 case 2: 1222 return &v.unknownFields 1223 default: 1224 return nil 1225 } 1226 } 1227 file_planfile_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1228 switch v := v.(*DynamicValue); i { 1229 case 0: 1230 return &v.state 1231 case 1: 1232 return &v.sizeCache 1233 case 2: 1234 return &v.unknownFields 1235 default: 1236 return nil 1237 } 1238 } 1239 file_planfile_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1240 switch v := v.(*Hash); i { 1241 case 0: 1242 return &v.state 1243 case 1: 1244 return &v.sizeCache 1245 case 2: 1246 return &v.unknownFields 1247 default: 1248 return nil 1249 } 1250 } 1251 file_planfile_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1252 switch v := v.(*Path); i { 1253 case 0: 1254 return &v.state 1255 case 1: 1256 return &v.sizeCache 1257 case 2: 1258 return &v.unknownFields 1259 default: 1260 return nil 1261 } 1262 } 1263 file_planfile_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1264 switch v := v.(*Path_Step); i { 1265 case 0: 1266 return &v.state 1267 case 1: 1268 return &v.sizeCache 1269 case 2: 1270 return &v.unknownFields 1271 default: 1272 return nil 1273 } 1274 } 1275 } 1276 file_planfile_proto_msgTypes[10].OneofWrappers = []interface{}{ 1277 (*Path_Step_AttributeName)(nil), 1278 (*Path_Step_ElementKey)(nil), 1279 } 1280 type x struct{} 1281 out := protoimpl.TypeBuilder{ 1282 File: protoimpl.DescBuilder{ 1283 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1284 RawDescriptor: file_planfile_proto_rawDesc, 1285 NumEnums: 3, 1286 NumMessages: 11, 1287 NumExtensions: 0, 1288 NumServices: 0, 1289 }, 1290 GoTypes: file_planfile_proto_goTypes, 1291 DependencyIndexes: file_planfile_proto_depIdxs, 1292 EnumInfos: file_planfile_proto_enumTypes, 1293 MessageInfos: file_planfile_proto_msgTypes, 1294 }.Build() 1295 File_planfile_proto = out.File 1296 file_planfile_proto_rawDesc = nil 1297 file_planfile_proto_goTypes = nil 1298 file_planfile_proto_depIdxs = nil 1299 }