Version: v1.2

Alibaba Cloud OSS

Description

Terraform configuration for Alibaba Cloud OSS object

Samples

  1. apiVersion: core.oam.dev/v1beta1
  2. kind: Application
  3. metadata:
  4. name: oss-cloud-source
  5. spec:
  6. components:
  7. - name: sample-oss
  8. type: alibaba-oss
  9. properties:
  10. bucket: vela-website
  11. acl: private
  12. writeConnectionSecretToRef:
  13. 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