Preview Deployments
What you’ll learn
- how to preview cloud infrastructure deployment for your project application
Introduction
During the project development, there is a chance that the deployed cloud infrastructure needs to change. New resources might be added, existing resources configured differently, and some may even need to be destroyed.
When doing more significant changes, it might be helpful to preview the deployment process that you're about to execute. More specifically, you would certainly like to know if the deployment you're about to execute destroys a mission-critical resource, e.g. a database or a file storage resource.
The Preview Flag
In order to avoid performing unintended cloud infrastructure changes, you can use the preview flag upon executing the app deploy command. Consider the following examples:
Executing these commands won't perform any changes to your cloud infrastructure resources. They would just list all of the changes that would be applied, for example:
