DetectStackDriftDetails

class oci.resource_manager.models.DetectStackDriftDetails(**kwargs)

Bases: object

Details for detecting drift in a stack.

Methods

__init__(**kwargs) Initializes a new DetectStackDriftDetails object with values from keyword arguments.

Attributes

is_provider_upgrade_required Gets the is_provider_upgrade_required of this DetectStackDriftDetails.
resource_addresses Gets the resource_addresses of this DetectStackDriftDetails.
__init__(**kwargs)

Initializes a new DetectStackDriftDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • resource_addresses (list[str]) – The value to assign to the resource_addresses property of this DetectStackDriftDetails.
  • is_provider_upgrade_required (bool) – The value to assign to the is_provider_upgrade_required property of this DetectStackDriftDetails.
is_provider_upgrade_required

Gets the is_provider_upgrade_required of this DetectStackDriftDetails. Specifies whether or not to upgrade provider versions. Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see `Dependency Lock File (terraform.io)`__.

Returns:The is_provider_upgrade_required of this DetectStackDriftDetails.
Return type:bool
resource_addresses

Gets the resource_addresses of this DetectStackDriftDetails. The list of resources in the specified stack to detect drift for. Each resource is identified by a resource address, which is a string derived from the resource type and name specified in the stack’s Terraform configuration plus an optional index. For example, the resource address for the fourth Compute instance with the name “test_instance” is oci_core_instance.test_instance`3]. For more details and examples of resource addresses, see the Terraform documentation at [Resource spec`__.

Returns:The resource_addresses of this DetectStackDriftDetails.
Return type:list[str]