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

eic currently fails with exit code 1 and no helpful error message. #8

Open
arianvp opened this issue Nov 28, 2023 · 2 comments
Open
Labels
next-generation Issues related to the "new" AMIs

Comments

@arianvp
Copy link
Member

arianvp commented Nov 28, 2023

# TODO: This currently fails with exit code 1 and no helpful error message.

https://github.com/arianvp/amis/blob/8eb2b2e2c3bd567f9df2a0757284e45140a4216a/packages/ec2-instance-connect.nix#L14

@arianvp arianvp added the next-generation Issues related to the "new" AMIs label Feb 6, 2024
@zickzackv
Copy link

I tried the script(s) within an buildFSHEnv on a ec2 instance; debugged the script and probably found the problem:

eic_parse_authorized_keys is called with /etc/ssl/certs instead of /etc/ssl/certs/ca-bundle.crt The script does not find any certs and breaks of it.

within aws's repo aws-ec2-instance-connect-config they patch that file with e.g. this line:

https://github.com/aws/aws-ec2-instance-connect-config/blob/551c73e8ec1f5ade4c8b1f52cf616e75b47879b4/bin/make_tarball.sh#L29

sadly i'm not familiar enough with nixos to create a solution within you package.

anyways, hope that helps and thanks for this project!

@zickzackv
Copy link

trying to fix the issue with the PR #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-generation Issues related to the "new" AMIs
Projects
None yet
Development

No branches or pull requests

2 participants