mapplanmodifier

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

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

PlanModifyMap performs the plan modification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL