-
$ sudo sam validate
2023-02-14 15:31:49 Loading policies from IAM...
Error: AWS Credentials are required. Please configure your credentials.
$ sam validate
2023-02-14 15:31:54 Loading policies from IAM...
2023-02-14 15:32:04 Finished loading policies from IAM.
/home/new-sam-app/template.yaml is a valid SAM Template
$ sudo sam validate
2023-02-14 15:32:13 Loading policies from IAM...
Error: AWS Credentials are required. Please configure your credentials |
Beta Was this translation helpful? Give feedback.
Answered by
jfuss
Feb 14, 2023
Replies: 1 comment 2 replies
-
@sarvpriy You need to provide credentials. This can be done through setting the Environment Variables (we use boto3 under the hood) or providing |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
sriram-mv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sarvpriy You need to provide credentials. This can be done through setting the Environment Variables (we use boto3 under the hood) or providing
--profile
to the command.