Documentation ¶
Overview ¶
Package utils provides utils for Terraform Provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateUUID ¶
GenerateUUID generates a unique UUID. The value can be a string or a slice of strings. This is used to generate a unique ID for a resource.
func SortMapStringByKeys ¶ added in v0.3.0
SortMapStringByKeys sorts a map[string]string by keys.
func StringValueOrNull ¶
func StringValueOrNull(value string) basetypes.StringValue
StringValueOrNull return a null StringValue if value is "" or return StringValue(value) if not.
func TakeBoolPointer ¶
TakeBoolPointer accepts a boolean and returns a pointer to this value.
func TakeInt64Pointer ¶
TakeInt64Pointer accepts an int64 and returns a pointer to this value.
func TakeIntPointer ¶
TakeIntPointer accepts an int and returns a pointer to this value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.