After comparing the source and target environments of your deployment and selecting the differences you would like to deploy, you reach the 'Deployment Preview' step. In this step Salto prepares your deployment plan - which API calls to make, in what order, and which selected changes can or can’t be deployed because of various constraints. Once the plan is ready, you can review it.
Any changes that can't be deployed are automatically flagged with a red color and a value of "No" under the "Will Deploy" column. The problems which prevent the change from being deployed will appear under the "Issues" column:
To get an overview of all the issues which prevents elements from being deployed, or other issues that may affect your deployment, go to the "Deployment Issues" tab. There, you'll find a grouped list of errors, with the list of affected elements under each one:
Some issues can be quickly resolved using an automated resolver. For example, Missing Dependencies can be brought into the deployment by clicking the "Add missing dependencies" button, as shown in the example, above.
To resolve other issues, first review the issue details by clicking the affected element.
Then, you can usually do one of the following
Remove the element from the deployment
For compare & deploy, go back to the element selection screen, unselect the problematic configuration, then click "Preview Deployment" to preview the updated deployment
Editing the element
Select the affected element, then click on the pencil icon to edit it and fix the identified issue. The edit will apply to the target environment as part of the deployment. Read more about editing here: https://help.salto.io/en/articles/8553792-editing-files-during-deployments
Fix the element in the service itself
After fixing it, fetch the source environment, then re-create the preview by going back to selection and clicking "preview deployment", or start a new deployment
Change the adapter configuration
In case the fix requires setting some new environment configuration, make the neccessary steps, then re-create the preview by going back to selection and clicking "preview deployment", or start a new deployment
Suppress the warning
Some issues can be suppressed by changing the environment configuration, as detailed here: https://help.salto.io/en/articles/7793653-suppressing-deployment-preview-issues . After changing the environment configuration, re-create the deployment preview as explained above.