diff --git a/main.tf b/index.html similarity index 90% rename from main.tf rename to index.html index 9f7ea04..a30b50c 100644 --- a/main.tf +++ b/index.html @@ -1,12 +1,12 @@ #this file consists of code for instances and sg provider "aws" { region = "ap-south-1" -access_key = "AKIARSPNELGYCJEVYJ4K" -secret_key = "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" +access_key = "AKIA5JX46EAR27ONXVPE" +secret_key = "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" } resource "aws_instance" "one" { - ami = "ami-0d81306eddc614a45" + ami = "ami-05afd67c4a44cc983" instance_type = "t2.micro" key_name = "rmk8s" vpc_security_group_ids = [aws_security_group.three.id] @@ -25,7 +25,7 @@ } resource "aws_instance" "two" { - ami = "ami-0d81306eddc614a45" + ami = "ami-05afd67c4a44cc983" instance_type = "t2.micro" key_name = "rmk8s" vpc_security_group_ids = [aws_security_group.three.id]