Skip to main content
Version: Next

Alibaba Cloud Redis

Description#

Terraform configuration for Alibaba Cloud Redis object

Sample#

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#

Properties#

NameDescriptionTypeRequiredDefault
passwordRedis instance account passwordstringtrue
instance_nameRedis instance namestringtrue
account_nameRedis instance user account namestringtrue
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef#

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse

Outputs#

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

NameDescription
REDIS_NAMEredis instance name
REDIS_USERredis instance username
REDIS_PASSWORDredis instance password
REDIS_REDIS_CONNECT_ADDRESSredis connect address
Last updated on by qiaozp