Documentation
¶
Index ¶
Constants ¶
const ( // ExplicitSuppress strategy suppresses "(known after changes)" messages unless we're in the initial creation ExplicitSuppress = iota )
Variables ¶
This section is empty.
Functions ¶
func SuppressDiff ¶
func SuppressDiff(strategy int) planmodifier.Map
SuppressDiff returns a plan modifier that propagates a state value into the planned value, when it is Known, and the Plan Value is Unknown
func UseConfigValue ¶
func UseConfigValue() planmodifier.Map
UseConfigValue returns a plan modifier that ensures the configuration value is always used for plan-only attributes, preventing Terraform core from copying prior state into the plan when configuration is null.
func UseHoistedValue ¶
func UseHoistedValue(sources []utils.HoistedSource) planmodifier.Map
UseHoistedValue returns a plan modifier that copies the value from the active oneOf variant to the hoisted field at the parent level.
func WarnOnRemovedParameters ¶ added in v1.5.0
func WarnOnRemovedParameters() planmodifier.Map
Types ¶
type MapWarnOnRemovedParametersPlanModifier ¶ added in v1.5.0
type MapWarnOnRemovedParametersPlanModifier struct{}
func (MapWarnOnRemovedParametersPlanModifier) Description ¶ added in v1.5.0
func (v MapWarnOnRemovedParametersPlanModifier) Description(_ context.Context) string
Description describes the plan modification in plain text formatting.
func (MapWarnOnRemovedParametersPlanModifier) MarkdownDescription ¶ added in v1.5.0
func (v MapWarnOnRemovedParametersPlanModifier) MarkdownDescription(ctx context.Context) string
MarkdownDescription describes the plan modification in Markdown formatting.
func (MapWarnOnRemovedParametersPlanModifier) PlanModifyMap ¶ added in v1.5.0
func (v MapWarnOnRemovedParametersPlanModifier) PlanModifyMap(ctx context.Context, req planmodifier.MapRequest, resp *planmodifier.MapResponse)
PlanModifyMap performs the plan modification.