Examples of provisioning in AWS with Terraform
To setup your aws-cli environment aws docs
$ aws configure
AWS Access Key ID [None]: abc12345Key
AWS Secret Access Key [None]: abc12345Secret
Default region name [None]: us-east-1
Default output format [None]: json
Or adding your provider info on each main.tf file
provider "aws" {
version = "~> 2.6"
access_key = "abc12345Key"
secret_key = "abc12345Secret"
region = "us-east-1
}