create_allocation
Define a new cost allocation rule to group cloud costs by dimensions, labels, or tags. Specify rules with components and formulas for precise cost tracking.
Instructions
Use this when the user wants to create a new cost allocation rule. Ask the user to confirm the allocation parameters before executing. Do NOT use this for viewing existing allocations (use list_allocations) or labels (use create_label).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name of the allocation | |
| description | Yes | Description of the allocation's purpose | |
| rule | No | A single allocation rule that defines one grouping. Provide this for a single-rule allocation. Mutually exclusive with 'rules' | |
| rules | No | Ordered list of allocation rules for a group allocation. Must include at least two rules. Mutually exclusive with 'rule' | |
| unallocatedCosts | No | Custom label for values that do not fit into any allocation rule (required when using 'rules' for group allocations) |