Jens Freund
01/15/2024, 7:30 PMMarvin
01/15/2024, 7:31 PMprefect.blocks.storage.S3StorageBlock
to support extra parameters for use cases like custom CA certificates or S3 clones like Minio.
The conversation there might illuminate a workaround or inform you about the progress on this capability. It seems that Prefect currently does not directly support Minio via the deployment wizard, but you might be able to manually configure the parameters after setting up the deployment to allow for Minio S3 storage. Keep an eye on GitHub issues and Prefect changelogs for updates on this feature.Kevin Grismore
01/15/2024, 7:49 PMJens Freund
01/15/2024, 7:51 PMKevin Grismore
01/15/2024, 7:54 PMprefect.yaml
fileJens Freund
01/15/2024, 10:11 PMprefect.yaml
file with the correct configuration. When I select S3 in the wizard I'm prompted to give some AWS S3 credentials. The deployment process then stops with the error message An error occurred (InvalidAccessKeyId) when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.
and apparently, no prefect.yaml
file is created.
Do you know if there is perhaps somewhere a template prefect.yaml
file that contains push and pull actions for a MinIO storage that I could re-use? Thank you again very much for your support!Kevin Grismore
01/15/2024, 10:43 PMpush
step should look like this:
push:
- prefect_aws.deployments.steps.push_to_s3:
requires: prefect-aws>=0.3.0
bucket: my-bucket
folder: project-name
credentials: "{{ prefect.blocks.minio-credentials.my-credentials-block-name }}"
Kevin Grismore
01/15/2024, 10:45 PMpull
pull:
- prefect_aws.deployments.steps.pull_from_s3:
requires: prefect-aws>=0.3.0
bucket: my-bucket
folder: project-name
credentials: "{{ prefect.blocks.minio-credentials.my-credentials-block-name }}"
Kevin Grismore
01/15/2024, 11:41 PMpush_to_s3
and pull_from_s3
2. add Minio to the selectable storage types in the deploy wizardJens Freund
01/15/2024, 11:51 PMbotocore.exceptions.NoCredentialsError: Unable to locate credentials
and was just about to ask you, if you had an idea what I could have made wrong. So thanks again that you even made additional tests!Kevin Grismore
01/15/2024, 11:52 PMJens Freund
01/15/2024, 11:56 PM