Going to the Cloud
AWS Provider
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.70.0"
}
}
}
provider "aws" {
region = "us-east-1" # Default for now, we will turn this into a variable later on
}Creating an EC2 Instance
Last updated