Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseStateOrDftForUnknown ¶
func UseStateOrDftForUnknown(dft string) planmodifier.String
UseStateOrDftForUnknown returns a plan modifier that copies a known prior state value into the planned value, or a default value if not known prior state exists. 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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.