We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a55726 commit 27b859bCopy full SHA for 27b859b
pycloudlib/ec2/cloud.py
@@ -216,7 +216,7 @@ def _find_image_serial(
216
raise Exception("Could not find image: {}".format(image_id))
217
218
image_name = images["Images"][0].get("Name", "")
219
- serial_regex = r"ubuntu/.*/.*/.*-(?P<serial>\d+)$"
+ serial_regex = r"ubuntu/.*/.*/.*-(?P<serial>\d+(\.\d+)?))$"
220
serial_match = re.match(serial_regex, image_name)
221
222
if not serial_match:
0 commit comments