Help us shape the future of Go! Take the 2026 Go Developer Survey

stringplanmodifier

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 4 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.String

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 added in v3.4.0

func UseConfigValue() planmodifier.String

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 added in v3.4.2

func UseHoistedValue(sources []utils.HoistedSource) planmodifier.String

UseHoistedValue returns a plan modifier that copies the value from the active oneOf variant to the hoisted field at the parent level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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