example.tf
provider "aws" {
profile = "default"
region = "us-east-1"
}
resource "aws_instance" "example" {
ami = "ami-2757f631"
instance_type = "t2.micro"
}
terraform init
terraform plan
terraform apply
terraform show
terraform destroy
terraform version
terraform apply \
-var-file="secret.tfvars" \
-var-file="production.tfvars"