01/10/2023, 7:26 AM
Hi, I have an issue in prefect 2.7.7, when trying to deploy a flow using an S3Bucket block:
deployment build deployment_utils/ -n maintenance/maintenance -sb s3-bucket/<my_s3_bucket_block_name> -a

 f"Successfully uploaded {file_count} files to {deployment.location}",
    if not"/")
AttributeError: 'NoneType' object has no attribute 'endswith'
I tried also providing a basepath to the S3, and get a similar error.
AttributeError: 'PosixPath' object has no attribute 'endswith'
Files are uploaded to S3, but this error is raised. Anyone know what could be the issue?

Jeff Hale

01/10/2023, 1:06 PM
Hi Tibs. I bumped into this issue over the weekend and have asked the engineering team about it. Will let you know what I find out.
👍 1

Andrew Huang

01/11/2023, 12:22 AM
Did you still have issues with this after upgrading to latest prefect-aws?