Month: May 2024

  • Use Terraform to create an AWS instance.

    You can use Terraform to create many types of AWS infrastructure like new EC2 instances. There are many ways to accomplish this and this is how I did it. File Structure: main.tf  <— main Terraform file variables.tf <— variables used by Terraform terraform.tfvars <— secret values like AWS credentials ./vars/main.yaml <— used by Ansible (optional) […]