Rusty Zarse
04/18/2023, 6:44 PMdagster dev
. Once deployed to the branch deployment, it fails on init
when validating access to the bucket. We found that locally we receive the same forbidden error when changing the system time. This may or may not be related.
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden
• Is this something encountered before?
• I there a way to create more verbose init logs to troubleshoot such issues?jordan
04/18/2023, 6:53 PMRusty Zarse
04/18/2023, 7:00 PMregion_name
with the s3 config when calling build_init_resource_context
Rusty Zarse
04/18/2023, 7:02 PMendpoint_url
jordan
04/18/2023, 7:34 PMAWS_REGION
or AWS_DEFAULT_REGION
by default which boto3 is in turn using:
https://github.com/aws/containers-roadmap/issues/1611
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
So explicitly setting the region in the boto3 client or session is probably a good idea.