Last updated 1 year ago
To use your IAM credentials to authenticate the Terraform AWS provider, set the AWS_ACCESS_KEY_ID environment variable.
AWS_ACCESS_KEY_ID
Now, set your secret key.
Alternatvely you can use the following command
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
aws configure