Windows: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windows.html
Linux: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html
In Terminal or Command prompt:
aws configure
AWS Access Key ID: [****************9UIK]:
AWS Secret Access Key: [****************SSxdr]:
Default region name: "region" (example: eu-west-1)
Default output format: "output" (example: json)
https://k21academy.com/terraform-iac/terraform-installation-overview/
terraform init
terraform plan (for checking if there is any configuration related issue)
terraform deploy -auto-approve (if getting error run this second time)