Created
June 9, 2016 09:07
-
-
Save echo-devnull/31da4452b836511aed3dc0dee0c18a18 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" "ftp" { | |
ami = "ami-752dbe06" | |
instance_type = "t2.medium" | |
security_groups = ["${aws_security_group.ftp.name}"] | |
user_data = "${file("cloud-config.yml")}" | |
tags { | |
Name = "carsom-ftp-${count.index + 1}" | |
Env = "carsom" | |
role = "ftp" | |
company = "carsom" | |
Ansible = "yes" | |
} | |
root_block_device { | |
volume_size = 32 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment