# pw billing allocations create

> Source: https://parallelworks.com/docs/cli/pw/billing/allocations/create

## pw billing allocations create

Create an allocation under a unit

```
pw billing allocations create <name> [flags]
```

### Examples

```
  # A $10k budget denominated in the core-hours unit
  pw billing allocations create --total 10000 --unit core-hours research-team
  
  # A child allocation under a parent
  pw billing allocations create --total 2000 --unit core-hours --parent research-team gpu-subteam
  
  # A USD budget restricted to AWS resources
  pw billing allocations create --total 5000 --unit USD --allowed aws noaa-aws
```

### Options

```
      --allowed strings   Resource types a managed (USD) allocation may fund (aws,azure,google,oracle,openstack,kubernetes,ai); empty allows all
  -h, --help              help for create
      --org string        Target organization (defaults to current context)
  -o, --output string     Output format (table, json) (default "table")
      --parent string     Optional parent allocation name
      --total float       Total budget for the allocation
      --unit string       Unit this allocation is denominated in
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw billing allocations](/docs/cli/pw/billing/allocations)	 - Manage allocations and their usage
