Invalid Configuration: Missing Region when pushing global config
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
- #2938 von @mikeland73 — ohne Merge geschlossen
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Go
- Sterne
- 12.4k
- Forks
- 358
- Ø Merge
- 17 Std. 12 Min.
- Gemergte PRs (30 T.)
- 31
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus jetify-com/devbox
-
feature triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
jetify-com/devbox#3038 ·
Maintainer antworten meist innerhalb von 1 Tag
-
pulumi is outdatedOffenbug p4 package processed triage unrelated
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
jetify-com/devbox#2898 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
p4 processed unrelated
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
jetify-com/devbox#2750 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
StorydenOffenp4 package processed triage unrelated
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
jetify-com/devbox#2685 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
looks easy p4 package processed triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 60/100
jetify-com/devbox#2656 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in jetify-com/devbox
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
[FEATURE]: Set fieldPath and reason on the CEL validation rulesEvtl. vergeben @bjosv hat das heute übernommen. Offenenhancement needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
valkey-io/valkey-operator#618 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
agent-butler-finding bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
jordansmall/spindrift#6414 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Icinga/icinga-kubernetes#294 ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Cluster details: the Control Plane version field has a different border color than its icon boxOffenkind/design sig/ui
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
kubermatic/dashboard#8449 ·
Maintainer antworten meist innerhalb von 1 Tag