File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,9 @@ func (d *ResourceData) HasChange(key string) bool {
162162// When partial state mode is enabled, then only key prefixes specified
163163// by SetPartial will be in the final state. This allows providers to return
164164// partial states for partially applied resources (when errors occur).
165+ //
166+ // Deprecated: Partial state has very limited benefit given Terraform refreshes
167+ // before operations by default.
165168func (d * ResourceData ) Partial (on bool ) {
166169 d .partial = on
167170 if on {
@@ -211,6 +214,9 @@ func (d *ResourceData) Set(key string, value interface{}) error {
211214//
212215// If partial state mode is disabled, then this has no effect. Additionally,
213216// whenever partial state mode is toggled, the partial data is cleared.
217+ //
218+ // Deprecated: Partial state has very limited benefit given Terraform refreshes
219+ // before operations by default.
214220func (d * ResourceData ) SetPartial (k string ) {
215221 if d .partial {
216222 d .partialMap [k ] = struct {}{}
You can’t perform that action at this time.
0 commit comments