Skip to content
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

Help: exec with arguments #93

Closed
monwolf opened this issue Nov 2, 2021 · 1 comment · Fixed by #94
Closed

Help: exec with arguments #93

monwolf opened this issue Nov 2, 2021 · 1 comment · Fixed by #94

Comments

@monwolf
Copy link
Contributor

monwolf commented Nov 2, 2021

Hi, I would like to integrate aws-sso-cli with lens in order to retrieve SSO tokens to log into our EKS.

To do this i need to run:

aws-sso.exe exec -A 123456789 --role=AdministratorAccess aws eks get-token --cluster-name my-cluster-name

but
--cluster-name is been interpreted as an arg for aws-sso I would like to suggest changing this behaviour to allow named parameters being passed to the command.

aws-sso exec -A 123456789  --role=AdministratorAccess aws eks get-token --cluster-name aea-my-cluster-name
aws-sso.exe: error: unknown flag --cluster-name

is there any other way to do this?

@monwolf
Copy link
Contributor Author

monwolf commented Nov 2, 2021

I created a PR that should correct this behaviour feel free to request, or ask if you need it.

@synfinatic synfinatic linked a pull request Nov 2, 2021 that will close this issue
synfinatic added a commit that referenced this issue Nov 2, 2021
synfinatic added a commit that referenced this issue Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant