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