multiplegeorges / vue-cli-plugin-s3-deploy

A vue-cli plugin that uploads your built Vue.js project to an S3 bucket
MIT License
332 stars 51 forks source link

Can I set reigion? #70

Open YuheiFUJITA opened 5 years ago

YuheiFUJITA commented 5 years ago

When I use vue invoke s3-deploy command to set up, I input region name.

$ Which AWS region hosts the bucket? us-west-2

When I deploy it, log said that

INFO  Deploying 27 assets from [file path] to https://[bucket name].s3-us-west-2.website-.amazonaws.com/

But, bucket is created in us-east-1 (this is default region). If I select other region, the result is same.

Why can I not select except for us-east-1 ?

multiplegeorges commented 5 years ago

Hi, can you please try with the vue-cli-plugin-s3-deploy@next version and let me know if it fixes the problem?

nicekiwi commented 5 years ago

@YuheiFUJITA is this issue resolved?

bnd5k commented 5 years ago

I had the same experience as @YuheiFUJITA. Changing the version to vue-cli-plugin-s3-deploy@next solved one problem but created another. In the newer version, a non-default region can be selected. 🎊 But the settings for static hosting don't come through: 🤕

Thanks for your work on this plugin. This project is exactly what I was looking for. 😄

arthurmcgregor commented 4 years ago

I am having the same problems!

With v3 INFO Deploying 44 assets from /builds/.../dist/ to https://s3-ap-southeast-2.amazonaws.com/[bucket-name/ creates a new bucket in default region, not ap-southeast-2

Upgrading to v4.0.0-rc2 resolved that issue :-) However, same issue as @bnd5k - static site hosting was not enabled when it should be (and has been successfully previously)

NB For anyone else trying this, I did have to run vue invoke s3-deploy after installing to update the plugin version in the config