postprocessing

package
v4.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanResourceName

func CleanResourceName(name string) string

func ExtractDashboards

func ExtractDashboards(fpath string, plannedState *tfjson.Plan) error

func RedactCredentials

func RedactCredentials(dir string) error

func ReplaceNullSensitiveAttributes

func ReplaceNullSensitiveAttributes(fpath string) error

func ReplaceReferences

func ReplaceReferences(fpath string, plannedState *tfjson.Plan, extraKnownReferences []string) error

func StripDefaults

func StripDefaults(fpath string, extraFieldsToRemove map[string]any) error

func UsePreferredResourceNames

func UsePreferredResourceNames(fpaths ...string) error

UsePreferredResourceNames replaces the resource name with the value of the preferred resource name field. The input files (resources.tf + imports.tf) are modified in place.

func WrapJSONFieldsInFunction

func WrapJSONFieldsInFunction(fpath string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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