Skip to content

Commit c09e4c4

Browse files
authored
Fixed AWS runs (#109)
1 parent a578b6e commit c09e4c4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

acceptance/testenv/loaded.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,16 @@ func (l *loadedEnv) Name() string {
2828

2929
// Configure implemets config.Loader interface
3030
func (l *loadedEnv) Configure(cfg *config.Config) error {
31-
cfg.Credentials = l.v.creds
31+
if cfg.IsAzure() {
32+
cfg.Credentials = l.v.creds
33+
}
3234
for _, a := range config.ConfigAttributes {
3335
for _, ev := range a.EnvVars {
3436
v, ok := l.vars[ev]
3537
if !ok {
3638
continue
3739
}
38-
// if a.Sensitive && l.v.a != nil {
39-
// // mask out sensitive value from github actions output if any
40-
// // see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-masking-and-passing-a-secret-between-jobs-or-workflows
41-
// l.v.a.AddMask(v)
42-
// }
40+
// TODO: redact only sensitive values out
4341
err := a.SetS(cfg, v)
4442
if err != nil {
4543
return fmt.Errorf("set %s: %w", a.Name, err)

0 commit comments

Comments
 (0)