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

Can I set reigion?

Open YuheiFUJITA opened this issue 6 years ago • 4 comments

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 ?

YuheiFUJITA avatar Jun 20 '19 08:06 YuheiFUJITA

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

multiplegeorges avatar Jun 24 '19 15:06 multiplegeorges

@YuheiFUJITA is this issue resolved?

nicekiwi avatar Sep 30 '19 03:09 nicekiwi

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. 😄

bnd5k avatar Oct 26 '19 20:10 bnd5k

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

arthurmcgregor avatar Nov 27 '19 01:11 arthurmcgregor