terraform destroy

0.0% Savings
0 Commands
0 Tokens saved
2 Tests

Install

tokf install b8c6a439fa5846b5b1ed31339a8e6f3de25042bb4c98e174ee77367c4ae6fa78
Safety checks passed

Filter definition

command = "terraform destroy"

strip_ansi = true
collapse_empty_lines = true
show_history_hint = true

skip = [
    ": Still destroying\\.\\.\\.",
    ": Reading\\.\\.\\.$",
    ": Read complete",
    ": Refreshing state\\.\\.\\.",
    ": Refresh complete",
]

[on_failure]
tail = 40

Examples

failure shows error output ~82 tokens → ~53 tokens (35% saved)
Raw output
aws_lambda_function.api: Refreshing state... [id=gw-api]
aws_lambda_function.api: Still destroying... [10s elapsed]

Error: deleting Lambda Function (gw-api): ResourceConflictException: Function is currently being invoked

  on main.tf line 42, in resource "aws_lambda_function" "api":
  42: resource "aws_lambda_function" "api" {
Filtered output
Error: deleting Lambda Function (gw-api): ResourceConflictException: Function is currently being invoked

  on main.tf line 42, in resource "aws_lambda_function" "api":
  42: resource "aws_lambda_function" "api" {
success filters progress lines ~120 tokens → ~40 tokens (67% saved)
Raw output
aws_lambda_function.api: Refreshing state... [id=gw-api]
aws_lambda_function.api: Refresh complete [id=gw-api]
aws_iam_role.lambda: Reading...
aws_iam_role.lambda: Read complete after 1s [id=gw-api-role]
aws_lambda_function.api: Destroying... [id=gw-api]
aws_lambda_function.api: Still destroying... [10s elapsed]
aws_lambda_function.api: Still destroying... [20s elapsed]
aws_lambda_function.api: Destruction complete after 25s [id=gw-api]

Destroy complete! Resources: 3 destroyed.
Filtered output
aws_lambda_function.api: Destroying... [id=gw-api]
aws_lambda_function.api: Destruction complete after 25s [id=gw-api]

Destroy complete! Resources: 3 destroyed.
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters