-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwatchmaker windows.yaml
2006 lines (2006 loc) · 76.2 KB
/
watchmaker windows.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
ServiceNowCloudBlueprint:
name: watchmaker windows
category: Compute
deploymentModel:
- resource: AWS Datacenter
resourceblock: ServiceNow::AWS Datacenter
- resource: watchmaker windows
resourceblock: AWSCloudFormation::watchmaker windows
host: AWS Datacenter
operations:
- operation: Provision
operationType: PROVISION
resourceOperations:
- name: watchmaker windows.Provision
order: '1'
resourceBlock: watchmaker windows
resourceInterface: watchmaker windows Interface
operation: Provision
parameters:
- name: WatchmakerEnvironment
defaultValue: ${parameter.watchmaker_windows_WatchmakerEnvironment}
typeOfMap: SingleMap
useInOperation: true
- name: WatchmakerAdminUsers
defaultValue: ${parameter.watchmaker_windows_WatchmakerAdminUsers}
typeOfMap: SingleMap
useInOperation: true
- name: SecurityGroupIds
defaultValue: ${parameter.watchmaker_windows_SecurityGroupIds}
typeOfMap: SingleMap
useInOperation: true
- name: Location
defaultValue: ${parameter.Location}
typeOfMap: SingleMap
useInOperation: false
- name: InstanceRole
defaultValue: ${parameter.watchmaker_windows_InstanceRole}
typeOfMap: SingleMap
useInOperation: true
- name: AppVolumeSize
defaultValue: ${parameter.watchmaker_windows_AppVolumeSize}
typeOfMap: SingleMap
useInOperation: true
- name: NoReboot
defaultValue: ${parameter.watchmaker_windows_NoReboot}
typeOfMap: SingleMap
useInOperation: true
- name: WatchmakerConfig
defaultValue: ${parameter.watchmaker_windows_WatchmakerConfig}
typeOfMap: SingleMap
useInOperation: true
- name: WatchmakerAdminGroups
defaultValue: ${parameter.watchmaker_windows_WatchmakerAdminGroups}
typeOfMap: SingleMap
useInOperation: true
- name: PythonInstaller
defaultValue: ${parameter.watchmaker_windows_PythonInstaller}
typeOfMap: SingleMap
useInOperation: true
- name: CloudAccount
defaultValue: ${parameter.CloudAccount}
typeOfMap: SingleMap
useInOperation: false
- name: CloudWatchAgentUrl
defaultValue: ${parameter.watchmaker_windows_CloudWatchAgentUrl}
typeOfMap: SingleMap
useInOperation: true
- name: AppVolumeDevice
defaultValue: ${parameter.watchmaker_windows_AppVolumeDevice}
typeOfMap: SingleMap
useInOperation: true
- name: NoPublicIp
defaultValue: ${parameter.watchmaker_windows_NoPublicIp}
typeOfMap: SingleMap
useInOperation: true
- name: WatchmakerComputerName
defaultValue: ${parameter.watchmaker_windows_WatchmakerComputerName}
typeOfMap: SingleMap
useInOperation: true
- name: ToggleCfnInitUpdate
defaultValue: ${parameter.watchmaker_windows_ToggleCfnInitUpdate}
typeOfMap: SingleMap
useInOperation: true
- name: PypiIndexUrl
defaultValue: ${parameter.watchmaker_windows_PypiIndexUrl}
typeOfMap: SingleMap
useInOperation: true
- name: CustomTags
defaultValue: ${parameter.watchmaker_windows_CustomTags}
typeOfMap: SingleMap
useInOperation: false
- name: AmiId
defaultValue: ${parameter.watchmaker_windows_AmiId}
typeOfMap: SingleMap
useInOperation: true
- name: CfnEndpointUrl
defaultValue: ${parameter.watchmaker_windows_CfnEndpointUrl}
typeOfMap: SingleMap
useInOperation: true
- name: AppScriptUrl
defaultValue: ${parameter.watchmaker_windows_AppScriptUrl}
typeOfMap: SingleMap
useInOperation: true
- name: KeyPairName
defaultValue: ${parameter.watchmaker_windows_KeyPairName}
typeOfMap: SingleMap
useInOperation: true
- name: WatchmakerBootstrapper
defaultValue: ${parameter.watchmaker_windows_WatchmakerBootstrapper}
typeOfMap: SingleMap
useInOperation: true
- name: SubnetId
defaultValue: ${parameter.watchmaker_windows_SubnetId}
typeOfMap: SingleMap
useInOperation: true
- name: PrivateIp
defaultValue: ${parameter.watchmaker_windows_PrivateIp}
typeOfMap: SingleMap
useInOperation: true
- name: WatchmakerOuPath
defaultValue: ${parameter.watchmaker_windows_WatchmakerOuPath}
typeOfMap: SingleMap
useInOperation: true
- name: AppVolumeType
defaultValue: ${parameter.watchmaker_windows_AppVolumeType}
typeOfMap: SingleMap
useInOperation: true
- name: AppScriptParams
defaultValue: ${parameter.watchmaker_windows_AppScriptParams}
typeOfMap: SingleMap
useInOperation: true
- name: InstanceType
defaultValue: ${parameter.watchmaker_windows_InstanceType}
typeOfMap: SingleMap
useInOperation: true
- name: Blueprint Container Resource.Provision
order: '2'
resourceBlock: watchmaker windows Blueprint Resource
resourceInterface: watchmaker windows Resource Interface
operation: Provision
parameters:
- name: EndDate
defaultValue: ${parameter.EndDate}
typeOfMap: SingleMap
useInOperation: false
- name: BillingCode
defaultValue: ${parameter.BillingCode}
typeOfMap: SingleMap
useInOperation: false
- name: ResourceGroup
defaultValue: ${parameter.ResourceGroup}
typeOfMap: SingleMap
useInOperation: false
- name: WorkloadConfigProvider
defaultValue: ${parameter.WorkloadConfigProvider}
typeOfMap: SingleMap
useInOperation: false
- name: UserGroup
defaultValue: ${parameter.UserGroup}
typeOfMap: SingleMap
useInOperation: true
- name: BusinessService
defaultValue: ${parameter.BusinessService}
typeOfMap: SingleMap
useInOperation: false
- name: StackName
defaultValue: ${parameter.StackName}
typeOfMap: SingleMap
useInOperation: true
- name: Project
defaultValue: ${parameter.Project}
typeOfMap: SingleMap
useInOperation: false
- name: ResourceGroupName
defaultValue: ${parameter.ResourceGroupName}
typeOfMap: SingleMap
useInOperation: false
- name: AdditionalAPIParameters
defaultValue: ${parameter.AdditionalAPIParameters}
typeOfMap: SingleMap
useInOperation: false
- name: Location
defaultValue: ${parameter.Location}
typeOfMap: SingleMap
useInOperation: true
- name: StartDate
defaultValue: ${parameter.StartDate}
typeOfMap: SingleMap
useInOperation: false
- name: WorkloadConfigProviderType
defaultValue: ${parameter.WorkloadConfigProviderType}
typeOfMap: SingleMap
useInOperation: false
- name: CostCenter
defaultValue: ${parameter.CostCenter}
typeOfMap: SingleMap
useInOperation: false
- name: CloudAccount
defaultValue: ${parameter.CloudAccount}
typeOfMap: SingleMap
useInOperation: true
- name: Application
defaultValue: ${parameter.Application}
typeOfMap: SingleMap
useInOperation: false
- name: CreateResourceGroup
defaultValue: ${parameter.CreateResourceGroup}
typeOfMap: SingleMap
useInOperation: false
- name: SubscriptionId
defaultValue: ${parameter.SubscriptionId}
typeOfMap: SingleMap
useInOperation: false
globalProperties:
- name: watchmaker_windows_SecurityGroupIds
opUniqueId: '1240'
mandatory: true
order: 483
- name: watchmaker_windows_WatchmakerEnvironment
opUniqueId: '1240'
mandatory: true
order: 815
- name: watchmaker_windows_WatchmakerAdminUsers
opUniqueId: '1240'
mandatory: true
order: 641
- name: UserGroup
opUniqueId: '7433'
mandatory: true
order: 1075
- name: watchmaker_windows_NoReboot
opUniqueId: '1240'
mandatory: true
order: 341
- name: watchmaker_windows_InstanceRole
opUniqueId: '1240'
mandatory: true
order: 215
- name: watchmaker_windows_AppVolumeSize
opUniqueId: '1240'
mandatory: true
order: 105
- name: watchmaker_windows_PythonInstaller
opUniqueId: '1240'
mandatory: true
order: 446
- name: watchmaker_windows_WatchmakerConfig
opUniqueId: '1240'
mandatory: true
order: 770
- name: watchmaker_windows_WatchmakerAdminGroups
opUniqueId: '1240'
mandatory: true
order: 600
- name: StackName
opUniqueId: '7433'
mandatory: true
order: 1004
- name: watchmaker_windows_NoPublicIp
opUniqueId: '1240'
mandatory: true
order: 308
- name: watchmaker_windows_CloudWatchAgentUrl
opUniqueId: '1240'
mandatory: true
order: 186
- name: watchmaker_windows_AppVolumeDevice
opUniqueId: '1240'
mandatory: true
order: 80
- name: watchmaker_windows_PypiIndexUrl
opUniqueId: '1240'
mandatory: true
order: 410
- name: watchmaker_windows_WatchmakerComputerName
opUniqueId: '1240'
mandatory: true
order: 726
- name: watchmaker_windows_ToggleCfnInitUpdate
opUniqueId: '1240'
mandatory: true
order: 560
- name: Location
opUniqueId: '7433'
mandatory: true
order: 943
- name: watchmaker_windows_KeyPairName
opUniqueId: '1240'
mandatory: true
order: 276
- name: watchmaker_windows_CfnEndpointUrl
opUniqueId: '1240'
mandatory: true
order: 158
- name: watchmaker_windows_AppScriptUrl
opUniqueId: '1240'
mandatory: true
order: 56
- name: watchmaker_windows_PrivateIp
opUniqueId: '1240'
mandatory: true
order: 375
- name: watchmaker_windows_WatchmakerBootstrapper
opUniqueId: '1240'
mandatory: true
order: 683
- name: watchmaker_windows_SubnetId
opUniqueId: '1240'
mandatory: true
order: 521
- name: watchmaker_windows_WatchmakerOuPath
opUniqueId: '1240'
mandatory: true
order: 861
- name: CloudAccount
opUniqueId: '7433'
mandatory: true
order: 892
- name: watchmaker_windows_AmiId
opUniqueId: '1240'
mandatory: true
order: 11
- name: watchmaker_windows_InstanceType
opUniqueId: '1240'
mandatory: true
order: 245
- name: watchmaker_windows_AppVolumeType
opUniqueId: '1240'
mandatory: true
order: 131
- name: watchmaker_windows_AppScriptParams
opUniqueId: '1240'
mandatory: true
order: 33
formBehaviors:
- aliasName: watchmaker windows
parentFormBehaviorName: watchmaker windows
catalogName: watchmaker windows
createCatalog: true
catalogProperties:
- catalogProperty: watchmaker_windows_AmiId
name: watchmaker_windows_AmiId
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: ID of the AMI to launch
displayName: AmiId
displayOrder: 11
visibility: true
regex: ^ami-[0-9a-z]{8}$|^ami-[0-9a-z]{17}$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_AppScriptParams
name: watchmaker_windows_AppScriptParams
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: Parameter string to pass to the application script. Ignored if "AppScriptUrl" is blank
displayName: AppScriptParams
displayOrder: 33
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_AppScriptUrl
name: watchmaker_windows_AppScriptUrl
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) S3 URL to the .ps1 or .bat application script in an S3 bucket (s3://). Leave blank to launch without an application script. If specified, an appropriate "InstanceRole" is required
displayName: AppScriptUrl
displayOrder: 56
visibility: true
regex: ^$|^s3://(.*)/(.*)\.(bat|ps1)$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_AppVolumeDevice
name: watchmaker_windows_AppVolumeDevice
parameterTypeName: String
defaultValue: ''
dataSource: CSVList
dataSourceValue: xvdf,xvde,xvdg,xvdh,xvdi
uiDataType: Select
helpText: (Optional) Device to mount an extra EBS volume. Leave blank to launch without an extra application volume
displayName: AppVolumeDevice
displayOrder: 80
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_AppVolumeSize
name: watchmaker_windows_AppVolumeSize
parameterTypeName: Integer
defaultValue: '1'
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: Size in GB of the EBS volume to create. Ignored if "AppVolumeDevice" is blank
displayName: AppVolumeSize
displayOrder: 105
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_AppVolumeType
name: watchmaker_windows_AppVolumeType
parameterTypeName: String
defaultValue: gp2
dataSource: CSVList
dataSourceValue: gp2,io1,sc1,st1,standard
uiDataType: Select
helpText: Type of EBS volume to create. Ignored if "AppVolumeDevice" is blank
displayName: AppVolumeType
displayOrder: 131
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_CfnEndpointUrl
name: watchmaker_windows_CfnEndpointUrl
parameterTypeName: String
defaultValue: https://cloudformation.us-east-1.amazonaws.com
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) URL to the CloudFormation Endpoint. e.g. https://cloudformation.us-east-1.amazonaws.com
displayName: CfnEndpointUrl
displayOrder: 158
visibility: true
regex: ^$|^http[s]?://.*$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_CloudWatchAgentUrl
name: watchmaker_windows_CloudWatchAgentUrl
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: '(Optional) S3 URL to CloudWatch Agent installer. Example: s3://amazoncloudwatch-agent/windows/amd64/latest/AmazonCloudWatchAgent.zip'
displayName: CloudWatchAgentUrl
displayOrder: 186
visibility: true
regex: ^$|^s3://.*$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_InstanceRole
name: watchmaker_windows_InstanceRole
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) IAM instance role to apply to the instance(s)
displayName: InstanceRole
displayOrder: 215
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_InstanceType
name: watchmaker_windows_InstanceType
parameterTypeName: String
defaultValue: t2.micro
dataSource: CSVList
dataSourceValue: t2.micro,t2.small,t2.medium,t2.large,t2.xlarge,c4.large,c4.xlarge,m4.large,m4.xlarge,c5.large,c5.xlarge,m5.large,m5.xlarge
uiDataType: Select
helpText: Amazon EC2 instance type
displayName: InstanceType
displayOrder: 245
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_KeyPairName
name: watchmaker_windows_KeyPairName
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: Public/private key pairs allow you to securely connect to your instance after it launches
displayName: KeyPairName
displayOrder: 276
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_NoPublicIp
name: watchmaker_windows_NoPublicIp
parameterTypeName: String
defaultValue: 'true'
dataSource: CSVList
dataSourceValue: false,true
uiDataType: Select
helpText: Controls whether to assign the instance a public IP. Recommended to leave at "true" _unless_ launching in a public subnet
displayName: NoPublicIp
displayOrder: 308
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_NoReboot
name: watchmaker_windows_NoReboot
parameterTypeName: String
defaultValue: 'false'
dataSource: CSVList
dataSourceValue: false,true
uiDataType: Select
helpText: Controls whether to reboot the instance as the last step of cfn-init execution
displayName: NoReboot
displayOrder: 341
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_PrivateIp
name: watchmaker_windows_PrivateIp
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) Set a static, primary private IP. Leave blank to auto-select a free IP
displayName: PrivateIp
displayOrder: 375
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_PypiIndexUrl
name: watchmaker_windows_PypiIndexUrl
parameterTypeName: String
defaultValue: https://pypi.org/simple
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: URL to the PyPi Index
displayName: PypiIndexUrl
displayOrder: 410
visibility: true
regex: ^http[s]?://.*$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_PythonInstaller
name: watchmaker_windows_PythonInstaller
parameterTypeName: String
defaultValue: https://www.python.org/ftp/python/3.6.4/python-3.6.4-amd64.exe
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: URL to the Python Installer Executable
displayName: PythonInstaller
displayOrder: 446
visibility: true
regex: ^http[s]?://.*\.exe$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_SecurityGroupIds
name: watchmaker_windows_SecurityGroupIds
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: List of security groups to apply to the instance
displayName: SecurityGroupIds
displayOrder: 483
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_SubnetId
name: watchmaker_windows_SubnetId
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: ID of the subnet to assign to the instance
displayName: SubnetId
displayOrder: 521
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_ToggleCfnInitUpdate
name: watchmaker_windows_ToggleCfnInitUpdate
parameterTypeName: String
defaultValue: A
dataSource: CSVList
dataSourceValue: A,B
uiDataType: Select
helpText: A/B toggle that forces a change to instance metadata, triggering the cfn-init update sequence
displayName: ToggleCfnInitUpdate
displayOrder: 560
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_WatchmakerAdminGroups
name: watchmaker_windows_WatchmakerAdminGroups
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) Colon-separated list of domain groups that should have admin permissions on the EC2 instance
displayName: WatchmakerAdminGroups
displayOrder: 600
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_WatchmakerAdminUsers
name: watchmaker_windows_WatchmakerAdminUsers
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) Colon-separated list of domain users that should have admin permissions on the EC2 instance
displayName: WatchmakerAdminUsers
displayOrder: 641
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_WatchmakerBootstrapper
name: watchmaker_windows_WatchmakerBootstrapper
parameterTypeName: String
defaultValue: https://raw.githubusercontent.com/plus3it/watchmaker/master/docs/files/bootstrap/watchmaker-bootstrap.ps1
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: URL to the Watchmaker PowerShell bootstrapper for Windows
displayName: WatchmakerBootstrapper
displayOrder: 683
visibility: true
regex: ^$|^http[s]?://.*\.ps1$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: true
- catalogProperty: watchmaker_windows_WatchmakerComputerName
name: watchmaker_windows_WatchmakerComputerName
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) Sets the hostname/computername within the OS
displayName: WatchmakerComputerName
displayOrder: 726
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_WatchmakerConfig
name: watchmaker_windows_WatchmakerConfig
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) Path to a Watchmaker config file. The config file path can be a remote source (i.e. http[s]://, s3://) or local directory (i.e. file://)
displayName: WatchmakerConfig
displayOrder: 770
visibility: true
regex: ^$|^(http[s]?|s3|file)://.*$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_WatchmakerEnvironment
name: watchmaker_windows_WatchmakerEnvironment
parameterTypeName: String
defaultValue: dev
dataSource: CSVList
dataSourceValue: dev,test,prod
uiDataType: Select
helpText: Environment in which the instance is being deployed
displayName: WatchmakerEnvironment
displayOrder: 815
visibility: true
regex: ''
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: watchmaker_windows_WatchmakerOuPath
name: watchmaker_windows_WatchmakerOuPath
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: (Optional) DN of the OU to place the instance when joining a domain. If blank and "WatchmakerEnvironment" enforces a domain join, the instance will be placed in a default container. Leave blank if not
displayName: WatchmakerOuPath
displayOrder: 861
visibility: true
regex: ^$|^(OU=.+,)+(DC=.+)+$
opUniqueId: '1240'
formUIGroup: Provision
mandatory: false
- catalogProperty: CloudAccount
name: CloudAccount
parameterTypeName: String
defaultValue: ''
dataSource: Pools
dataSourceValue: ServiceNow::Pools::CloudAccountPool.All
uiDataType: Select
helpText: ''
displayName: AWS Account
displayOrder: 892
visibility: true
regex: ''
opUniqueId: '7433'
formUIGroup: General Info
mandatory: true
- catalogProperty: Location
name: Location
parameterTypeName: String
defaultValue: ''
dataSource: Pools
dataSourceValue: ServiceNow::Pools::CloudLocationPool.All
uiDataType: Select
helpText: ''
displayName: AWS Region
displayOrder: 943
visibility: true
regex: ''
opUniqueId: '7433'
formUIGroup: General Info
mandatory: true
- catalogProperty: StackName
name: StackName
parameterTypeName: String
defaultValue: ''
dataSource: Text
dataSourceValue: ''
uiDataType: TextBox
helpText: ''
displayName: Stack Name
displayOrder: 1004
visibility: true
regex: ''
opUniqueId: '7433'
formUIGroup: General Info
mandatory: true
- catalogProperty: UserGroup
name: UserGroup
parameterTypeName: String
defaultValue: ''
dataSource: Pools
dataSourceValue: ServiceNow::Pools::UserGroupPool.GroupsUserBelongsTo
uiDataType: Select
helpText: ''
displayName: User Group Tag
displayOrder: 1075
visibility: true
regex: ''
opUniqueId: '7433'
formUIGroup: General Info
mandatory: true
catalogItem:
name: watchmaker windows
type: item
category: Compute
description: CMP Blueprint
shortDescription: STIGed Windows instance
varaibleSets:
- name: General Info
description: ''
title: General Info
layout: 2across
order: 0
variables:
- name: CloudAccount
type: '5'
questionText: AWS Account
helpText: ''
defaultValue: ''
mandatory: true
active: true
showHelp: false
order: 892
- name: UserGroup
type: '5'
questionText: User Group Tag
helpText: ''
defaultValue: ''
mandatory: true
active: true
showHelp: false
order: 1075
- name: StackName
type: '6'
questionText: Stack Name
helpText: ''
defaultValue: ''
mandatory: true
active: true
showHelp: false
order: 1004
- name: Location
type: '5'
questionText: AWS Region
helpText: ''
defaultValue: ''
mandatory: true
active: true
showHelp: false
order: 943
clientScripts:
- name: Validate StackName
type: onChange
uiType: '10'
variableName: StackName
script: |-
// System generated script, please do not change
function onChange(control, oldValue, newValue, isLoading) {
BlueprintSCClient.validateCatItemParameterVariables('sn_cmp.BlueprintSCAjax',"8626fc4d0d0d1300777f631abc7ed15c", oldValue, newValue, isLoading, g_form);
if( oldValue != newValue ) {
BlueprintSCClient.executeFieldChange('sn_cmp.DynamicFormAjax',"8626fc4d0d0d1300777f631abc7ed15c", oldValue, newValue, isLoading, g_form,g_form.getUniqueValue());
}
}
active: true
- name: Validate UserGroup
type: onChange
uiType: '10'
variableName: UserGroup
script: |-
// System generated script, please do not change
function onChange(control, oldValue, newValue, isLoading) {
BlueprintSCClient.validateCatItemParameterVariables('sn_cmp.BlueprintSCAjax',"4e26fc4d0d0d1300777f631abc7ed162", oldValue, newValue, isLoading, g_form);
if( oldValue != newValue ) {
BlueprintSCClient.executeFieldChange('sn_cmp.DynamicFormAjax',"4e26fc4d0d0d1300777f631abc7ed162", oldValue, newValue, isLoading, g_form,g_form.getUniqueValue());
}
}
active: true
- name: On submit validation
type: onSubmit
uiType: '10'
script: |-
// System generated script, please do not change
function onSubmit() {
return BlueprintSCClient.beforeSubmitCloudRsrcTemplate(g_form);
}
active: true
- name: Validate Location
type: onChange
uiType: '10'
variableName: Location
script: |-
// System generated script, please do not change
function onChange(control, oldValue, newValue, isLoading) {
BlueprintSCClient.validateCatItemParameterVariables('sn_cmp.BlueprintSCAjax',"ce26fc4d0d0d1300777f631abc7ed155", oldValue, newValue, isLoading, g_form);
if( oldValue != newValue ) {
BlueprintSCClient.executeFieldChange('sn_cmp.DynamicFormAjax',"ce26fc4d0d0d1300777f631abc7ed155", oldValue, newValue, isLoading, g_form,g_form.getUniqueValue());
}
}
active: true
- name: Validate CloudAccount
type: onChange
uiType: '10'
variableName: CloudAccount
script: |-
// System generated script, please do not change
function onChange(control, oldValue, newValue, isLoading) {
BlueprintSCClient.validateCatItemParameterVariables('sn_cmp.BlueprintSCAjax',"0a26fc4d0d0d1300777f631abc7ed14f", oldValue, newValue, isLoading, g_form);
if( oldValue != newValue ) {
BlueprintSCClient.executeFieldChange('sn_cmp.DynamicFormAjax',"0a26fc4d0d0d1300777f631abc7ed14f", oldValue, newValue, isLoading, g_form,g_form.getUniqueValue());
}
}
active: true
- name: Provision
description: ''
title: Provision
layout: 2across
order: 1
variables:
- name: watchmaker_windows_CloudWatchAgentUrl
type: '6'
questionText: CloudWatchAgentUrl
helpText: '(Optional) S3 URL to CloudWatch Agent installer. Example: s3://amazoncloudwatch-agent/windows/amd64/latest/AmazonCloudWatchAgent.zip'
defaultValue: ''
mandatory: false
active: true
showHelp: true
order: 186
- name: watchmaker_windows_InstanceRole
type: '6'
questionText: InstanceRole
helpText: (Optional) IAM instance role to apply to the instance(s)
defaultValue: ''
mandatory: false
active: true
showHelp: true
order: 215
- name: watchmaker_windows_NoReboot
type: '5'
questionText: NoReboot
helpText: Controls whether to reboot the instance as the last step of cfn-init execution
defaultValue: 'false'
mandatory: true
active: true
showHelp: true
order: 341
- name: watchmaker_windows_WatchmakerAdminUsers
type: '6'
questionText: WatchmakerAdminUsers
helpText: (Optional) Colon-separated list of domain users that should have admin permissions on the EC2 instance
defaultValue: ''
mandatory: false
active: true
showHelp: true
order: 641
- name: watchmaker_windows_SecurityGroupIds
type: '6'
questionText: SecurityGroupIds
helpText: List of security groups to apply to the instance
defaultValue: ''
mandatory: true
active: true
showHelp: true
order: 483
- name: watchmaker_windows_AppVolumeSize
type: '6'
questionText: AppVolumeSize
helpText: Size in GB of the EBS volume to create. Ignored if "AppVolumeDevice" is blank
defaultValue: '1'
mandatory: false
active: true
showHelp: true
order: 105
- name: watchmaker_windows_AppScriptParams
type: '6'
questionText: AppScriptParams
helpText: Parameter string to pass to the application script. Ignored if "AppScriptUrl" is blank
defaultValue: ''
mandatory: false
active: true
showHelp: true
order: 33
- name: watchmaker_windows_CfnEndpointUrl
type: '6'
questionText: CfnEndpointUrl
helpText: (Optional) URL to the CloudFormation Endpoint. e.g. https://cloudformation.us-east-1.amazonaws.com
defaultValue: https://cloudformation.us-east-1.amazonaws.com
mandatory: true
active: true
showHelp: true
order: 158
- name: watchmaker_windows_NoPublicIp
type: '5'
questionText: NoPublicIp
helpText: Controls whether to assign the instance a public IP. Recommended to leave at "true" _unless_ launching in a public subnet
defaultValue: 'true'
mandatory: true
active: true
showHelp: true
order: 308
- name: watchmaker_windows_PythonInstaller
type: '6'
questionText: PythonInstaller
helpText: URL to the Python Installer Executable
defaultValue: https://www.python.org/ftp/python/3.6.4/python-3.6.4-amd64.exe
mandatory: true
active: true
showHelp: true
order: 446
- name: watchmaker_windows_WatchmakerAdminGroups
type: '6'
questionText: WatchmakerAdminGroups