Targets
  • Introduction
  • Configuration
    • Directory structure
    • Deployment groups
    • Deployment targets
    • Config sets
    • Variables
    • Schemas
    • Target account
    • Labels
    • Externalize targets configuration
    • Deploying targets
    • Bootstrapping targets
  • Command-line usage
    • Deploy targets
    • Undeploy targets
    • Bootstrap targets
    • Tear down targets
    • Run targets
Powered by GitBook
On this page

Was this helpful?

  1. Configuration

Deployment groups

You specify deployment groups with the deploymentGroups property. It is an object whose keys are paths to deployment groups, and values contain configuration for the corresponding deployment group.

Example

Here's an example of deployment configuration with five deployment groups:

deployment/targets.yml
deploymentGroups:
  all/shared: {}
  all/application/dev: {}
  all/application/prod: {}

The deployment groups in this example form the following hierarchy:

all
├─ shared
└─ application
   ├─ dev
   └─ prod

There is one root-level deployment group named all, and under it, there are deployment groups all/shared and all/application. The all/application deployment group has two children: all/application/dev and all/application/prod.

PreviousDirectory structureNextDeployment targets

Last updated 3 years ago

Was this helpful?