tpgdclresource

package
v0.0.0-...-7c00c02 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

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 OldValue

func OldValue(old, new interface{}) interface{}

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.

Jump to

Keyboard shortcuts

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