Skip to main content
Version: v1.1

Alibaba Cloud OSS

Description

Terraform configuration for Alibaba Cloud OSS object

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
bucketOSS bucket namestringtrue
aclOSS bucket ACL, supported 'private', 'public-read', 'public-read-write'stringtrue
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_NAMEOSS bucket name