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 targets

You use deployment group's targets property to specify its targets. Each target must have a name that is unique among all targets in the deployment configuration.

Example

Let's continue the example we started earlier and add two targets to all/application/dev deployment group, and one to all/application/prod and all/shared deployment groups.

deployment/targets.yml
deploymentGroups:
  all/shared:
    targets:
      - name: infra
  all/application/dev:
    targets:
      - name: dev-environment
      - name: sandbox
  all/application/prod:
    targets:
      - name: prod-environment

Now, we have four deployment targets: infra, dev-environment, sandbox and prod-environment.

PreviousDeployment groupsNextConfig sets

Last updated 3 years ago

Was this helpful?