diff --git a/main.tf b/main.tf index 9f7ea04..095a292 100644 --- a/main.tf +++ b/main.tf @@ -1,14 +1,14 @@ #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 = "AKIAUXOCYVLKAGYMNOOP" +secret_key = "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" } resource "aws_instance" "one" { ami = "ami-0d81306eddc614a45" instance_type = "t2.micro" - key_name = "rmk8s" + key_name = "tera1" vpc_security_group_ids = [aws_security_group.three.id] availability_zone = "ap-south-1a" user_data = <