RDS
Commands
apply
Apply a RDS
Create or Update a RDS resource with Duplocloud cli.
CLI Usage
Contents of therds.yaml file
Returns:
| Name | Type | Description |
|---|---|---|
message |
dict
|
Success message. |
Parameters:
--file, -f, --cli-input
--patches, --add, --remove, --copy, --replace, --test, --move
change_password
Change the password of a DB instance.
Parameters:
name
positional
password
positional
--save-secret, --save
create
Create a DB instance.
Parameters:
--file, -f, --cli-input
delete
engine_versions
List supported RDS engine versions and instance types.
final_snapshot
Toggle IAM authentication for a DB instance.
Parameters:
name
positional
--enable, -y
--immediate, -i
find
find_cluster
Find a DB instance by name.
Returns: The DB instance object. Raises: DuploError: If the DB instance could not be found.
Parameters:
name
positional
iam_auth
Toggle IAM authentication for a DB instance.
Parameters:
name
positional
--enable, -y
--immediate, -i
list
logging
Enable or disable logging for a DB instance.
Parameters:
name
positional
--enable, -y
reboot
Reboot a DB instance.
Parameters:
name
positional
restore
Restore a DB instance from a snapshot.
Parameters:
name
positional
--target, --target-name
--time, --time
retention_period
Set the retention period for a DB instance.
Parameters:
name
positional
days
positional
--immediate, -i
set_instance_size
Set the size of a DB instance.
Parameters:
name
positional
size
positional
set_monitor_interval
Set the monitoring interval for a DB instance.
Parameters:
name
positional
interval
positional
1
5
10
15
30
60
--immediate, -i
snapshot
Take a snapshot of a DB instance.
Parameters:
name
positional
start
Start a DB instance.
Parameters:
name
positional
stop
Stop a DB instance.
Parameters:
name
positional
update
Update a V3 resource by name.
Returns:
| Name | Type | Description |
|---|---|---|
message |
Success message. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the resource could not be created. |
Parameters:
name
positional
--file, -f, --cli-input
--patches, --add, --remove, --copy, --replace, --test, --move