VKPR aws rds init
Description
Create a RDS database
Commands
Interactive inputs:
vkpr aws rds init [flags]
Non-interactive without setting values or using VKPR Values
:
vkpr aws rds init --default
Argument Reference
Flags
--default Use to automatically fill inputs with default values
--instance_name Specifies the RDS instance name.
--instance_type Specifies the RDS instance type.
--dbname Specifies the name of the new database.
--dbuser Specifies the username of the database owner.
--dbpassword Specifies the database owners user password.
Values File
Local
The following arguments are supported:
instanceName
- (Required) Specifies the RDS instance name. The default isrds-sample
.instanceType
- (Required) Specifies the RDS instance type. Allowed Values:db.t3.micro
,db.m5.large
,db.m5.xlarge
,db.t4g.micro
,db.m6g.large
,db.m6g.xlarge
. The default isdb.t3.micro
.dbName
- (Required) Specifies the name of the new database. The default isvkprDb
.dbUser
- (Required) Specifies the username of the database owner. The default isvkprUser
.dbPassword
- (Required) Specifies the database owner's user password. The default isvkpr1234
.
Environment values
The following variables are supported:
rds
instanceName
- VKPR_ENV_RDS_INSTANCE_NAMEinstanceType
- VKPR_ENV_RDS_INSTANCE_TYPEdbName
- VKPR_ENV_RDS_DB_NAMEdbUser
- VKPR_ENV_RDS_DB_USERdbPassword
- VKPR_ENV_RDS_DB_PASSWORD
Setting Provider credentials
CAUTION: Setting credentials manually will override the credentials already saved in memory
AWS
rit set credential --provider="aws" --fields="accesskeyid,secretaccesskey,region" --values="your-accesskey,your-secretaccess,your-region"
Postgresql
rit set credential --provider="postgres" --fields="password" --values="your-access-password"
See Also
- VKPR aws rds snapshot - Execute the pipeline to deploy the rds Cluster.
- VKPR aws rds destroy - Execute the pipeline to destroy the rds Cluster.