Usage
Description
Thedestroy command synthesizes your configuration and runs terraform destroy to remove all infrastructure resources managed by the stack.
Options
Examples
Basic Usage
Specific Stack
Auto-Approve
Skip the interactive confirmation:Target Specific Resources
Destroy only specific resources:Safety
By default,destroy requires interactive confirmation. Use --autoApprove only in automated environments where you’re certain about the destruction.
To protect critical resources from accidental deletion, use lifecycle rules: