vue-cli-plugin-s3-deploy icon indicating copy to clipboard operation
vue-cli-plugin-s3-deploy copied to clipboard

Deploy will not choose the awsProfile as config

Open muei opened this issue 6 years ago • 3 comments

If I have config the mutiple aws credentials that from different accounts, when I execute the command yarn deploy, it will still use the default credential, and upload the default account not the configured aws account

muei avatar Feb 19 '19 03:02 muei

Had the same problem. I did find a workaround though.

(Did set it as a environmental var in package.json)

"deploy": "AWS_PROFILE=profilename vue-cli-service s3-deploy"

Agowan avatar Feb 22 '19 13:02 Agowan

This is still an issue. Thanks @Agowan for the work around!

BinaryShrub avatar Sep 10 '19 21:09 BinaryShrub

Thanks for this. It is still an issue, but the workaround works.

jangeador avatar Jan 08 '20 21:01 jangeador