common

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ExtractResourceIDFuncPath contains the path to a custom extractor for Terraform managed resources
	ExtractResourceIDFuncPath   = configPackagePath + "/common.ExtractResourceID()"
	ExtractResourceNameFuncPath = configPackagePath + "/common.ExtractResourceName()"
)

Variables

This section is empty.

Functions

func ExtractResourceID

func ExtractResourceID() reference.ExtractValueFn

ExtractResourceID extracts the value of `spec.atProvider.id` from a Terraformed resource. If mr is not a Terraformed resource, returns an empty string.

func ExtractResourceName added in v0.33.0

func ExtractResourceName() reference.ExtractValueFn

ExtractResourceName extracts the value of `spec.atProvider.name` from a Terraformed resource. If mr is not a Terraformed resource, returns an empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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