sensitive

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SecretValue = "${state.secret_value}"
View Source
const SecretValueExact = "${state.secret_value.exact}"

Variables

View Source
var IGNORE_CHANGES_REQUIRES_ATTENTION = os.Getenv("DYNATRACE_IGNORE_CHANGES_REQUIRES_ATTENTION") == "true"

Avoid overwriting password that the user has changed manually with known bad data

Functions

func ConditionalIgnoreChangesMap

func ConditionalIgnoreChangesMap(schema map[string]*schema.Schema, itemsToEncode map[string]any) map[string]any

func ConditionalIgnoreChangesMapPlus

func ConditionalIgnoreChangesMapPlus(schema map[string]*schema.Schema, itemsToEncode map[string]any, additionalIgnoreFields []string) map[string]any

func ConditionalIgnoreChangesSingle

func ConditionalIgnoreChangesSingle(schema map[string]*schema.Schema, properties *hcl.Properties) error

func ConditionalIgnoreChangesSinglePlus

func ConditionalIgnoreChangesSinglePlus(schema map[string]*schema.Schema, properties *hcl.Properties, additionalIgnoreFields []string) error

func SecretifyExact added in v1.68.0

func SecretifyExact(values []string) []string

Replaces all values within the given string slice with `${state.secret_value.exact}`, signalling that before handing over attributes to Terraform, the state should get searched for the exact same key and that state value get taken for it

Types

This section is empty.

Jump to

Keyboard shortcuts

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