James Zhang
11/21/2022, 2:40 PMprefect deployment build
with -sb
on S3 and -ib
of a DockerContainer, then I got
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
I guess it has to do with the IAM role, but I don’ know how to switch/use a IAM role during deployment build
, any ideas?Anna Geller
James Zhang
11/21/2022, 3:58 PMassume-role
to switch my IAM role, then prefect can build and upload the artifacts from my local to s3