Deploy using Powershell

Use the Deploy-JDResource powershell function to validate a potential deployment. The Type parameter can be used to validate resources of just a specific type. This is useful if you have many resources in your file and you do not want to validate all of them.

Example to validate a single deployment file containing all configuration and resource objects.

Deploy-JDResource -Type all -DeploymentFile "deployment.yml"

Example to validate multiple deployment files collectively containing all configuration and resource objects. Use separate common files for Setting, Connection and even Variable is a great way to start to modularise your deployments.

Deploy-JDResource -Type all -DeploymentFile "setting.yml","connection.yml","resources.yml"

Example to validate multiple deployment files in a single directory collectively containing all configuration and resource objects.

Deploy-JDResource -Type all -DeploymentDir "c:\mydeploymentfiles"

Using verbose will instruct JustDeploy to display additional information to help with debugging should anything fail.

Parameters

Parameter Type Values Notes
Type List See Resource Type List Resource type shortcodes you wish to deploy
ConfigFile String Name of the YAML or JSON file containing the configuration
OutputLogFile String log filename for verbose output logging