Version: v1.2

AWS S3

Description

Terraform configuration for AWS S3 bucket

Samples

  1. apiVersion: core.oam.dev/v1beta1
  2. kind: Application
  3. metadata:
  4. name: s3-cloud-source
  5. spec:
  6. components:
  7. - name: sample-s3
  8. type: aws-s3
  9. properties:
  10. bucket: vela-website-20211019
  11. acl: private
  12. writeConnectionSecretToRef:
  13. name: s3-conn

Specification

Properties

NameDescriptionTypeRequiredDefault
bucketS3 bucket namestringtrue
aclS3 bucket ACLstringtrue
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_NAMES3 bucket name