-
Notifications
You must be signed in to change notification settings - Fork 7
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
iidy fails silently if AWS metadata service 404s #111
Comments
@tavisrudd noted that the tell-tale sign you were running into this issue was that you'd get a 404 from the AWS metadata service (http://169.254.169.254/latest/meta-data/iam/) |
Just some further thinking on this. I'm not sure if the lack of iam meta-data is actually a bug in the Cloud9 environment. Reading through the docs on AWS Managed Temporary Credentials it seems like this might be a feature. |
If not a bug in Cloud9, it's a bug in the aws-sdk for js. That's what handles the lookup via the metadata service. Regardless, we can improve |
is the stack trace Carl encountered. |
A related issue is that if you run |
If you happen to be running iidy in an environment where the credentials are not found, iidy will fail silently. In particular, I noticed this running iidy under AWS Cloud9. Running
iidy render
on a template would produce no output.Manually configuring AWS credentials with
aws configure
works around the issue.The text was updated successfully, but these errors were encountered: