Wolfgang Steitz
05/10/2023, 7:06 AMdeployment.yaml
:
push:
- prefect_aws.projects.steps.push_project_to_s3:
requires: "prefect-aws>=0.3.1"
bucket: "prefect-..."
folder: somefolder
credentials: "{{ prefect.blocks.aws-credentials.prod }}"
When initiating a deploy via prefect deploy --name ...
, the step fails with TypeError: Session.client() got an unexpected keyword argument 'profile_name'
. I am getting a similar error when using push_project_to_gcs
and gcp credentials. The credentials themselves are working fine when using them with an agent and some ecstask. What's the correct way of using credentials stored in a block? Or is it possible to use a s3 block directly?alex
05/10/2023, 3:38 PMpush_project_to_s3
step. If you would be so kind as to open an issue on the prefect-aws
GitHub repository, we can start working on a fix for this.
You also said that you were seeing an error for the push_project_to_gcs
step. Could you share what error you are seeing there?Wolfgang Steitz
05/10/2023, 5:47 PM