from .interface import TerraformInterface
-__version__ = '1.4.3'
+__version__ = '1.4.4'
LOG = logging.getLogger(__name__)
re_memory_value = re.compile(r'^\s*(\d+(?:\.\d*)?)\s*(?:(\D+)\s*)?$')
re_invalid_chars = re.compile(r'[^a-z0-9@\._-]', re.IGNORECASE)
+ re_invalid_chars_role = re.compile(r'[^a-z0-9:@\._-]', re.IGNORECASE)
re_disk_size = re.compile(r'^\s*size\s*$', re.IGNORECASE)
re_disk_mountpoint = re.compile(r'^\s*mount[_-]?point\s*$', re.IGNORECASE)
return True
if cls.re_key_puppet_role.search(key) and val_stripped:
- if cls.re_invalid_chars.search(val_stripped):
+ if cls.re_invalid_chars_role.search(val_stripped):
LOG.error(_("Invalid puppet role {!r}.").format(value))
else:
vm.puppet_role = val_stripped