When specifying rollback_stack
, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the describe_stacks
operation.
See https://www.paws-r-sdk.com/docs/cloudformation_rollback_stack/ for full documentation.
cloudformation_rollback_stack(
StackName,
RoleARN = NULL,
ClientRequestToken = NULL,
RetainExceptOnCreate = NULL
)
[required] The name that's associated with the stack.
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
A unique identifier for this
rollback_stack
request.
This deletion policy deletes newly created resources, but retains
existing resources, when a stack operation is rolled back. This ensures
new, empty, and unused resources are deleted, while critical resources
and their data are retained. RetainExceptOnCreate
can be specified for
any resource that supports the
DeletionPolicy
attribute.