Writing Terraform configuration files for AWS
How easy is it us to write a Terraform configuration file for the AWS cloud? Writing a Terraform configuration file for AWS is similar to writing one for GCP. For better understanding, we are going to write some Terraform configuration code for creating a VPC and S3 bucket in AWS and keep them in our GitHub repository, that is, https://github.com/PacktPublishing/HashiCorp-Infrastructure-Automation-Certification-Guide/tree/master/chapter8/aws-files.
The following files are present in our GitHub repository that you can clone and practice with:
inmishrar@terraform-lab-vm:~/HashiCorp-Infrastructure-Automation-Certification-Guide/chapter8/aws-files# tree . ├── aws-files ├── main.tf ├── outputs.tf ├── providers.tf ├── terraform.tfvars ...