From d62ce09e073b4c4be878659ae9db1f4bc6ea64f1 Mon Sep 17 00:00:00 2001 From: Aakib khan <101191261+Aakibgithuber@users.noreply.github.com> Date: Tue, 30 Jan 2024 19:49:52 +0530 Subject: [PATCH] Update Main.tf --- Jenkins-terraform/Main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins-terraform/Main.tf b/Jenkins-terraform/Main.tf index 356f88e..c991d53 100644 --- a/Jenkins-terraform/Main.tf +++ b/Jenkins-terraform/Main.tf @@ -58,9 +58,9 @@ resource "aws_security_group" "Jenkins-sg" { } resource "aws_instance" "web" { - ami = "ami-0c7217cdde317cfec" + ami = "ami-03f4878755434977f" instance_type = "t2.medium" - key_name = "my key" + key_name = "Argo key" vpc_security_group_ids = [aws_security_group.Jenkins-sg.id] user_data = templatefile("./install_jenkins.sh", {}) iam_instance_profile = aws_iam_instance_profile.example_profile.name