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

Terrform error #75

Closed
sidejackthenativity opened this issue Oct 25, 2020 · 2 comments
Closed

Terrform error #75

sidejackthenativity opened this issue Oct 25, 2020 · 2 comments
Labels
question Further information is requested

Comments

@sidejackthenativity
Copy link
Contributor

sidejackthenativity commented Oct 25, 2020

Hi there,

I am getting the following error:

Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.

Is there a Terraform config file I need to adjust?

Thanks!

@RyanJarv
Copy link
Contributor

@sidejackthenativity Sorry for the delayed response here.

Typically there is, for cloudgoat however the AWS profile is configured in config.yml. It should look something like this:

- default-profile: default

Running ./cloudgoat.py config profile will also set this up for you.

I would check what this is set to and run the following command to make sure your AWS credentials are set up correctly.

aws --profile default sts get-caller-identity

Just replace default there with whatever is set in config.yml. If the awscli command doesn't work then you'll need to ensure your ~/.aws/config and ~/.aws/credentials files are set up with valid creds.

@RyanJarv RyanJarv added the question Further information is requested label Jul 16, 2021
@RyanJarv
Copy link
Contributor

I'm going close this issue since we haven't heard back in a while. If you're still having issues with this feel free to open a new issue and reference this one though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants