Skip to content

Commit 81c956c

Browse files
committed
Fix
1 parent 200c4ff commit 81c956c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/meta/meta.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ func loadProfile(ctx context.Context, d *schema.ResourceData) (*scw.Profile, *Cr
166166
var configFileNotFoundError *scw.ConfigFileNotFoundError
167167
if errors.As(err, &configFileNotFoundError) {
168168
config = &scw.Config{}
169+
} else if err != nil {
170+
return nil, nil, err
169171
}
170172

171173
// By default we set default zone and region to fr-par

0 commit comments

Comments
 (0)