# 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.&#x20;

{% code title="deployment/targets.yml" %}

```yaml
deploymentGroups:
  all/shared:
    targets:
      - name: infra
  all/application/dev:
    targets:
      - name: dev-environment
      - name: sandbox
  all/application/prod:
    targets:
      - name: prod-environment
```

{% endcode %}

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://targets.takomo.io/configuration/deployment-targets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
