Skip to main content
Version: v1.5

Alibaba Cloud REDIS

Description

Terraform configuration for Alibaba Cloud Redis.

Examples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: redis-cloud-source
spec:
components:
- name: sample-redis
type: alibaba-redis
properties:
instance_name: oam-redis
account_name: oam
password: Xyfff83jfewGGfaked
writeConnectionSecretToRef:
name: redis-conn

Specification

NameDescriptionTypeRequiredDefault
account_nameRedis instance user account name.stringfalse
instance_nameRedis instance name.stringfalse
passwordRDS instance account password.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
REDIS_CONNECT_ADDRESSRedis connect address
REDIS_NAMERedis instance name
REDIS_PASSWORDRedis password
REDIS_USERRedis user
RESOURCE_IDENTIFIERThe identifier of the resource