Hello

Can you check this past issue? There is a Vagrantfile with plenty of
options for network

https://github.com/mitchellh/vagrant-aws/issues/114

Thanks

On Tue, Sep 8, 2015 at 7:23 PM, Pratip Ghosh <[email protected]> wrote:
> Hello,
>
> I am a new user of vagrant. Currently I am trying to launch virtual instance
> in EC2 using vagrant aws plugin. But after done all the configuration I am
> getting following error.
>
>
> $ vagrant up --provider=aws
> Bringing machine 'delta' up with 'aws' provider...
> ==> delta: Warning! The AWS provider doesn't support any of the Vagrant
> ==> delta: high-level network configurations (`config.vm.network`). They
> ==> delta: will be silently ignored.
> ==> delta: Launching an instance with the following settings...
> ==> delta:  -- Type: t2.micro
> ==> delta:  -- AMI: ami-a7fdfee2
> ==> delta:  -- Region: us-east-1
> ==> delta:  -- Keypair: pratip.pem
> ==> delta:  -- Block Device Mapping: []
> ==> delta:  -- Terminate On Shutdown: false
> ==> delta:  -- Monitoring: false
> ==> delta:  -- EBS optimized: false
> ==> delta:  -- Assigning a public IP address in a VPC: false
> There was an error talking to AWS. The error message is shown
> below:
>
> VPCIdNotSpecified => No default VPC for this user
>
>
>
> My Vagrantfile entry is as following:
>
> VAGRANTFILE_API_VERSION = "2"
> Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
>   config.vm.define :delta do |x|
>     x.vm.box = "hashicorp/precise64"
>     x.vm.hostname = "delta"
>
>     x.vm.provider :virtualbox do |v|
>       v.name = "delta"
>     end
>
>     x.vm.provider :aws do |aws, override|
>       aws.access_key_id = ENV['AWS_ACCESS_KEY']
>       aws.secret_access_key = ENV['AWS_SECRET_KEY']
>       aws.keypair_name = ENV['AWS_KEYNAME']
>       aws.ami = "ami-a7fdfee2"
>       aws.region = "us-east-1"
>       aws.instance_type = "t2.micro"
>       override.vm.box = "dummy"
>       override.ssh.username = "ubuntu"
>       override.ssh.private_key_path = ENV['AWS_KEYPATH']
>     end
>   end
> end
>
>
>
>
> In my AWS account there is one VPC exist named as "test" and it is not a
> default VPC in my account.
>
> Can anyone guide me how I specify my VPC ID in the vagrantfile?
>
>
>
> Regards,
> Pratip
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/95d8e71e-d569-49c0-b4e3-89e4e1e61daf%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0exN6h_6kPUhzBGXXCmdGNW7v5h5%3DJ%3DVdC%2BZ7Hmia34v%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to