Invalid Configuration: Missing Region when pushing global config
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
- #2938 par @mikeland73 — fermée sans fusion
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
Piste de recherche
The report identifies devbox global push and an AWS STS AssumeRoleWithWebIdentity failure, but does not name implementation files or tests. Start by tracing the global push command and its cloud authentication/STS setup, then look for tests covering that flow. Done means the reported missing-region failure is handled and the global push flow is verified; a related pull request is closed and unmerged.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
What happened?
I tried to push my global config to a private git repo, this failed so setup a Jetify account, logged in with it on the devbox CLI and then tried to push:
devbox global push
Info: Pushing global config
Info: Logged in as sander@h*******.**m, pushing to to devbox cloud (profile: default)
Error: operation error STS: AssumeRoleWithWebIdentity, failed to resolve service endpoint, endpoint rule error, Invalid Configuration: Missing Region
Steps to reproduce
- devbox auth login
- sign up for an account
- devbox global push
Command
global
devbox.json
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json",
"packages": {
"php": {
"version": "8.2",
"outputs": ["cli"]
},
"glibcLocales": "latest",
"ripgrep": "latest"
},
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
Devbox version
0.14.2
Nix version
nix (Nix) 2.24.12
What system does this bug occur on?
Linux (x86-64)
Debug logs
time=2025-04-21T14:01:02.217+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-04-21T14:01:02.217+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/sander/.local/share/devbox/global/default/devbox.json dur=165.328µs
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=php mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=glibcLocales mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=ripgrep mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/sander/.local/share/devbox/global/default/devbox.json dur=41.86µs
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=php mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=glibcLocales mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=ripgrep mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:91 msg="searching for config file (excluding parent directories)" path=/home/sander/.local/share/devbox/global/default
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=/home/sander/.local/share/devbox/global/default/devbox.json
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:96 msg="config file found" path=/home/sander/.local/share/devbox/global/default/devbox.json dur=46.089µs
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=php mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=glibcLocales mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=ripgrep mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.218+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
[33mInfo: [0mPushing global config
[33mInfo: [0mLogged in as sander@h********.**m, pushing to to devbox cloud (profile: default)
[31mError: operation error STS: AssumeRoleWithWebIdentity, failed to resolve service endpoint, endpoint rule error, Invalid Configuration: Missing Region
[0mtime=2025-04-21T14:01:02.223+01:00 level=ERROR source=go.jetify.com/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=0160fc9f7fc64a63986e5678a4bbbc5f stack=<nil>
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/sander/.local/share/devbox/global/default/devbox.json dur=55.179µs
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=php mode=auto
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=glibcLocales mode=auto
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=ripgrep mode=auto
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.223+01:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg="" mode=auto
time=2025-04-21T14:01:02.233+01:00 level=DEBUG source=go.jetify.com/devbox/nix/nix.go:143 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' --version --debug"
time=2025-04-21T14:01:02.249+01:00 level=DEBUG source=go.jetify.com/devbox/nix/nix.go:143 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' --version --debug" cmd.path=/usr/bin/nix cmd.pid=80127 cmd.code=0 cmd.dur=16.19921ms
- Langage dominant
- Go
- Étoiles
- 12.4k
- Forks
- 358
- Merge moyen
- 17 h 12 min
- PR mergées (30 j)
- 31
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de jetify-com/devbox
-
feature triage
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
jetify-com/devbox#3038 ·
Les mainteneurs répondent en général sous 1 jour
-
pulumi is outdatedOuvertebug p4 package processed triage unrelated
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
jetify-com/devbox#2898 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
p4 processed unrelated
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
jetify-com/devbox#2750 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
StorydenOuvertep4 package processed triage unrelated
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
jetify-com/devbox#2685 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[Plugin Request]: apacheKafkaOuvertelooks easy p4 package processed triage
Difficulté 2/5 1-3 heures Accessibilité débutants 60/100
jetify-com/devbox#2656 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de jetify-com/devbox
Issues similaires
-
component:obi contribfest go test
Difficulté 2/5 Moins d'une heure Accessibilité débutants 83/100
open-telemetry/opentelemetry-ebpf-instrumentation#4143 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area/ambient
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
kind/cleanup
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
kubernetes-sigs/kueue#18324 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100