To use tools such as the AWS CLI, Terraform, Packer or Ansible locally you will need to configure CLI access.
You will need to head to your security credentials in the IAM account, you can do this by clicking your IAM username and account number in the top right corner of the AWS console.