Skip to content

CreateS3Bucket

Ensures the configured S3 bucket exists by creating it when it is missing.

What It Does

Ensures an S3-compatible bucket exists before later steps try to write data into it.

If the bucket is already present, the probe leaves it alone. If it is missing, the probe creates it so downstream uploads and reads can rely on the bucket being available.

YAML Example

Sessions:
  - Name: ProbeSession
    Probes:
      - Name: CreateS3BucketProbe
        Probe: CreateS3Bucket
        ProbeConfiguration:
          AccessKey: access-key
          SecretKey: secret-key
          ServiceURL: http://minio.local:9000
          StorageBucket: qaas-docs
          ForcePathStyle: true

What This Configuration Does

This probe connects to the S3-compatible service at http://minio.local:9000 and ensures that the qaas-docs bucket exists.

It is useful as an idempotent setup step before generators or the system under test start uploading files.