Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccessDenied Error when calling GetBucketLocation #5

Open
Jakobie21 opened this issue Apr 1, 2020 · 0 comments
Open

AccessDenied Error when calling GetBucketLocation #5

Jakobie21 opened this issue Apr 1, 2020 · 0 comments

Comments

@Jakobie21
Copy link

Jakobie21 commented Apr 1, 2020

Hi,

when trying to build a package i always receive the following errors:
sh-4.2$ alppb pandas test -r "eu-west-1" -p "3.7"
Starting alppb...
Creating boto3 client for iam...
Creating boto3 client for codebuild...
Creating boto3 resource for s3...
Creating boto3 client for s3...
ERROR: Unhandled exception. Please submit a bug report to https://github.com/irlrobot/alppb/issues/new
Traceback (most recent call last):
File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/bin/alppb", line 8, in
sys.exit(main())
File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/alppb/alppb.py", line 148, in main
bucket_region = s3.bucket_region(s3_client, bucket)
File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/alppb/s3.py", line 81, in bucket_region
raise err
File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/alppb/s3.py", line 71, in bucket_region
response = client.get_bucket_location(Bucket=bucket)
File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/botocore/client.py", line 316, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.6/site-packages/botocore/client.py", line 626, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GetBucketLocation operation: Access Denied

Are there prerequisites that are not satified?

Thank you very much for your help and for your great work.

BR
Heiko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant