Skip to content

Commit 09b3c07

Browse files
authored
Merge pull request #1041 from synfinatic/fix-ecs-server
ECS Server needs the secure store
2 parents 786e202 + ff9edb5 commit 09b3c07

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.vscode/launch.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Run ECS Server",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"program": "${workspaceFolder}/cmd/aws-sso/",
13+
"args": ["ecs", "server"]
14+
}
15+
]
16+
}

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Bugs
6+
7+
* Fix running the ECS server outside of docker #104a
8+
59
## [v2.0.0-beta3] - 2024-08-19
610

711
### Bugs

cmd/aws-sso/ecs_server_cmd.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ type EcsServerCmd struct {
3939

4040
// AfterApply determines if SSO auth token is required
4141
func (e EcsServerCmd) AfterApply(runCtx *RunContext) error {
42-
runCtx.Auth = AUTH_NO_CONFIG
42+
if e.Docker {
43+
runCtx.Auth = AUTH_NO_CONFIG
44+
} else {
45+
runCtx.Auth = AUTH_SKIP
46+
}
4347
return nil
4448
}
4549

0 commit comments

Comments
 (0)