diff --git a/contrib/automation/hgautomation/aws.py b/contrib/automation/hgautomation/aws.py
index 92a99822e731e4fdc785b4000f664deccff641f9_Y29udHJpYi9hdXRvbWF0aW9uL2hnYXV0b21hdGlvbi9hd3MucHk=..8804aa6c07a0fa114c7208b33d891837ed7e655a_Y29udHJpYi9hdXRvbWF0aW9uL2hnYXV0b21hdGlvbi9hd3MucHk= 100644
--- a/contrib/automation/hgautomation/aws.py
+++ b/contrib/automation/hgautomation/aws.py
@@ -52,7 +52,8 @@
 }
 
 
+AMAZON_ACCOUNT_ID = '801119661308'
 DEBIAN_ACCOUNT_ID = '379101102735'
 UBUNTU_ACCOUNT_ID = '099720109477'
 
 
@@ -55,7 +56,10 @@
 DEBIAN_ACCOUNT_ID = '379101102735'
 UBUNTU_ACCOUNT_ID = '099720109477'
 
 
+WINDOWS_BASE_IMAGE_NAME = 'Windows_Server-2019-English-Full-Base-2019.07.12'
+
+
 KEY_PAIRS = {
     'automation',
 }
@@ -1046,9 +1050,7 @@
 
     name = '%s%s' % (prefix, 'windows-dev')
 
-    image = find_image(ec2resource,
-                       '801119661308',
-                       'Windows_Server-2019-English-Full-Base-2019.07.12')
+    image = find_image(ec2resource, AMAZON_ACCOUNT_ID, WINDOWS_BASE_IMAGE_NAME)
 
     config = {
         'BlockDeviceMappings': [