Argument Map
HOME_DIR
module-attribute
Home Directory
Defaults to users home directory at $HOME/.duplo
This is where the cli will look by default for the config and cache as well.
--homedir, --home-dir
| Type | str |
|---|---|
| Env | $DUPLO_HOME |
CACHE_DIR
module-attribute
Cache Directory
Defaults to $HOME/.duplo/cache. This is where the cli will store the cached credentials. Sometimes you may need to delete this directory to clear out old credentials. Simply type duploctl and this will print where the cache is currently stored.
--cachedir, --cache-dir
| Type | str |
|---|---|
| Env | $DUPLO_CACHE |
LOGLEVEL
module-attribute
--log-level, --loglevel, -L
| Type | str |
|---|---|
| Default | INFO |
| Env | $DUPLO_LOG_LEVEL |
CRITICAL
FATAL
ERROR
WARN
WARNING
INFO
DEBUG
NOTSET
CONFIG
module-attribute
--configfile, --config-file
| Type | str |
|---|---|
| Env | $DUPLO_CONFIG |
CONTEXT
module-attribute
--context, --ctx
| Type | str |
|---|---|
| Env | $DUPLO_CONTEXT |
HOST
module-attribute
--host, -H
| Type | str |
|---|---|
| Env | $DUPLO_HOST |
TOKEN
module-attribute
--token, -t
| Type | str |
|---|---|
| Env | $DUPLO_TOKEN |
TENANT
module-attribute
Tenant Name
Scopes the command into the specified tenant. In the background the TENANT_ID is discovered using this name. So if TENANT_ID is set, this is ignored. Often times this is set as an environment variable so you don't have to choose the tenant each and every command. This can also be set in the config file within a context.
--tenant, -T
| Type | str |
|---|---|
| Env | $DUPLO_TENANT |
TENANT_ID
module-attribute
Tenant ID
Scopes the command into the specified tenant. This is the internal id of the tenant. If this is set, TENANT name argument is ignored.
--tenantid, --tenant-id, --tid
| Type | str |
|---|---|
| Env | $DUPLO_TENANT_ID |
PLAN
module-attribute
Plan Name
Scopes the command to a specific infrastructure plan.
--plan, -P
| Type | str |
|---|---|
| Env | $DUPLO_PLAN |
BODY
module-attribute
File Body
This is the file path to a file with the specified resource's body within. Each Resource will have its own schema for the body. This is a YAML/JSON file that will be parsed and used as the body of the request. View the docs for each individual resource to see the schema for the body.
DATAMAP
module-attribute
--fromfile, --from-file, --from-literal
| Type | str |
|---|---|
| Action | DataMapAction |
DRYRUN
module-attribute
--dryrun, --dry-run
| Type | bool |
|---|---|
| Action |
store_true
|
ARN
module-attribute
--aws-arn, --arn
| Type | str |
|---|
INTERACTIVE
module-attribute
--interactive, -I
| Type | bool |
|---|---|
| Action |
store_true
|
ISADMIN
module-attribute
--admin, --isadmin
| Type | bool |
|---|---|
| Action |
store_true
|
NOCACHE
module-attribute
--no-cache, --nocache
| Type | bool |
|---|---|
| Action |
store_true
|
BROWSER
module-attribute
Web Browser
This is the browser of choice to use for interactive login. This is simply using the python webbrowser module to open the browser. If you don't have a browser installed, you can use w3m or lynx for a text based browser.
--web-browser, --browser
| Type | str |
|---|---|
| Env | $DUPLO_BROWSER |
chrome
chromium
firefox
safari
epiphany
edge
opera
konqueror
kfm
w3m
lynx
OUTPUT
module-attribute
--output, -o
| Type | str |
|---|---|
| Default | json |
| Env | $DUPLO_OUTPUT |
env
string
json
yaml
csv
QUERY
module-attribute
--query, -q
| Type | str |
|---|
PATCHES
module-attribute
--patches, --add, --remove, --copy, --replace, --test, --move
| Type | str |
|---|---|
| Action | JsonPatchAction |
EXCLUDE
module-attribute
--exclude, --exclude
| Type | str |
|---|---|
| Action |
append
|
SERVICE
module-attribute
service
positional
| Type | str |
|---|
argo_wf
batch_queue
ecs
jit
ssm_param
batch_scheduling_policy
secret
storageclass
ingress
batch_definition
aws_secret
cronjob
hosts
tenant
batch_compute
cache
configmap
infrastructure
s3
service
rds
argo_wf_template
pod
pvc
version
batch_job
user
job
plan
cloudfront
ai
lambda
system
asg
COMMAND
module-attribute
command
positional
| Type | str |
|---|
NAME
module-attribute
name
positional
| Type | str |
|---|---|
| Nargs | ? |
DISTRIBUTION_ID
module-attribute
distribution_id
positional
| Type | str |
|---|---|
| Nargs | ? |
IMAGE
module-attribute
image
positional
| Type | str |
|---|---|
| Nargs | ? |
S3BUCKET
module-attribute
bucket
positional
| Type | str |
|---|
S3KEY
module-attribute
key
positional
| Type | str |
|---|
HEALTH_CHECK_URL
module-attribute
--health-check-url, --health-check-url
| Type | str |
|---|
TO_REVISION
module-attribute
--revision, --to-revision
| Type | int |
|---|
CONTAINER_PORT
module-attribute
--container-port, --container-port
| Type | str |
|---|
CONTAINER
module-attribute
--container, --container, -C
| Type | str |
|---|
CONTAINER_IMAGE
module-attribute
--container-image, --container-image
| Type | str |
|---|---|
| Action |
append
|
| Nargs | 2 |
INIT_CONTAINER_IMAGE
module-attribute
--init-container-image, --init-container-image
| Type | str |
|---|---|
| Action |
append
|
| Nargs | 2 |
EXTERNAL_PORT
module-attribute
--external-port, --external-port
| Type | str |
|---|
PROTOCOL
module-attribute
--protocol, --protocol
| Type | str |
|---|
http
https
tcp
udp
tls
LOAD_BALANCER_TYPE
module-attribute
--lb-type, --lb-type
| Type | str |
|---|
applicationlb
k8clusterip
k8nodeport
networklb
targetgrouponly
LOAD_BALANCER_VISIBILITY
module-attribute
--visibility, --visibility
| Type | str |
|---|---|
| Default | public |
public
private
LOAD_BALANCER_MODE
module-attribute
--mode, --mode
| Type | str |
|---|---|
| Default | docker-mode |
docker-mode
native-app
SERVICEIMAGE
module-attribute
--serviceimage, -S
| Type | str |
|---|---|
| Action |
append
|
| Nargs | 2 |
SETVAR
module-attribute
--setvar, -V
| Type | str |
|---|---|
| Action |
append
|
| Nargs | 2 |
STRATEGY
module-attribute
--strategy, -strat
| Type | str |
|---|---|
| Default | merge |
merge
replace
DELETEVAR
module-attribute
--deletevar, -D
| Type | str |
|---|---|
| Action |
append
|
SCHEDULE
module-attribute
--schedule, -s
| Type | str |
|---|
CRONSCHEDULE
module-attribute
cronschedule
positional
| Type | str |
|---|
ENABLE
module-attribute
--enable, -y
| Type | bool |
|---|---|
| Action |
BooleanOptionalAction
|
MIN
module-attribute
--min, -m
| Type | int |
|---|
MAX
module-attribute
--max, -M
| Type | int |
|---|
REPLICAS
module-attribute
--replicas, -r
| Type | int |
|---|
WAIT
module-attribute
--wait, -w
| Type | bool |
|---|---|
| Action |
store_true
|
STREAM
module-attribute
--stream, --stream
| Type | bool |
|---|---|
| Action |
store_true
|
VALIDATE
module-attribute
--validate, --validate
| Type | bool |
|---|---|
| Env | $DUPLO_VALIDATE |
| Action |
store_true
|
WAIT_TIMEOUT
module-attribute
--wait_timeout, --wait-timeout, --timeout
| Type | int |
|---|
ALL
module-attribute
--all, --all
| Type | bool |
|---|---|
| Action |
store_true
|
SIZE
module-attribute
size
positional
| Type | str |
|---|
SAVE_SECRET
module-attribute
--save-secret, --save
| Type | bool |
|---|---|
| Action |
store_true
|
PASSWORD
module-attribute
password
positional
| Type | str |
|---|
INTERVAL
module-attribute
interval
positional
| Type | int |
|---|
1
5
10
15
30
60
IMMEDIATE
module-attribute
--immediate, -i
| Type | bool |
|---|---|
| Action |
store_true
|
TARGET
module-attribute
--target, --target-name
| Type | str |
|---|
TARGETS
module-attribute
--targets, --targets
| Type | str |
|---|---|
| Nargs | + |
TIME
module-attribute
--time, --time
| Type | str |
|---|
TITLE
module-attribute
--title, --title
required
| Type | str |
|---|
AGENTNAME
module-attribute
--agent_name, --agent_name, --agent
required
| Type | str |
|---|
INSTANCEID
module-attribute
--instance_id, --instance_id, --instance
required
| Type | str |
|---|
APIVERSION
module-attribute
--api_version, --api-version
| Type | str |
|---|---|
| Default | v1 |
TICKETID
module-attribute
--ticket_id, --ticket_id, --ticket
required
| Type | str |
|---|
MESSAGE
module-attribute
--message, --content, --msg, --message
| Type | str |
|---|
HELPDESK_ORIGIN
module-attribute
--helpdesk_origin, --helpdesk-origin, --origin
| Type | str |
|---|
DAYS
module-attribute
days
positional
| Type | int |
|---|
CONTENT_DIR
module-attribute
--content, --content-dir
| Type | str |
|---|---|
| Default | dist |
| Env | $DUPLO_CONTENT |
SSM_PARAM_TYPE
module-attribute
--parametertype, -ptype
| Type | str |
|---|---|
| Default | String |
String
StringList
SecureString
CONTENT
module-attribute
--parametervalue, -pval, -val, --value
| Type | str |
|---|
SHOW_SENSITIVE
module-attribute
--showsensitive, -show
| Type | bool |
|---|---|
| Action |
store_true
|
BATCH_QUEUE
module-attribute
--queue, -BQ, -bq, --batch-queue
| Type | str |
|---|---|
| Env | $DUPLO_BATCH_QUEUE |
ALLOCATION_TAGS
module-attribute
allocationtags
positional
| Type | str |
|---|