Created
September 23, 2013 14:50
-
-
Save amferraz/6671583 to your computer and use it in GitHub Desktop.
A sample Vagranfile for vagrant-aws. Fill in the "MY_*" values
This file contains hidden or 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.box = "MY_BOX_NAME" | |
| config.vm.provider :aws do |aws, override| | |
| aws.access_key_id = "MY_ACCESS_KEY_ID" | |
| aws.secret_access_key = "MY_SECRET_ACCESS_KEY" | |
| aws.keypair_name = "MY_KEYPAIR_NAME" | |
| aws.security_groups = "MY_VAGRANT_SECURITY_GROUP" | |
| # take a look here for AMIs/regions info: | |
| # http://cloud-images.ubuntu.com/locator/ec2/ | |
| aws.ami = "MY_AMI_NAME" | |
| aws.region = "MY_AMI_REGION" | |
| override.ssh.username = "MY_SSH_USERNAME" | |
| override.ssh.private_key_path = "/path/to/MY_KEYPAIR_NAME.pem" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment