postprocessing

package
v3.15.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanResourceName added in v3.8.0

func CleanResourceName(name string) string

func ExtractDashboards added in v3.8.0

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

func RedactCredentials

func RedactCredentials(dir string) error

func ReplaceNullSensitiveAttributes added in v3.6.0

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

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