Documentation ¶
Index ¶
- func BoolValueToPointer(s basetypes.BoolValue) *bool
- func Int64ValueToPointer(s basetypes.Int64Value) *int64
- func StringValueToPointer(s basetypes.StringValue) *string
- func ToOptStringMap(tfMap map[string]attr.Value) (*map[string]string, error)
- func ToString(ctx context.Context, v attr.Value) (string, error)
- func ToTerraformStringMap(ctx context.Context, m map[string]string) (basetypes.MapValue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolValueToPointer ¶ added in v0.6.3
BoolValueToPointer converts basetypes.BoolValue to a pointer to bool. It returns nil if the value is null or unknown.
func Int64ValueToPointer ¶ added in v0.6.3
func Int64ValueToPointer(s basetypes.Int64Value) *int64
Int64ValueToPointer converts basetypes.Int64Value to a pointer to int64. It returns nil if the value is null or unknown.
func StringValueToPointer ¶ added in v0.6.3
func StringValueToPointer(s basetypes.StringValue) *string
StringValueToPointer converts basetypes.StringValue to a pointer to string. It returns nil if the value is null or unknown.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.