Package mapplanmodifier provides plan modifiers for types.Map attributes.
This section is empty.
This section is empty.
RequiresReplace returns a plan modifier that conditionally requires resource replacement if:
Use RequiresReplaceIfConfigured if the resource replacement should only occur if there is a configuration value (ignore unconfigured drift detection changes). Use RequiresReplaceIf if the resource replacement should check provider-defined conditional logic.
RequiresReplaceIf returns a plan modifier that conditionally requires resource replacement if:
Use RequiresReplace if the resource replacement should always occur on value changes. Use RequiresReplaceIfConfigured if the resource replacement should occur on value changes, but only if there is a configuration value (ignore unconfigured drift detection changes).
RequiresReplaceIfConfigured returns a plan modifier that conditionally requires resource replacement if:
Use RequiresReplace if the resource replacement should occur regardless of the presence of a configuration value. Use RequiresReplaceIf if the resource replacement should check provider-defined conditional logic.
UseStateForUnknown returns a plan modifier that copies a known prior state value into the planned value. Use this when it is known that an unconfigured value will remain the same after a resource update.
To prevent Terraform errors, the framework automatically sets unconfigured and Computed attributes to an unknown value "(known after apply)" on update. Using this plan modifier will instead display the prior state value in the plan, unless a prior plan modifier adjusts the value.
RequiresReplaceIfFunc is a conditional function used in the RequiresReplaceIf plan modifier to determine whether the attribute requires replacement.
type RequiresReplaceIfFuncResponse struct { Diagnostics diag.Diagnostics RequiresReplace bool }
RequiresReplaceIfFuncResponse is the response type for a RequiresReplaceIfFunc.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4