fix: use hard coded "global" scope for organization creation

This commit is contained in:
Jeff Malnick committed 2020-09-04 08:09:32 -07:00
1 parent 8a8f806357
commit 97f24b8bcd
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ func resourceOrganizationCreate(d *schema.ResourceData, meta interface{}) error
o, _, err = scp.Create(
ctx,
client.ScopeId(),
"global", //client.ScopeId(),
scopes.WithName(o.Name),
scopes.WithDescription(o.Description))
if err != nil {