Created
March 27, 2016 09:26
-
-
Save slashr/6596cef470429394a577 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure(2) 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.box = "username" | |
x.vm.provider :aws do |aws, override| | |
aws.access_key_id = "*****" | |
aws.secret_access_key = "*****" | |
aws.keypair_name = "MyKey" | |
aws.region = "ap-southeast-1" | |
aws.tags = { | |
'Name' => 'VagrantTestInstance', | |
'Owner' => 'Me' | |
} | |
aws.ami = "ami-25c00c46" | |
override.vm.box = "dummy" | |
override.ssh.username = "ubuntu" | |
override.ssh.private_key_path = "~/path/to/key.pem" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment