mirror of
https://github.com/sidpalas/devops-directive-terraform-course.git
synced 2025-12-10 21:01:14 +00:00
695 B
695 B
02 - Overview + Setup
Install Terraform
Official installation instructions from HashiCorp: https://learn.hashicorp.com/tutorials/terraform/install-cli
AWS Account Setup
AWS Terraform provider documentation: https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication
- create non-root AWS user
- Add the necessary IAM roles (e.g. AmazonEC2FullAccess)
- Save Access key + secret key (or use AWS CLI
aws configure-- https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)
Hello World
./main.tf contains minimal configuration to provision an EC2 instance.
aws configureterraform initterraform planterraform apply