Skip to main content
TerraformResource represents a resource in Terraform.

TerraformMetaArguments

All resources support the following meta-arguments:

TerraformResourceLifecycle

Methods

importFrom()

Configures the resource to be imported from an existing ID.

moveTo()

Moves the resource to a new address in the state.

moveToId()

Moves the resource to a specific ID.

moveFromId()

Moves the resource from a specific ID.

interpolationForAttribute()

Returns an interpolation token for a specific attribute.

getStringAttribute()

Returns a string attribute value.

getNumberAttribute()

Returns a number attribute value.

getBooleanAttribute()

Returns a boolean attribute value.

getListAttribute()

Returns a list attribute value.

getMapAttribute()

Returns a map attribute value.