WHAT YOU'LL LEARN
  • How to destroy cloud infrastructure for a single app
  • How to fully destroy your whole Webiny project

Overview
anchor

The destroy command removes all cloud infrastructure resources previously deployed by webiny deploy for a given app and environment. It delegates to Pulumi internally.

This operation is irreversible. All AWS resources managed by the specified Pulumi stack will be permanently deleted.

Destroy the Whole Project
anchor

The environment defaults to dev. To target a different environment:

Destroy a Single App
anchor

Pass the app name as the first argument:

With a specific environment:

Options
anchor

OptionDescription
--envEnvironment name (e.g. dev, prod). Defaults to dev.
--variantVariant name.
--regionAWS region to target.