Dropping Snowflake Native App objects¶
Prerequisites¶
You must have an existing connection in your
config.tomlfile.You must have a
snowflake.ymlfile in your Snowflake Native App project.
How to drop Snowflake Native App application packages and application objects¶
The snow app teardown drops both the application object and the application package defined in the resolved project definition.
This command succeeds even if one or both of these objects do not exist.
Create a connection, if necessary.
Execute the
snow app teardowncommand from within your project, similar to the following:snow app teardown --connection="dev"
When successful, the command returns the following message:
Teardown is now complete.
Note
When dropping applications that own objects outside of the application object, such as compute pools, Snowflake CLI shows a list of these dependent objects and asks whether you would like to drop them in addition to the application object and package.
You can choose this option non-interactively by passing in the
--cascadeoption.
If Snowflake CLI is unable to drop the application, it does note drop the application package either. For more information about dropping Snowflake Native App objects, see the snow app teardown command.