Last active
August 29, 2015 14:15
-
-
Save leto/97e7c15cc4ff3b700d5a to your computer and use it in GitHub Desktop.
Example vagrant-aws config
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
config.vm.define "dev" do |dev| | |
config.vm.box = "dummy" | |
dev.vm.provider :aws do |aws, override| | |
override.vm.provision :shell, :path => "scripts/aws_provision.sh" | |
override.ssh.private_key_path = 'foo.pem' | |
override.vm.hostname = "foo.com" | |
override.ssh.username = "ubuntu" | |
aws.access_key_id = "REALLY SECRET DONT TELL..." | |
aws.secret_access_key = "asdf", | |
aws.keypair_name = "foo dev" | |
aws.ami = "ami-049d8641" # ubuntu 14.04 64bit | |
aws.region = "us-west-2" | |
aws.instance_type = "t2.micro" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment