From 7be6ad2ff2b336eb845ccfdba298cca929c9c570 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 9 Apr 2020 11:03:28 -0400 Subject: [PATCH 1/3] Updated instance --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index cdd90a7..63e88c0 100644 --- a/main.tf +++ b/main.tf @@ -19,7 +19,7 @@ data "aws_ami" "the_ami" { } resource "aws_instance" "scalr" { - ami = "${data.aws_ami.the_ami.id}" + ami = "data.aws_ami.the_ami.id" instance_type = "t2.nano" subnet_id = "subnet-0ebb1058ad727cfdb" vpc_security_group_ids = ["sg-0880cfdc546b123ba"] From 89fd2cd5a88e8cb999bbaf0424b8dc74edb9a0ce Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 9 Apr 2020 11:49:47 -0400 Subject: [PATCH 2/3] Updated instance type --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 63e88c0..36f7789 100644 --- a/main.tf +++ b/main.tf @@ -20,7 +20,7 @@ data "aws_ami" "the_ami" { resource "aws_instance" "scalr" { ami = "data.aws_ami.the_ami.id" - instance_type = "t2.nano" + instance_type = "t2.small" subnet_id = "subnet-0ebb1058ad727cfdb" vpc_security_group_ids = ["sg-0880cfdc546b123ba"] key_name = "ryan" From f7881c5710844be333bbec65b195906a8a58357f Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 9 Apr 2020 11:51:00 -0400 Subject: [PATCH 3/3] Updated instance type --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 36f7789..5752394 100644 --- a/main.tf +++ b/main.tf @@ -19,7 +19,7 @@ data "aws_ami" "the_ami" { } resource "aws_instance" "scalr" { - ami = "data.aws_ami.the_ami.id" + ami = "{$data.aws_ami.the_ami.id}" instance_type = "t2.small" subnet_id = "subnet-0ebb1058ad727cfdb" vpc_security_group_ids = ["sg-0880cfdc546b123ba"]