Avoid duplicate Azure storage account types.
(cherry picked from commit ae4d5e3257
)
This commit is contained in:
parent
f3b394cf4c
commit
66cfb3d91e
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ class AzureRMStorageAccount(AzureRMModuleBase):
|
|||
|
||||
if HAS_AZURE:
|
||||
for key in self.storage_models.SkuName:
|
||||
self.module_arg_spec['account_type']['choices'].append(getattr(key, 'value'))
|
||||
if getattr(key, 'value') not in self.module_arg_spec['account_type']['choices']:
|
||||
self.module_arg_spec['account_type']['choices'].append(getattr(key, 'value'))
|
||||
|
||||
self.results = dict(
|
||||
changed=False,
|
||||
|
|
Loading…
Reference in a new issue