Last active
August 13, 2016 16:19
-
-
Save nicusX/dc53a58e191ef7da523f978538dbd159 to your computer and use it in GitHub Desktop.
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
resource "aws_instance" "etcd" { | |
count = 3 | |
ami = "ami-1967056a" // Unbuntu 16.04 LTS HVM, EBS-SSD | |
instance_type = "t2.micro" | |
subnet_id = "${aws_subnet.kubernetes.id}" | |
private_ip = "${cidrhost("10.43.0.0/16", 10 + count.index)}" | |
associate_public_ip_address = true | |
availability_zone = "eu-west-1a" | |
vpc_security_group_ids = ["${aws_security_group.kubernetes.id}"] | |
key_name = "my-keypair" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment