> ## Documentation Index
> Fetch the complete documentation index at: https://docs.operata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tag the Cloud Collector AWS resources

> Apply AWS tags to the EventBridge Pipe, Lambda, and IAM resources the Operata CloudFormation stack creates.

Apply AWS tags to the Operata CloudFormation stack so every resource it manages
carries the keys you need for cost allocation, access control, or compliance
reporting.

## Before you start

* The Operata [CTR collection stack](/docs/ctr-installation) deployed
  in your AWS account.
* IAM permission to update CloudFormation stacks
  (`cloudformation:UpdateStack`) and tag the underlying resources.
* A tag policy or naming convention you want to apply (for example,
  `Environment`, `CostCentre`, `OperataGroupId`).

Tags added at the stack level propagate to every resource the stack
manages — the Amazon EventBridge Pipe, the redactor Lambda, the API
destination, the Secrets Manager secret, and the IAM roles.

## Steps

### 1. Open the CloudFormation stack

In the AWS console, open **CloudFormation** and select the Operata
stack (typically named `OperataAWSIntegration-CTR-{instance}`). Click
**Update**.

### 2. Reuse the current template

Choose **Use existing template** and click **Next**. You're updating
metadata, not changing the template itself.

### 3. Skip the parameters screen

Leave the parameters unchanged. Click **Next**.

### 4. Add or edit tags

On the **Configure stack options** page, scroll to **Tags**. Add the
key/value pairs you want applied to every resource in the stack. For
example:

| Key              | Example value            |
| ---------------- | ------------------------ |
| `Environment`    | `prod`                   |
| `CostCentre`     | `cx-platform`            |
| `OperataGroupId` | `<your Group ID>`        |
| `ManagedBy`      | `Operata-CloudCollector` |

Click **Next**, review, acknowledge the IAM acknowledgement if shown,
and click **Submit**.

## Verify

Open one of the resources the stack created — for example, the
EventBridge Pipe `operataEventsPipe-{instance}-amazonConnect` — and
check the **Tags** tab. Every key/value pair you set on the stack is
present.

## Related

* [Install CTR collection](/docs/ctr-installation) — the deploy that created the resources you just tagged.
* [IAM policies reference](/docs/iam-policies) — the roles each tag now applies to.
* [Troubleshoot the AWS integration](/docs/aws-troubleshooting) — if the stack update fails.
