forked from devopsloft/devopsloft
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile.local.example
More file actions
45 lines (35 loc) · 1.03 KB
/
Vagrantfile.local.example
File metadata and controls
45 lines (35 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "dev" do |dev|
dev.vm.provider :virtualbox do |virtualbox,override|
end
end
config.vm.define "stage" do |stage|
stage.vm.provider :aws do |aws,override|
aws.keypair_name = "aws_rsa"
aws.ami = "ami-d2414e38"
aws.instance_type = "t2.micro"
aws.region = "eu-west-1"
aws.subnet_id = "subnet-2c67fe64"
aws.security_groups = ["sg-7b78fe07"]
aws.associate_public_ip = true
override.ssh.username = "ubuntu"
override.ssh.private_key_path = "~/.ssh/aws_rsa.pem"
end
end
config.vm.define "prod" do |prod|
stage.vm.provider :aws do |aws,override|
aws.keypair_name = "aws_rsa"
aws.ami = "ami-d2414e38"
aws.instance_type = "t2.micro"
aws.elastic_ip = "52.209.230.146"
aws.region = "eu-west-1"
aws.subnet_id = "subnet-2c67fe64"
aws.security_groups = ["sg-7b78fe07"]
aws.associate_public_ip = true
override.ssh.username = "ubuntu"
override.ssh.private_key_path = "~/.ssh/aws_rsa.pem"
end
end
end