1 Answer
- Newest
- Most votes
- Most comments
1
Hi Meghana,
Please set the credentials of the IAM user that you want to use [1].
If you have a named profile set, you can run the profile name:
export AWS_PROFILE=profile-name
If not you can export the credentials by referring to this [2].
Hope this resolves your issue. If not, please mention the issue.
References:
[1] https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
[2] https://developer.hashicorp.com/terraform/tutorials/aws-get-started/aws-build#prerequisites
Thanks,
Atul
answered 7 months ago
Relevant content
- asked a year ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago