aws-samples / aws-serverless-workshops

Code and walkthrough labs to set up serverless applications for Wild Rydes workshops
http://wildrydes.com
Apache License 2.0
4.18k stars 2.61k forks source link

Data Processing Module -- Missing credentials in config #218

Open nikipat opened 5 years ago

nikipat commented 5 years ago

I used this workshop in an immersion day, and a lot of users ran into the following error: "aws CredentialsError: missing credentials in config" when they are trying to view the Unicorn dashboard using a cognito identity pool (https://dataprocessing.wildrydes.com/streaming-data.html). They configured the identity pool with unauthenticated access and added the inline policy, but it did not work.

One thing they did different was use Ohio, but they are getting the same error after repeating the steps in Ireland as well. Is there any place we have to configure region, either in the producer binary or cognito?

jeremy-balmos commented 4 years ago

+1 Like was for an immersion day at our company as well.

megahf commented 4 years ago

I encountered the issue when reusing the IAM role in a new identity pool. Found out the trust relationship has conditions that make it only allowed for certain identity pool, and had to update it manually with the new identity pool.

Screenshot 2020-07-07 at 00 35 01