Skip to content

Commit d708b5a

Browse files
author
Askar Sabyrov
committed
[terraform] define SystemScope in AuthInfo
1 parent e15d7ee commit d708b5a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

terraform/auth/config.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ func (c *Config) LoadAndValidate() error {
151151
ApplicationCredentialName: c.ApplicationCredentialName,
152152
ApplicationCredentialSecret: c.ApplicationCredentialSecret,
153153
}
154+
155+
// Define System Scope if enabled
156+
if c.AuthOpts.Scope.System {
157+
authInfo.SystemScope = "true"
158+
}
159+
154160
clientOpts.AuthInfo = authInfo
155161
}
156162

0 commit comments

Comments
 (0)