generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.yml
4128 lines (3786 loc) · 125 KB
/
schema.yml
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
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
title: "OCI Zero Trust Landing Zone"
stackDescription: "This stack deploys the OCI Zero Trust Landing Zone, a fully operational tenancy that combines the recommendations of CIS Foundations Benchmark for OCI with OCI Zero Trust architecture best practices. For details, please see https://github.com/oci-landing-zones/terraform-oci-zero-trust-landingzone"
description: "This stack deploys the OCI Zero Trust Landing Zone, a fully operational tenancy that combines the recommendations of CIS Foundations Benchmark for OCI with OCI Zero Trust architecture best practices. For details, please see <a href=\"https://github.com/oci-landing-zones/terraform-oci-zero-trust-landingzone\">OCI Zero Trust Landing Zone</a>."
schemaVersion: 1.1.0
version: "0.0.1"
locale: "en"
# URL of OCI Core Landing Zone logo icon used on Application Information tab.
logoUrl: "https://objectstorage.us-ashburn-1.oraclecloud.com/p/taf6kC9fSJyQDNSYbxvqxS_JsdnSu56oFZ3-1h5vI7-WfJUv77mplChopLxZPePW/n/ociateam/b/cis-landing-zone/o/landing_zone_130.png"
variableGroups:
- title: "General"
variables:
- "region"
- "cis_level"
- "service_label"
- title: "Compartments"
variables:
- "enclosing_compartment_options"
- "enclosing_compartment_parent_ocid"
- "existing_enclosing_compartment_ocid"
- "deploy_exainfra_cmp"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- title: "Identity Domains"
variables:
- "use_custom_id_domain"
- "custom_id_domain_name"
# - "deploy_id_domain"
# - "id_domain_name"
# - "id_domain_type"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- title: "Groups (Existing Identity Domain)"
variables:
- "rm_existing_id_domain_iam_admin_group_name"
- "rm_existing_id_domain_cred_admin_group_name"
- "rm_existing_id_domain_security_admin_group_name"
- "rm_existing_id_domain_ag_admin_group_name"
- "rm_existing_id_domain_network_admin_group_name"
- "rm_existing_id_domain_appdev_admin_group_name"
- "rm_existing_id_domain_database_admin_group_name"
- "rm_existing_id_domain_exainfra_admin_group_name"
- "rm_existing_id_domain_auditor_group_name"
- "rm_existing_id_domain_announcement_reader_group_name"
- "rm_existing_id_domain_cost_admin_group_name"
- "rm_existing_id_domain_storage_admin_group_name"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- eq:
- ${use_custom_id_domain}
- true
- title: "Dynamic Groups (Existing Identity Domain)"
variables:
- "existing_id_domain_security_fun_dyn_group_name"
- "existing_id_domain_appdev_fun_dyn_group_name"
- "existing_id_domain_compute_agent_dyn_group_name"
- "existing_id_domain_database_kms_dyn_group_name"
- "existing_id_domain_net_fw_app_dyn_group_name"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- eq:
- ${use_custom_id_domain}
- true
- title: "Groups (Default Identity Domain)"
variables:
- "groups_options"
- "rm_existing_iam_admin_group_name"
- "rm_existing_cred_admin_group_name"
- "rm_existing_security_admin_group_name"
- "rm_existing_ag_admin_group_name"
- "rm_existing_network_admin_group_name"
- "rm_existing_appdev_admin_group_name"
- "rm_existing_database_admin_group_name"
- "rm_existing_exainfra_admin_group_name"
- "rm_existing_auditor_group_name"
- "rm_existing_announcement_reader_group_name"
- "rm_existing_cost_admin_group_name"
- "rm_existing_storage_admin_group_name"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- eq:
- ${use_custom_id_domain}
- false
- title: "Dynamic Groups (Default Identity Domain)"
variables:
- "dyn_groups_options"
- "existing_security_fun_dyn_group_name"
- "existing_appdev_fun_dyn_group_name"
- "existing_compute_agent_dyn_group_name"
- "existing_database_kms_dyn_group_name"
- "existing_net_fw_app_dyn_group_name"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- eq:
- ${use_custom_id_domain}
- false
- title: "Policies"
variables:
- "policies_in_root_compartment"
# - "enable_template_policies"
visible:
and:
- eq:
- ${extend_landing_zone_to_new_region}
- false
- eq:
- ${customize_iam}
- true
- title: "Networking - Three Tier VCNs"
variables:
- "tt_vcn1_cidrs"
- "tt_vcn2_cidrs"
- "tt_vcn3_cidrs"
- "add_oke_vcn1"
- "oke_vcn1_cidrs"
- "hub_vcn_cidrs"
- title: "Firewall Configuration"
variables:
- hub_vcn_deploy_firewall_option
- "fw_instance_shape"
- "fw_instance_flex_shape_memory"
- "fw_instance_flex_shape_cpu"
- "fw_instance_boot_volume_size"
- "fw_instance_public_rsa_key"
- title: "Networking - Three Tier VCNs"
variables:
- "tt_vcn1_name"
- "tt_vcn1_dns"
- "tt_vcn1_attach_to_drg"
- "tt_vcn1_routable_vcns"
- "customize_tt_vcn1_subnets"
- "tt_vcn1_web_subnet_name"
- "tt_vcn1_web_subnet_cidr"
- "tt_vcn1_web_subnet_dns"
- "tt_vcn1_web_subnet_is_private"
- "tt_vcn1_app_subnet_name"
- "tt_vcn1_app_subnet_cidr"
- "tt_vcn1_app_subnet_dns"
- "tt_vcn1_db_subnet_name"
- "tt_vcn1_db_subnet_cidr"
- "tt_vcn1_db_subnet_dns"
- "deploy_tt_vcn1_bastion_subnet"
- "tt_vcn1_bastion_subnet_name"
- "tt_vcn1_bastion_subnet_cidr"
- "tt_vcn1_bastion_subnet_dns"
- "tt_vcn1_bastion_is_access_via_public_endpoint"
- "tt_vcn1_bastion_subnet_allowed_cidrs"
# - "add_tt_vcn1_extra1_subnet"
# - "tt_vcn1_extra1_subnet_name"
# - "tt_vcn1_extra1_subnet_cidr"
# - "tt_vcn1_extra1_subnet_dns"
# - "tt_vcn1_extra1_subnet_bastion_svc_cidrs"
# - "add_tt_vcn1_extra2_subnet"
# - "tt_vcn1_extra2_subnet_name"
# - "tt_vcn1_extra2_subnet_cidr"
# - "tt_vcn1_extra2_subnet_dns"
# - "tt_vcn1_extra2_subnet_bastion_svc_cidrs"
- "add_tt_vcn2"
- "tt_vcn2_name"
- "tt_vcn2_dns"
- "tt_vcn2_attach_to_drg"
- "tt_vcn2_routable_vcns"
- "customize_tt_vcn2_subnets"
- "tt_vcn2_web_subnet_name"
- "tt_vcn2_web_subnet_cidr"
- "tt_vcn2_web_subnet_dns"
- "tt_vcn2_web_subnet_is_private"
- "tt_vcn2_app_subnet_name"
- "tt_vcn2_app_subnet_cidr"
- "tt_vcn2_app_subnet_dns"
- "tt_vcn2_db_subnet_name"
- "tt_vcn2_db_subnet_cidr"
- "tt_vcn2_db_subnet_dns"
- "deploy_tt_vcn2_bastion_subnet"
- "tt_vcn2_bastion_subnet_name"
- "tt_vcn2_bastion_subnet_cidr"
- "tt_vcn2_bastion_subnet_dns"
- "tt_vcn2_bastion_is_access_via_public_endpoint"
- "tt_vcn2_bastion_subnet_allowed_cidrs"
- "add_tt_vcn3"
- "tt_vcn3_name"
- "tt_vcn3_dns"
- "tt_vcn3_attach_to_drg"
- "tt_vcn3_routable_vcns"
- "customize_tt_vcn3_subnets"
- "tt_vcn3_web_subnet_name"
- "tt_vcn3_web_subnet_cidr"
- "tt_vcn3_web_subnet_dns"
- "tt_vcn3_web_subnet_is_private"
- "tt_vcn3_app_subnet_name"
- "tt_vcn3_app_subnet_cidr"
- "tt_vcn3_app_subnet_dns"
- "tt_vcn3_db_subnet_name"
- "tt_vcn3_db_subnet_cidr"
- "tt_vcn3_db_subnet_dns"
- "deploy_tt_vcn3_bastion_subnet"
- "tt_vcn3_bastion_subnet_name"
- "tt_vcn3_bastion_subnet_cidr"
- "tt_vcn3_bastion_subnet_dns"
- "tt_vcn3_bastion_is_access_via_public_endpoint"
- "tt_vcn3_bastion_subnet_allowed_cidrs"
visible: false
- title: "Networking - Exadata Cloud Service VCNs"
variables:
- "add_exa_vcn1"
- "exa_vcn1_name"
- "exa_vcn1_cidrs"
- "exa_vcn1_dns"
- "exa_vcn1_attach_to_drg"
- "exa_vcn1_routable_vcns"
- "customize_exa_vcn1_subnets"
- "exa_vcn1_client_subnet_cidr"
- "exa_vcn1_client_subnet_name"
- "exa_vcn1_client_subnet_dns"
- "exa_vcn1_backup_subnet_cidr"
- "exa_vcn1_backup_subnet_name"
- "exa_vcn1_backup_subnet_dns"
- "add_exa_vcn2"
- "exa_vcn2_name"
- "exa_vcn2_cidrs"
- "exa_vcn2_dns"
- "exa_vcn2_attach_to_drg"
- "exa_vcn2_routable_vcns"
- "customize_exa_vcn2_subnets"
- "exa_vcn2_client_subnet_cidr"
- "exa_vcn2_client_subnet_name"
- "exa_vcn2_client_subnet_dns"
- "exa_vcn2_backup_subnet_cidr"
- "exa_vcn2_backup_subnet_name"
- "exa_vcn2_backup_subnet_dns"
- "add_exa_vcn3"
- "exa_vcn3_cidrs"
- "exa_vcn3_name"
- "exa_vcn3_dns"
- "exa_vcn3_attach_to_drg"
- "exa_vcn3_routable_vcns"
- "customize_exa_vcn3_subnets"
- "exa_vcn3_client_subnet_cidr"
- "exa_vcn3_client_subnet_name"
- "exa_vcn3_client_subnet_dns"
- "exa_vcn3_backup_subnet_cidr"
- "exa_vcn3_backup_subnet_name"
- "exa_vcn3_backup_subnet_dns"
visible: false
- title: "Networking - OKE VCNs"
variables:
- "oke_vcn1_cni_type"
- "oke_vcn1_name"
- "oke_vcn1_dns"
- "oke_vcn1_attach_to_drg"
- "oke_vcn1_routable_vcns"
- "customize_oke_vcn1_subnets"
- "oke_vcn1_services_subnet_name"
- "oke_vcn1_services_subnet_cidr"
- "oke_vcn1_services_subnet_dns"
- "oke_vcn1_workers_subnet_name"
- "oke_vcn1_workers_subnet_cidr"
- "oke_vcn1_workers_subnet_dns"
- "oke_vcn1_api_subnet_name"
- "oke_vcn1_api_subnet_cidr"
- "oke_vcn1_api_subnet_dns"
- "oke_vcn1_pods_subnet_name"
- "oke_vcn1_pods_subnet_cidr"
- "oke_vcn1_pods_subnet_dns"
- "add_oke_vcn1_mgmt_subnet"
- "oke_vcn1_mgmt_subnet_name"
- "oke_vcn1_mgmt_subnet_cidr"
- "oke_vcn1_mgmt_subnet_dns"
- "add_oke_vcn2"
- "oke_vcn2_cni_type"
- "oke_vcn2_name"
- "oke_vcn2_cidrs"
- "oke_vcn2_dns"
- "oke_vcn2_attach_to_drg"
- "oke_vcn2_routable_vcns"
- "customize_oke_vcn2_subnets"
- "oke_vcn2_services_subnet_name"
- "oke_vcn2_services_subnet_cidr"
- "oke_vcn2_services_subnet_dns"
- "oke_vcn2_workers_subnet_name"
- "oke_vcn2_workers_subnet_cidr"
- "oke_vcn2_workers_subnet_dns"
- "oke_vcn2_api_subnet_name"
- "oke_vcn2_api_subnet_cidr"
- "oke_vcn2_api_subnet_dns"
- "oke_vcn2_pods_subnet_name"
- "oke_vcn2_pods_subnet_cidr"
- "oke_vcn2_pods_subnet_dns"
- "add_oke_vcn2_mgmt_subnet"
- "oke_vcn2_mgmt_subnet_name"
- "oke_vcn2_mgmt_subnet_cidr"
- "oke_vcn2_mgmt_subnet_dns"
- "add_oke_vcn3"
- "oke_vcn3_cni_type"
- "oke_vcn3_name"
- "oke_vcn3_cidrs"
- "oke_vcn3_dns"
- "oke_vcn3_attach_to_drg"
- "oke_vcn3_routable_vcns"
- "customize_oke_vcn3_subnets"
- "oke_vcn3_services_subnet_name"
- "oke_vcn3_services_subnet_cidr"
- "oke_vcn3_services_subnet_dns"
- "oke_vcn3_workers_subnet_name"
- "oke_vcn3_workers_subnet_cidr"
- "oke_vcn3_workers_subnet_dns"
- "oke_vcn3_api_subnet_name"
- "oke_vcn3_api_subnet_cidr"
- "oke_vcn3_api_subnet_dns"
- "oke_vcn3_pods_subnet_name"
- "oke_vcn3_pods_subnet_cidr"
- "oke_vcn3_pods_subnet_dns"
- "add_oke_vcn3_mgmt_subnet"
- "oke_vcn3_mgmt_subnet_name"
- "oke_vcn3_mgmt_subnet_cidr"
- "oke_vcn3_mgmt_subnet_dns"
visible: false
- title: "Networking - Hub & Spoke Topology"
variables:
- "hub_deployment_option"
- "existing_drg_ocid"
- "hub_vcn_name"
- "hub_vcn_dns"
- "fw_instance_name_prefix"
- "hub_vcn_north_south_entry_point_ocid"
- "hub_vcn_east_west_entry_point_ocid"
- "customize_hub_vcn_subnets"
- "hub_vcn_web_subnet_name"
- "hub_vcn_web_subnet_cidr"
- "hub_vcn_web_subnet_dns"
- "hub_vcn_web_subnet_is_private"
- "hub_vcn_web_subnet_jump_host_allowed_cidrs"
- "hub_vcn_mgmt_subnet_name"
- "hub_vcn_mgmt_subnet_cidr"
- "hub_vcn_mgmt_subnet_dns"
- "hub_vcn_mgmt_subnet_external_allowed_cidrs_for_http"
- "hub_vcn_mgmt_subnet_external_allowed_cidrs_for_ssh"
- "hub_vcn_outdoor_subnet_name"
- "hub_vcn_outdoor_subnet_cidr"
- "hub_vcn_outdoor_subnet_dns"
- "hub_vcn_indoor_subnet_name"
- "hub_vcn_indoor_subnet_cidr"
- "hub_vcn_indoor_subnet_dns"
visible: false
- title: "Events and Notifications"
variables:
- "network_admin_email_endpoints"
- "security_admin_email_endpoints"
- "notifications_advanced_options"
- "compute_admin_email_endpoints"
- "storage_admin_email_endpoints"
- "database_admin_email_endpoints"
- "exainfra_admin_email_endpoints"
- "budget_admin_email_endpoints"
- "create_alarms_as_enabled"
- "create_events_as_enabled"
- "alarm_message_format"
- title: "Cloud Guard"
variables:
- "enable_cloud_guard"
- "enable_security_zones"
- title: "Logging Consolidation: Service Connector Hub"
variables:
- "enable_service_connector"
- "activate_service_connector"
- "service_connector_target_kind"
- "onboard_logging_analytics"
visible: false
- title: "Vulnerability Scanning"
variables:
- "vss_create"
- "vss_scan_schedule"
- "vss_scan_day"
- "vss_port_scan_level"
- "vss_agent_scan_level"
- "vss_agent_cis_benchmark_settings_scan_level"
- "vss_enable_file_scan"
- "vss_folders_to_scan"
visible: false
- title: "Cost Management"
variables:
- "create_budget"
- "budget_alert_threshold"
- "budget_amount"
- "budget_alert_email_endpoints"
- title: "Hidden Variables"
visible: false
variables:
- "tenancy_ocid"
- "user_ocid"
- "fingerprint"
- "private_key_path"
- "private_key_password"
- "existing_iam_admin_group_name"
- "existing_cred_admin_group_name"
- "existing_security_admin_group_name"
- "existing_network_admin_group_name"
- "existing_appdev_admin_group_name"
- "existing_database_admin_group_name"
- "existing_exainfra_admin_group_name"
- "existing_auditor_group_name"
- "existing_announcement_reader_group_name"
- "existing_cost_admin_group_name"
- "existing_storage_admin_group_name"
- "extend_landing_zone_to_new_region"
- "customize_iam"
- "groups_options"
- "display_output"
- "extend_landing_zone_to_new_region"
- "existing_service_connector_bucket_vault_compartment_id"
- "existing_service_connector_bucket_vault_id"
- "existing_service_connector_bucket_key_id"
- "existing_service_connector_target_stream_id"
- "existing_service_connector_target_function_id"
- "enable_cloud_guard_cloned_recipes"
- "cloud_guard_reporting_region"
- "cloud_guard_risk_level_threshold"
- "cloud_guard_admin_email_endpoints"
- "sz_security_policies"
- "security_zones_reporting_region"
- "existing_ag_admin_group_name"
- "lz_provenant_prefix"
- "lz_provenant_version"
- "add_tt_vcn1"
variables:
region:
type: oci:identity:region:name
title: "Region"
description: "The region for resources deployment."
required: true
cis_level:
type: enum
title: CIS Level
description: "Determines CIS OCI Benchmark Level of services deployed by the CIS Landing Zone in the tenancy will be configured. Level 1 (default) is be practical and prudent. Level 2 is intended for environments where security is more critical than manageability and usability. Level 2 drives the creation of an OCI Vault, buckets encryption with a customer managed key, write logs for buckets and the usage of specific policies in Security Zones. More info: <a href=\"https://www.cisecurity.org/benchmark/oracle_cloud\">CIS OCI Benchmark</a>."
enum:
- "1"
- "2"
required: true
default: 1
service_label:
type: string
title: "Service Label"
minLength: 1
maxLength: 15
pattern: "^[A-Za-z][A-Za-z0-9]{1,14}$"
description: "A unique label that gets prepended to all resources deployed by the Landing Zone. Max length: 15 characters."
required: true
default: "ztlz"
extend_landing_zone_to_new_region:
type: boolean
title: "Extend existing Landing Zone to New Region?"
description: "Whether an existing Landing Zone is being extended to another region. When set to true, compartments, identity domains, groups, dynamic groups, policies and resources at the home region are not provisioned. Use this when you want provision a Landing Zone in a new region, but reuse existing Landing Zone resources in the home region."
default: false
visible: true
customize_iam:
type: boolean
title: "Customize Default IAM Settings?"
description: "Check to customize default settings for compartments, identity domains, groups, dynamic groups and policies."
default: false
visible: true
customize_net:
type: boolean
title: "Define Networking?"
description: "Check to define networking resources. By default, the Landing Zone does NOT deploy any networks."
default: true
visible: false
display_output:
type: boolean
title: "Display Output?"
description: "Upon Terraform apply, it displays a concise set of select resource outputs with their OCIDs and names. Uncheck to suppress output display."
visible: false
default: true
enclosing_compartment_options:
type: enum
title: "Deploy Compartments in Enclosing Compartment?"
description: "Whether the Landing Zone compartments (Network, Security, App, Database, Exadata) are created within an enclosing top compartment. If 'Yes, deploy new' is selected, the enclosing compartment is created in the compartment selected in 'Enclosing Compartment Parent'. If 'Yes, use existing' is selected, the Landing Zone compartments are created in the compartment selected in 'Enclosing Compartment'. If 'No' is selected, the Landing Zone compartments are created in the Root compartment."
required: true
enum:
- "Yes, deploy new"
- "Yes, use existing"
- "No"
default: "Yes, deploy new"
enclosing_compartment_parent_ocid:
type: oci:identity:compartment:id
title: "Enclosing Compartment Parent"
description: "Select the existing compartment where Landing Zone enclosing compartment is created."
required: false
visible:
eq:
- ${enclosing_compartment_options}
- "Yes, deploy new"
existing_enclosing_compartment_ocid:
type: oci:identity:compartment:id
title: "Enclosing Compartment"
description: "Select the existing compartment where Landing Zone compartments (Network, Security, App, Database) are created."
required: false
visible:
eq:
- ${enclosing_compartment_options}
- "Yes, use existing"
deploy_exainfra_cmp:
type: boolean
title: "Deploy ExaCS Infra Compartment?"
description: "Whether a separate compartment for Exadata Cloud Service Infrastructure is deployed."
default: false
use_custom_id_domain:
type: boolean
title: "Enable an Existing Identity Domain to Manage Landing Zone?"
description: "Your tenancy already has a default Identity Domain, whose groups are used to manage the Landing Zone. Check this box for enabling groups in an *existing* non-default Identity Domain to manage the resources deployed by the Landing Zone. See <a href='https://docs.oracle.com/en-us/iaas/Content/Identity/usingidentitydomains/oci-iam-concepts.htm'>IAM Technologies</a> for identity domains concepts."
default: false
custom_id_domain_name:
type: string
title: "Existing Identity Domain Name"
description: "Enter the existing Identity Domain name."
required: false
visible: use_custom_id_domain
rm_existing_id_domain_iam_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing IAM Admin Group Names"
description: "Enter the existing group(s) to which IAM management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_cred_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Credentials Admin Group Names"
description: "Enter the existing group(s) to which credentials management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_security_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Security Admin Group Name"
description: "Enter the existing group to which security management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_ag_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Access Governance Admin Group Names"
description: "Enter the existing group(s) to which Access Governance management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_network_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Network Admin Group Name"
description: "Enter the existing group to which network management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_appdev_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Application Admin Group Name"
description: "Enter the existing group to which application development management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_database_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Database Admin Group Name"
description: "Enter the existing group to which database management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_exainfra_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Admin Group Name for Exadata Infrastructure"
description: "Enter the existing group to which Exadata infrastructure management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_auditor_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Enter the existing Auditors Group Name"
description: "Existing group to which auditing policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_announcement_reader_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Announcement Readers Group Name"
description: "Enter the existing group to which announcement reading policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_cost_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Cost Admin Group Name"
description: "Enter the existing group to which Cost management policies will be granted to."
visible: use_custom_id_domain
rm_existing_id_domain_storage_admin_group_name:
type: array
items:
type: string
uniqueItems: true
title: "Existing Storage Admin Group Name"
description: "Enter the existing group to which Storage management policies will be granted to."
visible: use_custom_id_domain
existing_id_domain_security_fun_dyn_group_name:
type: string
title: "Existing Security Dynamic Group Name"
description: "Existing security dynamic group to run functions."
visible: use_custom_id_domain
existing_id_domain_appdev_fun_dyn_group_name:
type: string
title: "Existing Application Dynamic Group Name"
description: "Existing application dynamic group."
visible: use_custom_id_domain
existing_id_domain_compute_agent_dyn_group_name:
type: string
title: "Existing Compute Agent Dynamic Group Name"
description: "Existing compute agent dynamic group for management agent access."
visible: use_custom_id_domain
existing_id_domain_database_kms_dyn_group_name:
type: string
title: "Existing Database Dynamic Group Name"
description: "Existing database dynamic group for database to access keys."
visible: use_custom_id_domain
existing_id_domain_net_fw_app_dyn_group_name:
type: string
title: "Existing Network Firewall Appliance Dynamic Group Name"
description: "Existing network firewall appliance dynamic group for reading firewall instances."
visible: use_custom_id_domain
# deploy_id_domain:
# type: boolean
# title: "Deploy a non-default Identity Domain?"
# description: "Your tenancy already has a default Identity Domain. Click for deploying a non-default Identity Domain in the enclosing compartment. See <a href='https://docs.oracle.com/en-us/iaas/Content/Identity/usingidentitydomains/oci-iam-concepts.htm'>IAM Technologies</a> for identity domains concepts."
# default: false
# id_domain_name:
# type: string
# title: "Identity Domain Name"
# description: "The Identity Domain name to create. If not set, a default name is provided."
# required: false
# visible: deploy_id_domain
# id_domain_type:
# type: enum
# title: "Identity Domain Type"
# description: "The Identity Domain type. See <a href='https://docs.oracle.com/en-us/iaas/Content/Identity/sku/overview.htm#overview'>IAM Identity Domain Types</a> for details."
# required: false
# enum:
# - "Free"
# - "Premium"
# - "External User"
# visible: deploy_id_domain
groups_options:
type: enum
title: "Deploy New Groups?"
description: "Whether the groups are created or reused."
required: true
enum:
- "Yes"
- "No, use existing"
default: "Yes"
rm_existing_iam_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing IAM admin group name"
description: "Existing group to which IAM management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_cred_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing credentials admin group name"
description: "Existing group to which credentials management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_security_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing security admin group name"
description: "Existing group to which security management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_network_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing network admin group name"
description: "Existing group to which network management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_ag_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing Access Governance admin group name"
description: "Existing group to which Access Governance management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_appdev_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing application development admin group name"
description: "Existing group to which application development management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_database_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing database admin group name"
description: "Existing group to which database management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_exainfra_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing admin group name for Exadata infrastructure"
description: "Existing group to which Exadata infrastructure management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_auditor_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing auditors group name"
description: "Existing group to which auditing policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_announcement_reader_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing announcement readers group name"
description: "Existing group to which announcement reading policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_cost_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing Cost Admin group name"
description: "Existing group to which Cost management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
rm_existing_storage_admin_group_name:
type: oci:identity:groups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing Storage Admin group name"
description: "Existing group to which Storage management policies will be granted to."
visible:
eq:
- ${groups_options}
- "No, use existing"
dyn_groups_options:
type: enum
title: "Deploy New Dynamic Groups?"
description: "Whether the dynamic groups are created or reused."
required: true
enum:
- "Yes"
- "No, use existing"
default: "Yes"
existing_security_fun_dyn_group_name:
type: oci:identity:dynamicgroups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing security dynamic group name"
description: "Existing security dynamic group to run functions."
visible:
eq:
- ${dyn_groups_options}
- "No, use existing"
existing_appdev_fun_dyn_group_name:
type: oci:identity:dynamicgroups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing appdev dynamic group name"
description: "Existing appdev dynamic group."
visible:
eq:
- ${dyn_groups_options}
- "No, use existing"
existing_compute_agent_dyn_group_name:
type: oci:identity:dynamicgroups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing compute agent dynamic group name"
description: "Existing compute agent dynamic group for management agent access."
visible:
eq:
- ${dyn_groups_options}
- "No, use existing"
existing_database_kms_dyn_group_name:
type: oci:identity:dynamicgroups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing database dynamic group name"
description: "Existing database dynamic group for database to access keys."
visible:
eq:
- ${dyn_groups_options}
- "No, use existing"
existing_net_fw_app_dyn_group_name:
type: oci:identity:dynamicgroups:id
dependsOn:
compartmentId: ${tenancy_ocid}
title: "Existing network firewall appliance dynamic group name"
description: "Existing network firewall appliance dynamic group for reading firewall instances."
visible:
eq:
- ${dyn_groups_options}
- "No, use existing"
policies_in_root_compartment:
type: enum
title: "CREATE or USE policies in the Root compartment?"
description: "Whether policies in the Root compartment should be created or simply used. If 'CREATE', you must be sure the user executing this stack has permissions to create policies in the Root compartment. If 'USE', policies must have been created previously."
enum:
- "CREATE"
- "USE"
required: true
default: "CREATE"
# enable_template_policies:
# type: boolean
# title: "Enable template policies?"
# description: "Whether policies should be created based on metadata associated to compartments. This is an alternative way of managing policies, enabled by the <a href=\"https://github.com/oracle-quickstart/terraform-oci-cis-landing-zone-iam/tree/main/policies\">CIS Landing Zone standalone IAM policy module</a>. When set to true, the grants to resources belonging to a specific compartment are combined into a single policy that is attached to the compartment itself. This differs from the default approach, where grants are combined per grantee and attached to the enclosing compartment."
# default: false
# ------------------------------------------------------
# ----- Networking - Three-tier VCN 1
#-------------------------------------------------------
add_tt_vcn1:
type: boolean
title: "Add Three-Tier VCN (label: TT-VCN-1)?"
description: "Click to add a three-tier VCN, with three subnets: web (public by default), application (private) and database (private). An optional subnet (private by default) for bastion deployment is also available."
visible: customize_net
default: true
tt_vcn1_name:
type: string
title: "VCN Name (label: TT-VCN-1)"
description: "Enter the VCN name. Otherwise a default name is provided. The label above should be used in the 'Routable VCNs' field of other VCNs for constraining network traffic in a Hub/Spoke topology."
required: false
visible:
and:
- customize_net
- add_tt_vcn1
default: "sec-vcn"
tt_vcn1_cidrs:
type: array