a fix by replacing subscription with subscriptions (#55797)
This commit is contained in:
parent
149336319a
commit
ae7b6739ce
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class AzureRMRoleDefinition(AzureRMModuleBase):
|
|||
|
||||
# build scope
|
||||
def build_scope(self):
|
||||
subscription_scope = '/subscription/' + self.subscription_id
|
||||
subscription_scope = '/subscriptions/' + self.subscription_id
|
||||
if self.scope is None:
|
||||
return subscription_scope
|
||||
return self.scope
|
||||
|
|
Loading…
Reference in a new issue