Improve Deep Data Security lab scenarios
This commit is contained in:
0
terraform/modules/autonomous_database/main.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/main.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/outputs.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/outputs.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/variables.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/variables.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/versions.tf
Normal file → Executable file
0
terraform/modules/autonomous_database/versions.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/main.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/main.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/outputs.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/outputs.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/variables.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/variables.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/versions.tf
Normal file → Executable file
0
terraform/modules/compute_bastion/versions.tf
Normal file → Executable file
7
terraform/modules/network/main.tf
Normal file → Executable file
7
terraform/modules/network/main.tf
Normal file → Executable file
@@ -6,11 +6,15 @@ data "oci_core_services" "oracle_services" {
|
||||
}
|
||||
}
|
||||
|
||||
locals {
|
||||
vcn_dns_label = substr(replace(lower(var.name_prefix), "-", ""), 0, 15)
|
||||
}
|
||||
|
||||
resource "oci_core_vcn" "this" {
|
||||
compartment_id = var.compartment_id
|
||||
cidr_block = var.vcn_cidr
|
||||
display_name = "${var.name_prefix}-vcn"
|
||||
dns_label = replace(var.name_prefix, "-", "")
|
||||
dns_label = local.vcn_dns_label
|
||||
freeform_tags = var.freeform_tags
|
||||
}
|
||||
|
||||
@@ -179,4 +183,3 @@ resource "oci_core_network_security_group_security_rule" "app_egress_https" {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
0
terraform/modules/network/outputs.tf
Normal file → Executable file
0
terraform/modules/network/outputs.tf
Normal file → Executable file
0
terraform/modules/network/variables.tf
Normal file → Executable file
0
terraform/modules/network/variables.tf
Normal file → Executable file
0
terraform/modules/network/versions.tf
Normal file → Executable file
0
terraform/modules/network/versions.tf
Normal file → Executable file
0
terraform/modules/vault/main.tf
Normal file → Executable file
0
terraform/modules/vault/main.tf
Normal file → Executable file
0
terraform/modules/vault/outputs.tf
Normal file → Executable file
0
terraform/modules/vault/outputs.tf
Normal file → Executable file
0
terraform/modules/vault/variables.tf
Normal file → Executable file
0
terraform/modules/vault/variables.tf
Normal file → Executable file
0
terraform/modules/vault/versions.tf
Normal file → Executable file
0
terraform/modules/vault/versions.tf
Normal file → Executable file
Reference in New Issue
Block a user