1. Create the following file with name something like aws.tr
provider “aws” {
access_key = “Your Access Key here”
secret_key = “Your Secret key here”
region = “your region preferred”
}
access_key = “Your Access Key here”
secret_key = “Your Secret key here”
region = “your region preferred”
}
resource “aws_instance” “terraform” {
ami = “your ami id here”
instance_type = “t2.micro”
}
ami = “your ami id here”
instance_type = “t2.micro”
}
run a ‘terraform apply’
Done !

- Microsoft Certified: Azure DevOps Engineer Expert
- Microsoft Certified: Azure Solutions Architect Expert
- Microsoft 365 Certified: Messaging Administrator Associate
- Microsoft Certified Azure Administrator Associate
- Microsoft Certified: Azure Fundamentals
- Microsoft Certified: Security, Compliance, and Identity Fundamentals
- Microsoft Certified: Azure AI Fundamentals
No responses yet