diff --git a/docs/plugin-protocol/tfplugin5.6.proto b/docs/plugin-protocol/tfplugin5.6.proto index c1c1301557c3..f07101126490 100644 --- a/docs/plugin-protocol/tfplugin5.6.proto +++ b/docs/plugin-protocol/tfplugin5.6.proto @@ -217,8 +217,8 @@ message Deferred { enum Reason { // UNKNOWN is the default value, and should not be used. UNKNOWN = 0; - // RESOURCE_CONFIG_UNKNOWN is used when parts of the resource configuration - // are unknown, e.g. the for_each value is only known after the apply is done. + // RESOURCE_CONFIG_UNKNOWN is used when the config is partially unknown and the real + // values need to be known before the change can be planned. RESOURCE_CONFIG_UNKNOWN = 1; // PROVIDER_CONFIG_UNKNOWN is used when parts of the provider configuration // are unknown, e.g. the provider configuration is only known after the apply is done. diff --git a/docs/plugin-protocol/tfplugin6.6.proto b/docs/plugin-protocol/tfplugin6.6.proto index dc6d246a07fe..580db9c1bdf7 100644 --- a/docs/plugin-protocol/tfplugin6.6.proto +++ b/docs/plugin-protocol/tfplugin6.6.proto @@ -236,8 +236,8 @@ message Deferred { enum Reason { // UNKNOWN is the default value, and should not be used. UNKNOWN = 0; - // RESOURCE_CONFIG_UNKNOWN is used when parts of the resource configuration - // are unknown, e.g. the for_each value is only known after the apply is done. + // RESOURCE_CONFIG_UNKNOWN is used when the config is partially unknown and the real + // values need to be known before the change can be planned. RESOURCE_CONFIG_UNKNOWN = 1; // PROVIDER_CONFIG_UNKNOWN is used when parts of the provider configuration // are unknown, e.g. the provider configuration is only known after the apply is done. diff --git a/internal/tfplugin5/tfplugin5.pb.go b/internal/tfplugin5/tfplugin5.pb.go index 15058f4c73da..50ff7fe51f96 100644 --- a/internal/tfplugin5/tfplugin5.pb.go +++ b/internal/tfplugin5/tfplugin5.pb.go @@ -205,8 +205,8 @@ type Deferred_Reason int32 const ( // UNKNOWN is the default value, and should not be used. Deferred_UNKNOWN Deferred_Reason = 0 - // RESOURCE_CONFIG_UNKNOWN is used when parts of the resource configuration - // are unknown, e.g. the for_each value is only known after the apply is done. + // RESOURCE_CONFIG_UNKNOWN is used when the config is partially unknown and the real + // values need to be known before the change can be planned. Deferred_RESOURCE_CONFIG_UNKNOWN Deferred_Reason = 1 // PROVIDER_CONFIG_UNKNOWN is used when parts of the provider configuration // are unknown, e.g. the provider configuration is only known after the apply is done. diff --git a/internal/tfplugin6/tfplugin6.pb.go b/internal/tfplugin6/tfplugin6.pb.go index f210270911b6..f2ac58b7b60a 100644 --- a/internal/tfplugin6/tfplugin6.pb.go +++ b/internal/tfplugin6/tfplugin6.pb.go @@ -260,8 +260,8 @@ type Deferred_Reason int32 const ( // UNKNOWN is the default value, and should not be used. Deferred_UNKNOWN Deferred_Reason = 0 - // RESOURCE_CONFIG_UNKNOWN is used when parts of the resource configuration - // are unknown, e.g. the for_each value is only known after the apply is done. + // RESOURCE_CONFIG_UNKNOWN is used when the config is partially unknown and the real + // values need to be known before the change can be planned. Deferred_RESOURCE_CONFIG_UNKNOWN Deferred_Reason = 1 // PROVIDER_CONFIG_UNKNOWN is used when parts of the provider configuration // are unknown, e.g. the provider configuration is only known after the apply is done.