I'm facing problems with resolving dependencies from S3.
~/.aws/config like this:
[default] region = eu-central-1 output = json [my-project] region = eu-central-1
~./aws/credentials like this
[my-project] aws_access_key_id = A... aws_secret_access_key = X...
(I also tried to add empty [default] section here.
aws s3 ls s3://releases.my-project.io/some-ivy-file.ivy --profile my-project returns me list of files.
sbt can't resolve deps.
I also tried to
export AWS_PROFILE=my-project without any luck.
Any suggestions? Thanks in advance
awsProfilesetting affected only credentials, not the region (hence, as @michaelahlers says, you have to set the region explicitly). In the newer versions it has been fixed, but it's available only for sbt-1.x
aws s3 cp
Thank you very much @laughedelic , I understand now and I will use this plugin, but for more information detail, I would like to know why is this, maybe it is because SBT expects a dependency server configured as a dependency management like artifactory, and S3 it's obviusly not configured as a dependency management out of the box?
Thanks in advance
project/build.properties) or use an older version of this plugin (not recommended). See the installation docs.