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

exit with code 1 #1

Open
1robroos opened this issue Jan 2, 2020 · 1 comment
Open

exit with code 1 #1

1robroos opened this issue Jan 2, 2020 · 1 comment
Labels
good first issue Good for newcomers

Comments

@1robroos
Copy link

1robroos commented Jan 2, 2020

Hello, I made it so far :

docker-compose up
Starting aws-sts-proxy_web_1 ... done
Attaching to aws-sts-proxy_web_1
web_1  | Must export EKS_ASSUME_ROLE
web_1  | Must export EXTERNAL_ID
aws-sts-proxy_web_1 exited with code 1

No idea why it fails.
I did set these vars in my ubuntu env:

export EKS_ASSUME_ROLE="arn:aws:iam::[redacted]:role/EKS-GOOGLE-AUTH"
export STRING_REQUIREMENT=1r
export EXTERNAL_ID=""

Do you know the reason?

@joshkurz
Copy link
Contributor

joshkurz commented Feb 21, 2020

possibly because EXTERNAL_ID is an empty string.

docker-compose up
WARNING: The EKS_ASSUME_ROLE variable is not set. Defaulting to a blank string.
WARNING: The EXTERNAL_ID variable is not set. Defaulting to a blank string.
Recreating aws-sts-proxy_web_1 ... done
Attaching to aws-sts-proxy_web_1
web_1  | Must export EKS_ASSUME_ROLE
web_1  | Must export EXTERNAL_ID
aws-sts-proxy_web_1 exited with code 1
export EKS_ASSUME_ROLE=foo
export EXTERNAL_ID=foo
docker-compose up
Recreating aws-sts-proxy_web_1 ... done
Attaching to aws-sts-proxy_web_1
web_1  | 2020/02/21 15:37:57 listening on http://0.0.0.0:8080/

It's working fine for me.

@joshkurz joshkurz added the good first issue Good for newcomers label Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants