Skip to main content
Version: v1.3

Alibaba Cloud OSS

Description

Terraform configuration for Alibaba Cloud OSS

Samples

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: oss-cloud-source
spec:
components:
- name: sample-oss
type: alibaba-oss
properties:
bucket: vela-website
acl: private
writeConnectionSecretToRef:
name: oss-conn

Specification

Properties

NameDescriptionTypeRequiredDefault
aclOSS bucket ACL, supported 'private', 'public-read', 'public-read-write'stringfalse
bucketOSS bucket namestringfalse
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
BUCKET_ENDPOINTThe endpoint of the bucket
BUCKET_NAMEThe name of the bucket