##// END OF EJS Templates
automation: extract strings to constants...
Gregory Szorc -
r42870:8804aa6c stable
parent child Browse files
Show More
@@ -52,10 +52,14 b' INSTANCE_TYPES_WITH_STORAGE = {'
52 }
52 }
53
53
54
54
55 AMAZON_ACCOUNT_ID = '801119661308'
55 DEBIAN_ACCOUNT_ID = '379101102735'
56 DEBIAN_ACCOUNT_ID = '379101102735'
56 UBUNTU_ACCOUNT_ID = '099720109477'
57 UBUNTU_ACCOUNT_ID = '099720109477'
57
58
58
59
60 WINDOWS_BASE_IMAGE_NAME = 'Windows_Server-2019-English-Full-Base-2019.07.12'
61
62
59 KEY_PAIRS = {
63 KEY_PAIRS = {
60 'automation',
64 'automation',
61 }
65 }
@@ -1046,9 +1050,7 b' def ensure_windows_dev_ami(c: AWSConnect'
1046
1050
1047 name = '%s%s' % (prefix, 'windows-dev')
1051 name = '%s%s' % (prefix, 'windows-dev')
1048
1052
1049 image = find_image(ec2resource,
1053 image = find_image(ec2resource, AMAZON_ACCOUNT_ID, WINDOWS_BASE_IMAGE_NAME)
1050 '801119661308',
1051 'Windows_Server-2019-English-Full-Base-2019.07.12')
1052
1054
1053 config = {
1055 config = {
1054 'BlockDeviceMappings': [
1056 'BlockDeviceMappings': [
General Comments 0
You need to be logged in to leave comments. Login now