meraj

meraj

Hello,

Did anyone try to setup NervesHub on AWS (GitHub - nerves-hub/terraform: Terraform files · GitHub)? I am able to deploy it via these terraform scripts from my account with some minor changes but having issues with running the api and device images:

nerveshub/nerves_hub_api:latest - not working and exiting
nerveshub/nerves_hub_device:latest - not working and exiting
nerveshub/nerves_hub_www:latest - working on aws

I tried for the same docker images on local and none is working and when I try to view the logs it show this:

2020/12/14 13:50:55 MissingRegion: could not find region configuration
panic: MissingRegion: could not find region configuration

goroutine 1 [running]:
log.Panic(0xc42012dee0, 0x1, 0x1)
	/usr/local/Cellar/go/1.10.3/libexec/src/log/log.go:326 +0xc0
main.ExportVariables(0xc420084098, 0xc42001402d, 0x3, 0x0, 0x75f5f8, 0x7, 0x0, 0x0)
	/Users/aorfin/go/aws-env/aws-env.go:62 +0x17d
main.main()
	/Users/aorfin/go/aws-env/aws-env.go:37 +0x193
fatal error: Unable to locate credentials
2020/12/14 13:51:37 MissingRegion: could not find region configuration
panic: MissingRegion: could not find region configuration

goroutine 1 [running]:
log.Panic(0xc42011dee0, 0x1, 0x1)
	/usr/local/Cellar/go/1.10.3/libexec/src/log/log.go:326 +0xc0
main.ExportVariables(0xc42000c0a8, 0xc42001402d, 0x3, 0x0, 0x75f5f8, 0x7, 0x0, 0x0)
	/Users/aorfin/go/aws-env/aws-env.go:62 +0x17d
main.main()
	/Users/aorfin/go/aws-env/aws-env.go:37 +0x193
fatal error: Unable to locate credentials

Any idea on why it is not working? Thank you.

First Post! Switch mode

Mrjaco12

Mrjaco12

Do you have AWS credentials set in the environment where the docker images are being built? This error looks like it’s being thrown by aws-env which required and AWS_REGION to be set in the env.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement