Skip to main content
Version: v1.5

Alibaba Cloud OSS

Description

Terraform configuration for Alibaba Cloud OSS.

Examples

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

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