@@ -62,6 +62,20 @@ type PlanResourceChangeResponse struct {
6262 RequiresReplace []* tftypes.AttributePath
6363 PlannedPrivate []byte
6464 Diagnostics []* Diagnostic
65+
66+ // This field should only be set by hashicorp/terraform-plugin-sdk.
67+ // It modifies Terraform's behavior to work with the legacy
68+ // expectations of that SDK.
69+ //
70+ // Nobody else should use this. Ever. For any reason. Just don't do it.
71+ //
72+ // We have to expose it here for terraform-plugin-sdk to be muxable, or
73+ // we wouldn't even be including it in this type. Don't use it. It may
74+ // go away or change behavior on you with no warning. It is
75+ // explicitly unsupported and not part of our SemVer guarantees.
76+ //
77+ // Deprecated: Really, just don't use this, you don't need it.
78+ UnsafeToUseLegacyTypeSystem bool
6579}
6680
6781type ApplyResourceChangeRequest struct {
@@ -77,6 +91,20 @@ type ApplyResourceChangeResponse struct {
7791 NewState * DynamicValue
7892 Private []byte
7993 Diagnostics []* Diagnostic
94+
95+ // This field should only be set by hashicorp/terraform-plugin-sdk.
96+ // It modifies Terraform's behavior to work with the legacy
97+ // expectations of that SDK.
98+ //
99+ // Nobody else should use this. Ever. For any reason. Just don't do it.
100+ //
101+ // We have to expose it here for terraform-plugin-sdk to be muxable, or
102+ // we wouldn't even be including it in this type. Don't use it. It may
103+ // go away or change behavior on you with no warning. It is
104+ // explicitly unsupported and not part of our SemVer guarantees.
105+ //
106+ // Deprecated: Really, just don't use this, you don't need it.
107+ UnsafeToUseLegacyTypeSystem bool
80108}
81109
82110type ImportResourceStateRequest struct {
0 commit comments