Skip to main content
Version: v1.5

Alibaba Cloud RDS-PREVIEW

Description

Alibaba RDS in a preview mode.

Specification

NameDescriptionTypeRequiredDefault
account_nameRDS instance user account name.stringfalse
allocate_public_connectionWhether to allocate public connection for a RDS instance.boolfalse
database_nameDatabase name.stringfalse
instance_nameRDS instance name.stringfalse
passwordRDS instance account password.stringtrue
privilegeThe privilege of one account access database.stringfalse
security_ipsList of IP addresses allowed to access all databases of an instance.list(any)false
sql_bucket_endpointThe endpoint of the bucket. like oss-cn-hangzhou.aliyuncs.com.stringfalse
sql_bucket_nameThe bucket name of the SQL file. like oss://example.stringfalse
sql_fileThe name of SQL file in the bucket, like db.sql.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse

Outputs

If writeConnectionSecretToRef is set, a secret will be generated with these keys as below:

NameDescription
DATABASE_NAMERDS Database Name
DB_HOSTRDS Instance Host
DB_IDRDS Instance ID
DB_NAMERDS Instance Name
DB_PASSWORDRDS Instance Password
DB_PORTRDS Instance Port
DB_PUBLIC_HOSTRDS Instance Public Host
DB_USERRDS Instance User
RESOURCE_IDENTIFIERThe identifier of the resource