generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
security.tf
48 lines (43 loc) · 1.94 KB
/
security.tf
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
# 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.
module "oci_lz_scanning" {
count = var.scanning_configuration != null ? 1 : 0
source = "git::https://github.com/oci-landing-zones/terraform-oci-modules-security.git//vss?ref=v0.1.9"
scanning_configuration = var.scanning_configuration
compartments_dependency = local.compartments_dependency
}
module "oci_lz_cloud_guard" {
count = var.cloud_guard_configuration != null ? 1 : 0
source = "git::https://github.com/oci-landing-zones/terraform-oci-modules-security.git//cloud-guard?ref=v0.1.9"
tenancy_ocid = var.tenancy_ocid
cloud_guard_configuration = var.cloud_guard_configuration
compartments_dependency = local.compartments_dependency
}
module "oci_lz_security_zones" {
count = var.security_zones_configuration != null ? 1 : 0
source = "git::https://github.com/oci-landing-zones/terraform-oci-modules-security.git//security-zones?ref=v0.1.9"
tenancy_ocid = var.tenancy_ocid
security_zones_configuration = var.security_zones_configuration
compartments_dependency = local.compartments_dependency
}
module "oci_lz_vaults" {
count = var.vaults_configuration != null ? 1 : 0
source = "git::https://github.com/oci-landing-zones/terraform-oci-modules-security.git//vaults?ref=v0.1.9"
providers = {
oci = oci
oci.home = oci.home
}
vaults_configuration = var.vaults_configuration
compartments_dependency = local.compartments_dependency
vaults_dependency = local.ext_dep_vaults_map
}
module "oci_lz_zpr" {
count = var.zpr_configuration != null ? 1 : 0
source = "git::https://github.com/oci-landing-zones/terraform-oci-modules-security.git//zpr?ref=v0.1.9"
providers = {
oci = oci.home
}
zpr_configuration = var.zpr_configuration
compartments_dependency = local.compartments_dependency
tenancy_ocid = var.tenancy_ocid
}