Documentation ¶
Index ¶
- Variables
- func ExpandEnumBool(v interface{}) *bool
- func ExpandIntegerArray(v interface{}) []int64
- func ExpandStringArray(v interface{}) []string
- func FlattenEnumBool(v interface{}) string
- func HandleNotFoundDCLError(err error, d *schema.ResourceData, resourceName string) error
- func OldValue(old, new interface{}) interface{}
- func ResourceContainerAwsNodePoolCustomizeDiffFunc(_ context.Context, diff *schema.ResourceDiff, meta interface{}) error
- func ResourceOrgPolicyPolicyCustomImport(d *schema.ResourceData, meta interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CreateDirective restricts Apply to creating resources for Create CreateDirective = []dcl.ApplyOption{ dcl.WithLifecycleParam(dcl.BlockAcquire), dcl.WithLifecycleParam(dcl.BlockDestruction), dcl.WithLifecycleParam(dcl.BlockModification), } // UpdateDirective restricts Apply to modifying resources for Update UpdateDirective = []dcl.ApplyOption{ dcl.WithLifecycleParam(dcl.BlockCreation), dcl.WithLifecycleParam(dcl.BlockDestruction), } )
Functions ¶
func ExpandEnumBool ¶
func ExpandEnumBool(v interface{}) *bool
Returns the DCL representation of a three-state boolean value represented by a string in terraform.
func ExpandIntegerArray ¶
func ExpandIntegerArray(v interface{}) []int64
func ExpandStringArray ¶
func ExpandStringArray(v interface{}) []string
func FlattenEnumBool ¶
func FlattenEnumBool(v interface{}) string
Returns the terraform representation of a three-state boolean value represented by a pointer to bool in DCL.
func HandleNotFoundDCLError ¶
func HandleNotFoundDCLError(err error, d *schema.ResourceData, resourceName string) error
func ResourceContainerAwsNodePoolCustomizeDiffFunc ¶
func ResourceContainerAwsNodePoolCustomizeDiffFunc(_ context.Context, diff *schema.ResourceDiff, meta interface{}) error
func ResourceOrgPolicyPolicyCustomImport ¶
func ResourceOrgPolicyPolicyCustomImport(d *schema.ResourceData, meta interface{}) error
OrgPolicyPolicy has a custom import method because the parent field needs to allow an additional forward slash to represent the type of parent (e.g. projects/{project_id}).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.