Returns information about a stack drift detection operation. A stack drift detection operation detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.
Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift returns a StackDriftDetectionId you can use to monitor the progress of the operation using DescribeStackDriftDetectionStatus. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources.
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.
VARCHAR
_aws_profileInput Column
The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.
Information about this profile's membership in the AWS organization.
Show child fields
_aws_profile.organization.account_name
The name of account speciifed by the organization
_aws_profile.organization.id
The organization id
_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email
The organization master account email address
_aws_profile.organization.master_account.id
The organization master account id
_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id
The id of the parent
_aws_profile.organization.parents[].name
The name of the parent
_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type
The type of parent can be an organization unit or a root
_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type
The type of profile, either 'credentials' or 'assumed_role'
_aws_profile.via_profile_name
This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.
_aws_regionInput Column
The AWS region to use.
VARCHAR
detection_status
The status of the stack drift detection operation.
DETECTION_COMPLETE: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.)
If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
DETECTION_FAILED: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection.
DETECTION_IN_PROGRESS: The stack drift detection operation is currently in progress.
VARCHAR
detection_status_reason
The reason the stack drift detection operation has its current status.
VARCHAR
drifted_stack_resource_count
Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE. This value will be 0 for stacks whose drift status is IN_SYNC.
BIGINT
stack_drift_status
Status of the stack's actual configuration compared to its expected configuration.
DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted.
NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration.
IN_SYNC: The stack's actual configuration matches its expected template configuration.
UNKNOWN: This value is reserved for future use.
VARCHAR
stack_id
The ID of the stack.
VARCHAR
timestamp
Time at which the stack drift detection operation was initiated.