Download_kibana_plugins.sh fails - Unable to locate credentials

I’m trying to build my own opendistro kibana image using the instructions in https://github.com/opendistro-for-elasticsearch/opendistro-build/tree/master/kibana

Specifically, I switched to the 1.6.0 branch and ran:

OPENDISTRO_VERSION=1.6.0 ES_VERSION=7.4.0 make build

However, the plugins directory is empty so I ran download_kibana_plugins.sh but I am getting these errors:

fatal error: Unable to locate credentials
fatal error: Unable to locate credentials
fatal error: Unable to locate credentials
fatal error: Unable to locate credentials

It seems like I don’t have access to the s3 bucket?
I was under the impression that the bucket should be public :thinking:

we can use the cloudfront endpoint to download the plugins. you can get the right url in this doc: https://opendistro.github.io/for-elasticsearch-docs/docs/install/plugins/