Param
Commands
apply
Apply a Param
Create or Update a Param resource with Duplocloud cli.
Returns:
| Name | Type | Description |
|---|---|---|
message |
dict
|
Success message. |
Parameters:
--file, -f, --cli-input
A file to read the input from
--patches, --add, --remove, --copy, --replace, --test, --move
The json patch to apply
create
Create an SSM Parameter Usage: cli usage
Returns:
| Name | Type | Description |
|---|---|---|
resource |
dict
|
The SSM Parameter object. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the SSM Parameter already exists. |
Parameters:
name
positional
The resource name
--file, -f, --cli-input
A file to read the input from
--parametertype, -ptype
The type of parameter to create
String
StringList
SecureString
--parametervalue, -pval, -val, --value
Arbitrary text to add as the content of some secret or configuration paramater.
--dryrun, --dry-run
Do not submit any changes to the server, just print the data to the console.
delete
find
Find SSM Parameter resources by name and return it's content
Returns:
| Name | Type | Description |
|---|---|---|
resource |
dict
|
The SSM Parameter object. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the SSM Parameter could not be found. |
Parameters:
name
positional
The resource name
--showsensitive, -show
Return sensitive values to output. WARNING - ENABLING THIS SETTING MAY DISPLAY SENSITIVE DATA TO STDOUT/LOG FILES
list
update
Update an SSM Parameter. Usage: cli usage
Returns:
| Name | Type | Description |
|---|---|---|
resource |
dict
|
The SSM Parameter object. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the SSM Parameter could not be found or doesn't exist. |
Parameters:
name
positional
The resource name
--strategy, -strat
The merge strategy to use. Valid options are "merge" or "replace". Default is merge.
merge
replace
--parametervalue, -pval, -val, --value
Arbitrary text to add as the content of some secret or configuration paramater.
--dryrun, --dry-run
Do not submit any changes to the server, just print the data to the console.