From 6bdb2a20826b15957ee14d2a8b6172fa6af83aa2 Mon Sep 17 00:00:00 2001 From: Vijay Patel <35554905+easyawslearn@users.noreply.github.com> Date: Mon, 25 Nov 2019 11:14:55 +0530 Subject: [PATCH 1/4] Update ec2_jenkins.tf --- EC2withJenkins/ec2_jenkins.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EC2withJenkins/ec2_jenkins.tf b/EC2withJenkins/ec2_jenkins.tf index d7739df..32858ce 100644 --- a/EC2withJenkins/ec2_jenkins.tf +++ b/EC2withJenkins/ec2_jenkins.tf @@ -1,6 +1,6 @@ resource "aws_instance" "ec2_jenkins" { - ami = lookup(var.ami_id, var.region) + ami = "${lookup(var.ami_id, var.region)}" instance_type = var.instance_type # subnet_id = aws_subnet.public_1.id From 037cd7ca83d93293458ff40712177d6cefe0d822 Mon Sep 17 00:00:00 2001 From: Vijay Patel <35554905+easyawslearn@users.noreply.github.com> Date: Mon, 25 Nov 2019 11:19:35 +0530 Subject: [PATCH 2/4] Update terraform.yml --- .github/workflows/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 533146c..fa4e356 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Terraform uses: marocchino/setup-terraform@v1 with: - version: "0.11.14" + version: "0.12.18" - name: Build module 'aws-instance-first-script' run: cd aws-instance-first-script && terraform init && terraform validate && terraform plan - name: Build module 'aws-EC2-with-jenkins' From b3fa4ce565582a06c1cb33a7a066dd15a209e2e6 Mon Sep 17 00:00:00 2001 From: Vijay Patel <35554905+easyawslearn@users.noreply.github.com> Date: Mon, 25 Nov 2019 11:21:06 +0530 Subject: [PATCH 3/4] Update terraform.yml --- .github/workflows/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index fa4e356..533146c 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Terraform uses: marocchino/setup-terraform@v1 with: - version: "0.12.18" + version: "0.11.14" - name: Build module 'aws-instance-first-script' run: cd aws-instance-first-script && terraform init && terraform validate && terraform plan - name: Build module 'aws-EC2-with-jenkins' From cf031c2d76cce36bdc3bc0b4554eec4e3cece17c Mon Sep 17 00:00:00 2001 From: Vijay Patel <35554905+easyawslearn@users.noreply.github.com> Date: Mon, 25 Nov 2019 11:43:42 +0530 Subject: [PATCH 4/4] Update terraform.yml --- .github/workflows/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 533146c..60b495d 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Terraform uses: marocchino/setup-terraform@v1 with: - version: "0.11.14" + version: "0.12.15" - name: Build module 'aws-instance-first-script' run: cd aws-instance-first-script && terraform init && terraform validate && terraform plan - name: Build module 'aws-EC2-with-jenkins'