Skip to content

Commit bb73cd3

Browse files
committed
fix(meta): provider configuration takes precedence over env
1 parent d7d69c3 commit bb73cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/meta/meta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func loadProfile(ctx context.Context, d *schema.ResourceData) (*scw.Profile, *Cr
222222
}
223223
}
224224

225-
profile := scw.MergeProfiles(defaultZoneProfile, activeProfile, providerProfile, envProfile)
225+
profile := scw.MergeProfiles(defaultZoneProfile, activeProfile, envProfile, providerProfile)
226226
credentialsSource := GetCredentialsSource(defaultZoneProfile, activeProfile, providerProfile, envProfile)
227227

228228
// If profile have a defaultZone but no defaultRegion we set the defaultRegion

0 commit comments

Comments
 (0)