Skip to main content
Version: v1.2

Alibaba Cloud REDIS

Description

Terraform configuration for Alibaba Cloud Redis

Samples

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
account_nameRedis instance user account namestringfalse
instance_nameRedis instance namestringfalse
passwordRDS instance account passwordstringfalse
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_CONNECT_ADDRESSRedis connect address
REDIS_NAMERedis instance name
REDIS_PASSWORDRedis password
REDIS_USERRedis user
RESOURCE_IDENTIFIERThe identifier of the resource