astra pcu create
astra pcu create [-qV] [--no-input] [--[no-]spinner] [--dump-logs[=FILE]]
[-c=CLOUD] [--color=WHEN] [-d=DESC] [-it=TYPE] [--max=MAX]
[--min=MIN] [-o=FORMAT] [-pt=TYPE] [-r=REGION]
[--reserved=RESERVED] [[[-cf=PATH] [-p=NAME]] | [--token=TOKEN
[--env=ENV]]] [--if-not-exists | --allow-duplicate-names] GROUP
Create a new PCU group
Options
GROUP-
The name or ID of the PCU group to operate on
--if-not-exists-
Don’t error if the pcu already exists
--allow-duplicate-names-
Allow multiple pcus with the same name
-c,--cloud-
Cloud provider this PCU will work in
-r,--region-
Cloud region this PCU will work in. Use one of the
astra db list-regions-*commands to see available regions. -d,--description-
Optional description for the PCU group
-it,--instance-type-
Cache type for the PCU group
-pt,--provision-type-
Provision type for the PCU group
--min-
Minimum capacity units for the PCU group
--max-
Maximum capacity units for the PCU group
--reserved-
Reserved capacity units for the PCU group
Common Options
-o,--output-
One of: human, json, csv
-V,--verbose-
Enable verbose logging output
-q,--quiet-
Only output essential information
--spinner-
Enable/disable loading spinners
--no-input-
Don’t ask for user input (e.g. confirmation prompts)
--color-
One of: auto, never, always
--dump-logs-
Write all logs to an optionally specified file
Connection Options
-cf,--config-file-
The
.astrarcfile to use for this command -p,--profile-
The
.astrarcprofile to use for this command --token-
The astra token to use for this command. Use the
--token @filesyntax to read the token from a file, to avoid potential leaks. --env-
Override the target astra environment
Examples
# Create a basic pcu group
$ astra pcu create my_pcu -c AWS -r us-west-2
# Create a pcu group if it doesn't already exist
$ astra pcu create my_pcu --region us-east1 --if-not-exists