Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override region from ::Aws.config[:region] #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smaruy30
Copy link

@smaruy30 smaruy30 commented Jul 9, 2020

Hello Maintainers,

I just made a small change to the plugin.

  • Use case:

vagrant box add from cross account s3 bucket located in other than DEFAULT_REGION("us-east-1") using AWS_CONFIG_PROFILE environment variable.

  • Test result:
$ AWS_CONFIG_PROFILE=`profile name` bundle exec vagrant box add --force `box name` s3://`bucket name`/package.box
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.

==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box '`box name`' (v0) for provider:
    box: Downloading: s3://`bucket name`/package.box
==> box: Box download is resuming from prior download progress
    box: Signing S3 request with profile '`profile name`' loaded from ~/.aws/config
==> box: Successfully added box '`box name`' (v0) for 'virtualbox'!
  • issue ref:

WhoopInc#38

Hope this message finds you well.

Regards,
Shintaro Maruyama

@smaruy30
Copy link
Author

@jerometu
Can you check this request and merge if it is okay?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant