2019-12-13 23:07:31 +08:00
|
|
|
resource "aws_instance" "island_windows" {
|
2020-01-20 22:37:53 +08:00
|
|
|
ami = "ami-033b3ef27f8d1881d"
|
2019-12-13 23:07:31 +08:00
|
|
|
instance_type = "t2.micro"
|
|
|
|
private_ip = "10.0.0.251"
|
|
|
|
subnet_id = "${aws_subnet.main.id}"
|
|
|
|
key_name = "monkey_maker"
|
|
|
|
tags = {
|
|
|
|
Name = "monkey_maker_windows"
|
|
|
|
}
|
|
|
|
vpc_security_group_ids = ["${aws_security_group.monkey_maker_sg.id}"]
|
|
|
|
associate_public_ip_address = true
|
|
|
|
}
|
|
|
|
|
2020-01-20 18:32:27 +08:00
|
|
|
resource "aws_instance" "island_linux" {
|
|
|
|
ami = "ami-0495203541087740a"
|
2019-12-13 23:07:31 +08:00
|
|
|
instance_type = "t2.micro"
|
|
|
|
private_ip = "10.0.0.252"
|
|
|
|
subnet_id = "${aws_subnet.main.id}"
|
|
|
|
key_name = "monkey_maker"
|
|
|
|
tags = {
|
2020-01-20 18:32:27 +08:00
|
|
|
Name = "monkey_maker_linux"
|
2019-12-13 23:07:31 +08:00
|
|
|
}
|
|
|
|
vpc_security_group_ids = ["${aws_security_group.monkey_maker_sg.id}"]
|
|
|
|
associate_public_ip_address = true
|
|
|
|
}
|