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

Config Filed does not exist #688

Closed
jrwpatterson opened this issue Jun 17, 2024 · 3 comments
Closed

Config Filed does not exist #688

jrwpatterson opened this issue Jun 17, 2024 · 3 comments

Comments

@jrwpatterson
Copy link

jrwpatterson commented Jun 17, 2024

Hi I am trying to use your wonderful software and I've used it tonnes in the past.

But a weird thing is happening. Its logging in, but when it comes back, I'm getting an error of

[✘] config file does not exist

No information why thats happening I've searched your repo and I can't find that anywhere in the code base! Its killing me!

The same config works on other users machines. I've deleted, reinstalled, nuked the cache, nuked the session token

To make matters weirder it works with some configs that are identical bar the roll name or account number

@meyerjrr
Copy link
Contributor

Hi @jrwpatterson! Would you be able to run what is causing your issues with the GRANTED_LOG env variable set to debug? This will help in diagnosing where the config file read is getting called.

eg.

export GRANTED_LOG=debug && assume 

@jrwpatterson
Copy link
Author

Ok I'll have a look Monday seems to happen sometimes and sometimes it's fine!

@douglaspetrin
Copy link

this is probably happening because you're missing the .aws/credentials file, or perhaps in your config file you are trying to download it but somehow it is not able to. for i.e: under your profile in your .aws/config file you have something like this to download your credentials:

[profile my_profile]
credential_process = granted credential-process --auto-login --profile my_profile

see: https://docs.commonfate.io/granted/recipes/credential-process

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

No branches or pull requests

3 participants