Skip to content

Instantly share code, notes, and snippets.

@Kulasangar
Last active September 1, 2018 20:00
Show Gist options
  • Save Kulasangar/ccc3f7ddf2554a6fce12d66acc01e1e9 to your computer and use it in GitHub Desktop.
Save Kulasangar/ccc3f7ddf2554a6fce12d66acc01e1e9 to your computer and use it in GitHub Desktop.
resource "aws_instance" "my-test-instance" {
ami = "${lookup(var.AmiLinux, var.region)}"
instance_type = "t2.micro"
iam_instance_profile = "${aws_iam_instance_profile.test_profile.name}"
tags {
Name = "test-instance"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment