Skip to content

Instantly share code, notes, and snippets.

@zelig
Created February 13, 2014 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zelig/8967180 to your computer and use it in GitHub Desktop.
Save zelig/8967180 to your computer and use it in GitHub Desktop.
Vagrantfile0100644000076500000240000000050112276725673011477 0ustar0000000000000000
# The contents below were provided by the Packer Vagrant post-processor
Vagrant.configure("2") do |config|
config.vm.provider "aws" do |aws|
aws.region_config "us-east-1", ami: "ami-13efea7a"
end
end
# The contents below (if any) are custom contents provided by the
# Packer template during image build.
metadata.json0100644000076500000240000000002312276725673011764 0ustar0000000000000000{"provider":"aws"}
Vagrant.configure("2") do |config|
config.vm.box = "example"
# config.ssh.forward_agent = true
config.vm.provider :aws do |aws, override|
aws.access_key_id = ENV['AWS_ACCESS_KEY_ID']
aws.secret_access_key = ENV['AWS_SECRET_KEY']
aws.security_groups = [ ENV['AWS_SECURITY_GROUP'] ]
aws.keypair_name = ENV['AWS_KEYPAIR_NAME']
override.ssh.username = ENV['AWS_SSH_USERNAME']
override.ssh.private_key_path = ENV['AWS_PRIVATE_KEY_FILE']
end
Vagrantfile0100644000076500000240000000050112276763501011467 0ustar0000000000000000
# The contents below were provided by the Packer Vagrant post-processor
Vagrant.configure("2") do |config|
config.vm.provider "aws" do |aws|
aws.region_config "eu-west-1", ami: "ami-a05aabd7"
end
end
# The contents below (if any) are custom contents provided by the
# Packer template during image build.
metadata.json0100644000076500000240000000002312276763501011754 0ustar0000000000000000{"provider":"aws"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment