mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 18:04:02 -07:00
Remove object name validation.
This commit is contained in:
parent
b55fd5f67a
commit
a8059c68d0
7 changed files with 0 additions and 44 deletions
|
@ -160,8 +160,6 @@ except ImportError:
|
|||
pass
|
||||
|
||||
|
||||
NAME_PATTERN = re.compile(r"^[a-z0-9]+$")
|
||||
|
||||
|
||||
class AzureRMStorageAccount(AzureRMModuleBase):
|
||||
|
||||
|
@ -211,9 +209,6 @@ class AzureRMStorageAccount(AzureRMModuleBase):
|
|||
# Set default location
|
||||
self.location = resource_group.location
|
||||
|
||||
if not NAME_PATTERN.match(self.name):
|
||||
self.fail("Parameter error: name must contain numbers and lowercase letters only.")
|
||||
|
||||
if len(self.name) < 3 or len(self.name) > 24:
|
||||
self.fail("Parameter error: name length must be between 3 and 24 characters.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue