hey guys, I’m trying to `prefect deployment build`...
# prefect-aws
j
hey guys, I’m trying to
prefect deployment build
with
-sb
on S3 and
-ib
of a DockerContainer, then I got
Copy code
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?
1
a
your S3 block needs explicit credentials on the block to work with docker ib
j
since I build the deployment on local, I realize that I need to do
assume-role
to switch my IAM role, then prefect can build and upload the artifacts from my local to s3
🙌 2