dsf

package
v2.44.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(_, oldValue, newValue string, _ *schema.ResourceData) bool

func ExtractBaseKey

func ExtractBaseKey(k string) string

func GetStringListsFromState

func GetStringListsFromState(key string, d *schema.ResourceData) ([]string, []string)

func IgnoreCase

func IgnoreCase(_, oldValue, newValue string, _ *schema.ResourceData) bool

func IgnoreCaseAndHyphen

func IgnoreCaseAndHyphen(_, oldValue, newValue string, _ *schema.ResourceData) bool

func Locality

func Locality(_, oldValue, newValue string, _ *schema.ResourceData) bool

Locality is a SuppressDiffFunc to remove the locality from an ID when checking diff. e.g. 2c1a1716-5570-4668-a50a-860c90beabf6 == fr-par-1/2c1a1716-5570-4668-a50a-860c90beabf6

func OrderDiff

func OrderDiff(k, _, _ string, d *schema.ResourceData) bool

OrderDiff suppresses diffs for TypeList attributes when the only change is the order of elements. https://github.com/hashicorp/terraform-plugin-sdk/issues/477#issuecomment-1238807249

func TimeRFC3339

func TimeRFC3339(_, oldValue, newValue string, _ *schema.ResourceData) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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