Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Stack

The properties that define a stack. A stack is the collection of Oracle Cloud Infrastructure resources corresponding to a given Terraform configuration. For instructions on managing stacks, see Managing Stacks. For more information about stacks, see Key Concepts.

Properties

Optional compartmentId

compartmentId: undefined | string

Unique identifier (OCID) for the compartment where the stack is located.

Optional configSource

Optional customTerraformProvider

customTerraformProvider: model.CustomTerraformProvider

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {@code {"Operations": {"CostCenter": "42"}}}

Optional description

description: undefined | string

Description of the stack.

Optional displayName

displayName: undefined | string

Human-readable name of the stack.

Optional freeformTags

freeformTags: undefined | object

Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {@code {"Department": "Finance"}}

Optional id

id: undefined | string

Unique identifier (OCID) for the stack.

Optional isThirdPartyProviderExperienceEnabled

isThirdPartyProviderExperienceEnabled: undefined | false | true

When {@code true}, the stack sources third-party Terraform providers from Terraform Registry and allows {@link #customTerraformProvider(CustomTerraformProviderRequest) customTerraformProvider}. For more information about stack sourcing of third-party Terraform providers, see Third-party Provider Configuration.

Optional lifecycleState

lifecycleState: LifecycleState

The current lifecycle state of the stack. For more information about stack lifecycle states in Resource Manager, see Key Concepts.

Optional stackDriftStatus

stackDriftStatus: StackDriftStatus

Drift status of the stack. Drift refers to differences between the actual (current) state of the stack and the expected (defined) state of the stack.

Optional terraformVersion

terraformVersion: undefined | string

The version of Terraform specified for the stack. Example: {@code 0.12.x}

Optional timeCreated

timeCreated: Date

The date and time at which the stack was created. Format is defined by RFC3339. Example: {@code 2020-01-25T21:10:29.600Z}

Optional timeDriftLastChecked

timeDriftLastChecked: Date

The date and time when the drift detection was last executed. Format is defined by RFC3339. Example: {@code 2020-01-25T21:10:29.600Z}

Optional variables

variables: undefined | object

Terraform variables associated with this resource. Maximum number of variables supported is 250. The maximum size of each variable, including both name and value, is 8192 bytes. Example: {@code {"CompartmentId": "compartment-id-value"}}

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Stack): object

getJsonObj

  • getJsonObj(obj: Stack): object