mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Update identity related fields in protocol move request (#36662)
* Update source identity type in move request * make protobuf * Update type for identity upgrade * make protobuf
This commit is contained in:
parent
4654afb0b8
commit
5b48de5a4e
4 changed files with 1430 additions and 1378 deletions
|
|
@ -476,7 +476,7 @@ message UpgradeResourceIdentity {
|
|||
// not have access to the identity schema of prior_version, so it's the
|
||||
// provider's responsibility to interpret this value using the
|
||||
// appropriate older schema. The raw_identity will be json encoded.
|
||||
bytes raw_identity = 3;
|
||||
RawState raw_identity = 3;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
|
@ -677,7 +677,14 @@ message MoveResourceState {
|
|||
// The private state of the resource being moved.
|
||||
bytes source_private = 6;
|
||||
|
||||
ResourceIdentityData source_identity = 7;
|
||||
// The raw identity of the resource being moved. Only the json field is
|
||||
// populated, as there should be no legacy providers using the flatmap
|
||||
// format that support newly introduced RPCs.
|
||||
RawState source_identity = 7;
|
||||
|
||||
// The identity schema version of the resource type that the resource
|
||||
// is being moved from.
|
||||
int64 source_identity_schema_version = 8;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
|
|
|||
|
|
@ -493,7 +493,7 @@ message UpgradeResourceIdentity {
|
|||
// not have access to the identity schema of prior_version, so it's the
|
||||
// provider's responsibility to interpret this value using the
|
||||
// appropriate older schema. The raw_identity will be json encoded.
|
||||
bytes raw_identity = 3;
|
||||
RawState raw_identity = 3;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
|
@ -693,7 +693,14 @@ message MoveResourceState {
|
|||
// The private state of the resource being moved.
|
||||
bytes source_private = 6;
|
||||
|
||||
ResourceIdentityData source_identity = 7;
|
||||
// The raw identity of the resource being moved. Only the json field is
|
||||
// populated, as there should be no legacy providers using the flatmap
|
||||
// format that support newly introduced RPCs.
|
||||
RawState source_identity = 7;
|
||||
|
||||
// The identity schema version of the resource type that the resource
|
||||
// is being moved from.
|
||||
int64 source_identity_schema_version = 8;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue