New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws cli too few arguments error #24
Comments
did you provide the proper ENV variables within your CircleCI project's settings? |
@jhackGC Could you check if |
Hi, sorry the late response, The key and secret key were set yes, let me
take a few screenshots and show it.
I took a turnaround and I'm doing the connection manually, but If I can use
an Orb, better.
Thanks heaps for the answer
<img width="1279" alt="Screen Shot 2019-09-17 at 11 28 52 am" src="https://user-images.githubusercontent.com/6415589/65057893-b55b2480-d949-11e9-9c3e-21305be7c8f3.png">
…On Tue, 17 Sep 2019 at 11:24, Stella Lok ***@***.***> wrote:
@jhackGC <https://github.com/jhackGC> Could you check if AWS_ACCESS_KEY_ID
is defined?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24?email_source=notifications&email_token=ABQ6JZPDSJAFU3QVZWSPUHTQKDSBLA5CNFSM4IWRIAGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD64WQ2A#issuecomment-532244584>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQ6JZKIJ6IL4VH2UNMB4WDQKDSBLANCNFSM4IWRIAGA>
.
|
@jhackGC Apologies for the late response! Is this the command that is giving you the error? Would you mind rerunning the job with SSH and then running the same command in your SSH session to check the output?
I recommend checking what the value of $AWS_ACCESS_KEY_ID is too. You could do that by running |
Closing this due to inactivity. |
@lokst
When executing the last three commands I get the error message Any ideas what could be the issue here? |
It seems to be because of the dollar notation. Any idea how to escape the dollar sign in a way to make the aws cli accept it? |
@patsa Could you try adding |
@lokst
and like this when written like in my original post:
But the correct value is definitely set within the variable |
@patsa I'd recommend trying something like |
@patsa maybe you can check the protected variables / protected branches in gitlab CI. |
@deeptechs That was actually the culprit. Thanks for mentioning it! |
parent 86625eb author Brian Vu <emailbrian.vu@gmail.com> 1650493284 -0700 committer Brian Vu <emailbrian.vu@gmail.com> 1650493685 -0700 # This is a combination of 12 commits.tree 8fff8bd4b79ace9a23d4d2a9038b67823b6e8fac parent 86625eb author Brian Vu <emailbrian.vu@gmail.com> 1650493284 -0700 committer Brian Vu <emailbrian.vu@gmail.com> 1650493284 -0700 parent a2e5910 author Brian Vu <emailbrian.vu@gmail.com> 1649403325 -0700 committer Brian Vu <emailbrian.vu@gmail.com> 1650493045 -0700 feat: Added OIDC support # This is the commit message #12: test: debugging # This is the commit message #23: test: debugging # This is the commit message #24: test: debugging
Hi, when running this Orb command (setup), I'm getting this error:
aws configure set aws_access_key_id
$AWS_ACCESS_KEY_ID
--profile default
usage: aws [options] [ ...] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: too few arguments
Thanks !
The text was updated successfully, but these errors were encountered: