You use deployment group's
targetsproperty to specify its targets. Each target must have a
namethat is unique among all targets in the deployment configuration.
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.
- name: infra
- name: dev-environment
- name: sandbox
- name: prod-environment
Now, we have four deployment targets: infra, dev-environment, sandbox and prod-environment.