Source
yaml
id: create-bucket-flow
namespace: company.team
inputs:
- id: bucket
type: STRING
defaults: declarative-orchestration-with-kestra
required: true
tasks:
- id: create_bucket
type: io.kestra.plugin.aws.s3.CreateBucket
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_ACCESS_KEY') }}"
region: "{{ secret('AWS_DEFAULT_REGION') }}"
bucket: "{{ inputs.bucket }}"
About this blueprint
S3
This flow takes a bucket name as input and creates a new S3 bucket with that name.
This flow assumes AWS credentials stored as secrets AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
and AWS_DEFAULT_REGION
.
More Related Blueprints