From a9e478fb58e530419d16ec9fad404c4392a14660 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Mon, 2 Sep 2024 15:48:37 +0530 Subject: [PATCH 01/35] Create examples --- examples | 1 + 1 file changed, 1 insertion(+) create mode 100644 examples diff --git a/examples b/examples new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/examples @@ -0,0 +1 @@ + From 3978d20bffca173a3f812cff1929960fa75f06d1 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Mon, 2 Sep 2024 15:49:54 +0530 Subject: [PATCH 02/35] Delete examples --- examples | 1 - 1 file changed, 1 deletion(-) delete mode 100644 examples diff --git a/examples b/examples deleted file mode 100644 index 8b13789..0000000 --- a/examples +++ /dev/null @@ -1 +0,0 @@ - From 42839c13f4b62dea5c074ab48559e707c29e0a36 Mon Sep 17 00:00:00 2001 From: xs2suruchi Date: Thu, 5 Sep 2024 15:20:47 +0530 Subject: [PATCH 03/35] examples folder --- .gitignore | 1 + examples/budget/backend.tf | 24 + examples/budget/budget.tf | 63 + examples/budget/oci-data.tf | 43 + examples/budget/provider.tf | 25 + examples/budget/sample_budgets.auto.tfvars | 76 + examples/budget/variables_phoenix.tf | 2485 +++++++++++++++++ examples/budget/variables_phoenix.tf_backup | 0 examples/compute/backend.tf | 24 + examples/compute/block-volume.tf | 50 + examples/compute/dedicated-vm-host.tf | 21 + examples/compute/instance.tf | 84 + examples/compute/oci-data.tf | 43 + examples/compute/provider.tf | 25 + .../compute/sample_blockvolumes.auto.tfvars | 32 + .../sample_dedicatedvmhosts.auto.tfvars | 24 + examples/compute/sample_instances.auto.tfvars | 37 + examples/compute/scripts/bastion-ssh-key | 2 + examples/compute/scripts/default.sh | 3 + examples/compute/scripts/default.yaml | 39 + examples/compute/scripts/server-ssh-key | 2 + examples/compute/variables_phoenix.tf | 2485 +++++++++++++++++ examples/database/adb.tf | 96 + examples/database/backend.tf | 24 + examples/database/database-exacs.tf | 97 + examples/database/dbsystem-vm-bm.tf | 61 + examples/database/oci-data.tf | 43 + examples/database/provider.tf | 25 + examples/database/sample_adb.auto.tfvars | 29 + .../sample_dbsystems-vm-bm.auto.tfvars | 51 + examples/database/variables_phoenix.tf | 2485 +++++++++++++++++ examples/dns/backend.tf | 24 + examples/dns/dns.tf | 216 ++ examples/dns/oci-data.tf | 43 + examples/dns/provider.tf | 25 + examples/dns/sample_dns-resolvers.auto.tfvars | 76 + ...sample_dns-views-zones-records.auto.tfvars | 94 + examples/dns/variables_phoenix.tf | 2485 +++++++++++++++++ examples/firewall/backend.tf | 24 + examples/firewall/firewall.tf | 226 ++ examples/firewall/oci-data.tf | 43 + examples/firewall/provider.tf | 25 + ...le_firewall-policy-addresslist.auto.tfvars | 28 + ...le_firewall-policy-application.auto.tfvars | 40 + ...irewall-policy-applicationlist.auto.tfvars | 20 + ...sample_firewall-policy-secrule.auto.tfvars | 38 + ...sample_firewall-policy-service.auto.tfvars | 68 + ...le_firewall-policy-servicelist.auto.tfvars | 20 + ...sample_firewall-policy-urllist.auto.tfvars | 36 + .../sample_firewall-policy.auto.tfvars | 23 + examples/firewall/sample_firewall.auto.tfvars | 33 + examples/firewall/variables_phoenix.tf | 2485 +++++++++++++++++ examples/fss/backend.tf | 24 + .../04-09-132117/sample_fss.auto.tfvars | 111 + .../04-09-154557/sample_fss.auto.tfvars | 127 + examples/fss/fss.tf | 150 + examples/fss/oci-data.tf | 43 + examples/fss/provider.tf | 25 + examples/fss/sample_fss.auto.tfvars | 88 + examples/fss/variables_phoenix.tf | 2484 ++++++++++++++++ examples/identity/backend.tf | 24 + examples/identity/identity.tf | 340 +++ examples/identity/oci-data.tf | 43 + examples/identity/provider.tf | 25 + .../identity/sample_compartments.auto.tfvars | 51 + examples/identity/sample_groups.auto.tfvars | 52 + .../sample_networksources.auto.tfvars | 16 + examples/identity/sample_policies.auto.tfvars | 92 + examples/identity/sample_users.auto.tfvars | 17 + examples/identity/variables_phoenix.tf | 2485 +++++++++++++++++ examples/kms/backend.tf | 24 + examples/kms/kms.tf | 42 + examples/kms/oci-data.tf | 43 + examples/kms/provider.tf | 25 + examples/kms/sample_kms.auto.tfvars | 86 + examples/kms/variables_phoenix.tf | 2485 +++++++++++++++++ examples/kms/variables_phoenix.tf_backup | 0 examples/loadbalancer/backend.tf | 24 + examples/loadbalancer/loadbalancer.tf | 381 +++ examples/loadbalancer/networkloadbalancer.tf | 125 + examples/loadbalancer/oci-data.tf | 43 + examples/loadbalancer/provider.tf | 25 + ...le_lb-backendset-backendserver.auto.tfvars | 69 + .../sample_lb-hostname-certs.auto.tfvars | 38 + .../sample_lb-listener.auto.tfvars | 29 + .../sample_lb-routingpolicy.auto.tfvars | 24 + ...nlb-backendsets-backendservers.auto.tfvars | 45 + .../sample_nlb-listeners.auto.tfvars | 56 + examples/loadbalancer/variables_phoenix.tf | 2485 +++++++++++++++++ examples/managementservices/backend.tf | 24 + .../managementservices/managementservices.tf | 141 + examples/managementservices/oci-data.tf | 43 + examples/managementservices/provider.tf | 25 + .../sample_alarms.auto.tfvars | 129 + .../sample_events.auto.tfvars | 117 + ...le_notifications-subscriptions.auto.tfvars | 63 + .../sample_notifications-topics.auto.tfvars | 48 + .../sample_serviceconnectors.auto.tfvars | 124 + .../managementservices/variables_phoenix.tf | 2485 +++++++++++++++++ examples/network/backend.tf | 24 + examples/network/network.tf | 686 +++++ examples/network/oci-data.tf | 43 + examples/network/provider.tf | 25 + .../network/sample_custom-dhcp.auto.tfvars | 60 + .../sample_default-routetables.auto.tfvars | 125 + .../sample_default-seclists.auto.tfvars | 189 ++ examples/network/sample_drg-data.auto.tfvars | 33 + .../sample_drg-distributions.auto.tfvars | 44 + .../sample_drg-routetables.auto.tfvars | 32 + .../network/sample_major-objects.auto.tfvars | 251 ++ .../network/sample_routetables.auto.tfvars | 554 ++++ examples/network/variables_phoenix.tf | 2485 +++++++++++++++++ examples/nsg/backend.tf | 24 + examples/nsg/nsg.tf | 55 + examples/nsg/oci-data.tf | 43 + examples/nsg/provider.tf | 25 + examples/nsg/sample_nsg-rules.auto.tfvars | 41 + examples/nsg/sample_nsgs.auto.tfvars | 34 + examples/nsg/variables_phoenix.tf | 2485 +++++++++++++++++ examples/nsg/variables_phoenix.tf_backup | 0 examples/ocvs/backend.tf | 24 + examples/ocvs/oci-data.tf | 43 + examples/ocvs/provider.tf | 25 + examples/ocvs/sample_sddcs.auto.tfvars | 49 + .../ocvs/sample_sddcs_cluster.auto.tfvars | 45 + examples/ocvs/sddc.tf | 243 ++ examples/ocvs/variables_phoenix.tf | 2485 +++++++++++++++++ examples/ocvs/variables_phoenix.tf_backup | 0 examples/oke/backend.tf | 24 + examples/oke/oci-data.tf | 43 + examples/oke/oke.tf | 161 ++ examples/oke/provider.tf | 25 + examples/oke/sample_oke_clusters.auto.tfvars | 47 + examples/oke/sample_oke_nodepools.auto.tfvars | 66 + .../sample_oke_virtual-nodepools.auto.tfvars | 44 + examples/oke/variables_phoenix.tf | 2485 +++++++++++++++++ examples/oke/variables_phoenix.tf_backup | 0 examples/oss/backend.tf | 24 + examples/oss/object-storage.tf | 130 + examples/oss/oci-data.tf | 43 + examples/oss/provider.tf | 25 + examples/oss/sample_buckets.auto.tfvars | 35 + examples/oss/variables_phoenix.tf | 2485 +++++++++++++++++ examples/quota/backend.tf | 24 + examples/quota/oci-data.tf | 43 + examples/quota/provider.tf | 25 + examples/quota/quota.tf | 18 + examples/quota/sample_quotas.auto.tfvars | 14 + examples/quota/variables_phoenix.tf | 2485 +++++++++++++++++ examples/quota/variables_phoenix.tf_backup | 0 examples/tagging/backend.tf | 24 + examples/tagging/oci-data.tf | 43 + examples/tagging/provider.tf | 25 + .../tagging/sample_tags-defaults.auto.tfvars | 22 + examples/tagging/sample_tags-keys.auto.tfvars | 40 + .../sample_tags-namespaces.auto.tfvars | 20 + examples/tagging/tagging.tf | 54 + examples/tagging/variables_phoenix.tf | 2485 +++++++++++++++++ examples/tagging/variables_phoenix.tf_backup | 0 159 files changed, 51147 insertions(+) create mode 100644 examples/budget/backend.tf create mode 100644 examples/budget/budget.tf create mode 100644 examples/budget/oci-data.tf create mode 100644 examples/budget/provider.tf create mode 100644 examples/budget/sample_budgets.auto.tfvars create mode 100644 examples/budget/variables_phoenix.tf create mode 100644 examples/budget/variables_phoenix.tf_backup create mode 100644 examples/compute/backend.tf create mode 100644 examples/compute/block-volume.tf create mode 100644 examples/compute/dedicated-vm-host.tf create mode 100644 examples/compute/instance.tf create mode 100644 examples/compute/oci-data.tf create mode 100644 examples/compute/provider.tf create mode 100644 examples/compute/sample_blockvolumes.auto.tfvars create mode 100644 examples/compute/sample_dedicatedvmhosts.auto.tfvars create mode 100644 examples/compute/sample_instances.auto.tfvars create mode 100755 examples/compute/scripts/bastion-ssh-key create mode 100644 examples/compute/scripts/default.sh create mode 100644 examples/compute/scripts/default.yaml create mode 100644 examples/compute/scripts/server-ssh-key create mode 100644 examples/compute/variables_phoenix.tf create mode 100644 examples/database/adb.tf create mode 100644 examples/database/backend.tf create mode 100644 examples/database/database-exacs.tf create mode 100644 examples/database/dbsystem-vm-bm.tf create mode 100644 examples/database/oci-data.tf create mode 100644 examples/database/provider.tf create mode 100644 examples/database/sample_adb.auto.tfvars create mode 100644 examples/database/sample_dbsystems-vm-bm.auto.tfvars create mode 100644 examples/database/variables_phoenix.tf create mode 100644 examples/dns/backend.tf create mode 100644 examples/dns/dns.tf create mode 100644 examples/dns/oci-data.tf create mode 100644 examples/dns/provider.tf create mode 100644 examples/dns/sample_dns-resolvers.auto.tfvars create mode 100644 examples/dns/sample_dns-views-zones-records.auto.tfvars create mode 100644 examples/dns/variables_phoenix.tf create mode 100644 examples/firewall/backend.tf create mode 100644 examples/firewall/firewall.tf create mode 100644 examples/firewall/oci-data.tf create mode 100644 examples/firewall/provider.tf create mode 100644 examples/firewall/sample_firewall-policy-addresslist.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy-application.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy-applicationlist.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy-secrule.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy-service.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy-servicelist.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy-urllist.auto.tfvars create mode 100644 examples/firewall/sample_firewall-policy.auto.tfvars create mode 100644 examples/firewall/sample_firewall.auto.tfvars create mode 100644 examples/firewall/variables_phoenix.tf create mode 100644 examples/fss/backend.tf create mode 100644 examples/fss/backup_fss/04-09-132117/sample_fss.auto.tfvars create mode 100644 examples/fss/backup_fss/04-09-154557/sample_fss.auto.tfvars create mode 100644 examples/fss/fss.tf create mode 100644 examples/fss/oci-data.tf create mode 100644 examples/fss/provider.tf create mode 100644 examples/fss/sample_fss.auto.tfvars create mode 100644 examples/fss/variables_phoenix.tf create mode 100644 examples/identity/backend.tf create mode 100644 examples/identity/identity.tf create mode 100644 examples/identity/oci-data.tf create mode 100644 examples/identity/provider.tf create mode 100644 examples/identity/sample_compartments.auto.tfvars create mode 100644 examples/identity/sample_groups.auto.tfvars create mode 100644 examples/identity/sample_networksources.auto.tfvars create mode 100644 examples/identity/sample_policies.auto.tfvars create mode 100644 examples/identity/sample_users.auto.tfvars create mode 100644 examples/identity/variables_phoenix.tf create mode 100644 examples/kms/backend.tf create mode 100644 examples/kms/kms.tf create mode 100644 examples/kms/oci-data.tf create mode 100644 examples/kms/provider.tf create mode 100644 examples/kms/sample_kms.auto.tfvars create mode 100644 examples/kms/variables_phoenix.tf create mode 100644 examples/kms/variables_phoenix.tf_backup create mode 100644 examples/loadbalancer/backend.tf create mode 100644 examples/loadbalancer/loadbalancer.tf create mode 100644 examples/loadbalancer/networkloadbalancer.tf create mode 100644 examples/loadbalancer/oci-data.tf create mode 100644 examples/loadbalancer/provider.tf create mode 100644 examples/loadbalancer/sample_lb-backendset-backendserver.auto.tfvars create mode 100644 examples/loadbalancer/sample_lb-hostname-certs.auto.tfvars create mode 100644 examples/loadbalancer/sample_lb-listener.auto.tfvars create mode 100644 examples/loadbalancer/sample_lb-routingpolicy.auto.tfvars create mode 100644 examples/loadbalancer/sample_nlb-backendsets-backendservers.auto.tfvars create mode 100644 examples/loadbalancer/sample_nlb-listeners.auto.tfvars create mode 100644 examples/loadbalancer/variables_phoenix.tf create mode 100644 examples/managementservices/backend.tf create mode 100644 examples/managementservices/managementservices.tf create mode 100644 examples/managementservices/oci-data.tf create mode 100644 examples/managementservices/provider.tf create mode 100644 examples/managementservices/sample_alarms.auto.tfvars create mode 100644 examples/managementservices/sample_events.auto.tfvars create mode 100644 examples/managementservices/sample_notifications-subscriptions.auto.tfvars create mode 100644 examples/managementservices/sample_notifications-topics.auto.tfvars create mode 100644 examples/managementservices/sample_serviceconnectors.auto.tfvars create mode 100644 examples/managementservices/variables_phoenix.tf create mode 100644 examples/network/backend.tf create mode 100644 examples/network/network.tf create mode 100644 examples/network/oci-data.tf create mode 100644 examples/network/provider.tf create mode 100644 examples/network/sample_custom-dhcp.auto.tfvars create mode 100644 examples/network/sample_default-routetables.auto.tfvars create mode 100644 examples/network/sample_default-seclists.auto.tfvars create mode 100644 examples/network/sample_drg-data.auto.tfvars create mode 100644 examples/network/sample_drg-distributions.auto.tfvars create mode 100644 examples/network/sample_drg-routetables.auto.tfvars create mode 100644 examples/network/sample_major-objects.auto.tfvars create mode 100644 examples/network/sample_routetables.auto.tfvars create mode 100644 examples/network/variables_phoenix.tf create mode 100644 examples/nsg/backend.tf create mode 100644 examples/nsg/nsg.tf create mode 100644 examples/nsg/oci-data.tf create mode 100644 examples/nsg/provider.tf create mode 100644 examples/nsg/sample_nsg-rules.auto.tfvars create mode 100644 examples/nsg/sample_nsgs.auto.tfvars create mode 100644 examples/nsg/variables_phoenix.tf create mode 100644 examples/nsg/variables_phoenix.tf_backup create mode 100644 examples/ocvs/backend.tf create mode 100644 examples/ocvs/oci-data.tf create mode 100644 examples/ocvs/provider.tf create mode 100644 examples/ocvs/sample_sddcs.auto.tfvars create mode 100644 examples/ocvs/sample_sddcs_cluster.auto.tfvars create mode 100644 examples/ocvs/sddc.tf create mode 100644 examples/ocvs/variables_phoenix.tf create mode 100644 examples/ocvs/variables_phoenix.tf_backup create mode 100644 examples/oke/backend.tf create mode 100644 examples/oke/oci-data.tf create mode 100644 examples/oke/oke.tf create mode 100644 examples/oke/provider.tf create mode 100644 examples/oke/sample_oke_clusters.auto.tfvars create mode 100644 examples/oke/sample_oke_nodepools.auto.tfvars create mode 100644 examples/oke/sample_oke_virtual-nodepools.auto.tfvars create mode 100644 examples/oke/variables_phoenix.tf create mode 100644 examples/oke/variables_phoenix.tf_backup create mode 100644 examples/oss/backend.tf create mode 100644 examples/oss/object-storage.tf create mode 100644 examples/oss/oci-data.tf create mode 100644 examples/oss/provider.tf create mode 100644 examples/oss/sample_buckets.auto.tfvars create mode 100644 examples/oss/variables_phoenix.tf create mode 100644 examples/quota/backend.tf create mode 100644 examples/quota/oci-data.tf create mode 100644 examples/quota/provider.tf create mode 100644 examples/quota/quota.tf create mode 100644 examples/quota/sample_quotas.auto.tfvars create mode 100644 examples/quota/variables_phoenix.tf create mode 100644 examples/quota/variables_phoenix.tf_backup create mode 100644 examples/tagging/backend.tf create mode 100644 examples/tagging/oci-data.tf create mode 100644 examples/tagging/provider.tf create mode 100644 examples/tagging/sample_tags-defaults.auto.tfvars create mode 100644 examples/tagging/sample_tags-keys.auto.tfvars create mode 100644 examples/tagging/sample_tags-namespaces.auto.tfvars create mode 100644 examples/tagging/tagging.tf create mode 100644 examples/tagging/variables_phoenix.tf create mode 100644 examples/tagging/variables_phoenix.tf_backup diff --git a/.gitignore b/.gitignore index 4e16e08..9bb21b8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .DS_Store .AppleDouble .LSOverride +.terraform # Icon must end with two \r Icon diff --git a/examples/budget/backend.tf b/examples/budget/backend.tf new file mode 100644 index 0000000..6137009 --- /dev/null +++ b/examples/budget/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/budget/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/budget/budget.tf b/examples/budget/budget.tf new file mode 100644 index 0000000..bf56bc2 --- /dev/null +++ b/examples/budget/budget.tf @@ -0,0 +1,63 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - Cost Management +# Create Budgets and Rule Alerts +############################ + +#locals { +# comp_ocids = {for key, val in var.budgets : key => [ +# var.compartment_ocids[flatten([for targets in val.targets : targets])[0]] +# ] if val.target_type == "COMPARTMENT" } +#} + + + +module "budget-alert-rules" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/costmanagement/budget-alert-rule?ref=v2024.4.0" + for_each = var.budget_alert_rules + + #Required + budget_id = length(regexall("ocid1.budget.oc*", each.value.budget_id)) > 0 ? each.value.budget_id : merge(module.budgets.*...)[each.value.budget_id]["budget_tf_id"] + threshold = each.value.threshold + threshold_type = each.value.threshold_type + type = each.value.type + + #Optional + description = each.value.description + display_name = each.value.display_name + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + message = each.value.message + recipients = each.value.recipients +} + +module "budgets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/costmanagement/budget?ref=v2024.4.0" + for_each = var.budgets + + #Required + amount = each.value.amount + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + + reset_period = each.value.reset_period != null ? each.value.reset_period : "MONTHLY" + + #Optional + budget_processing_period_start_offset = each.value.budget_processing_period_start_offset + description = each.value.description + display_name = each.value.display_name + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + processing_period_type = each.value.processing_period_type + budget_start_date = each.value.processing_period_type == "SINGLE_USE" ? each.value.budget_start_date : null + budget_end_date = each.value.processing_period_type == "SINGLE_USE" ? each.value.budget_end_date : null + + #target_compartment_id = each.value.target_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.target_compartment_id)) > 0 ? each.value.target_compartment_id : var.compartment_ocids[each.value.target_compartment_id]) : null + + target_type = each.value.target_type + #targets = each.value.targets + + targets = each.value.target_type == "COMPARTMENT" ? (length(regexall("ocid1.compartment.oc*", each.value.targets[0])) > 0 ? each.value.targets : [var.compartment_ocids[each.value.targets[0]]]) : each.value.targets + +} \ No newline at end of file diff --git a/examples/budget/oci-data.tf b/examples/budget/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/budget/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/budget/provider.tf b/examples/budget/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/budget/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/budget/sample_budgets.auto.tfvars b/examples/budget/sample_budgets.auto.tfvars new file mode 100644 index 0000000..97c0f7f --- /dev/null +++ b/examples/budget/sample_budgets.auto.tfvars @@ -0,0 +1,76 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Governance +# Create Budgets +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# budget_end_date and budget_start_date are mandatory for budgets of "SINGLE USE" type +# budget_processing_period_start_offset is mandatory for budgets of "MONTH" type +# target_type - supported values are "TAG"/"COMPARTMENT" +# for COMPARTMENT type target, targets value should be list of compartment ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# for TAG type target, targets value should be list of +# Sample import command : +# terraform import "module.budgets[\"<>\"].oci_budget_budget.budget" +############################ +budgets = { + Budget1 = { + compartment_id = "root" + amount = 10 + reset_period = "MONTHLY" + description = "demo budget1" + display_name = "Budget1" + processing_period_type = "SINGLE_USE" + budget_start_date = "2024-06-01" + budget_end_date = "2024-06-11" + target_type = "COMPARTMENT" + targets = ["root"] + }, + Budget2 = { + compartment_id = "root" + amount = 100 + reset_period = "MONTHLY" + description = "demo budget 2" + budget_processing_period_start_offset = "5" + display_name = "Budget2" + processing_period_type = "MONTH" + target_type = "TAG" + targets = ["Operations.CostCenter.01"] + }, +} + +############################ +# Governance +# Create Budget Alert Rules +# Allowed Values: +# budget_id = +# type = +# threshold = +# threshold_type = +# Sample import command : +# terraform import "module.budget-alert-rules[\"<< budget alert rule terraform variable name>>\"].oci_budget_alert_rule.alert_rule" budgets//alertRules/ +############################ +budget_alert_rules = { + "Budget2_ACTUAL_PERCENTAGE_70-0" = { + budget_id = "Budget2" + type = "ACTUAL" + threshold = "70.0" + threshold_type = "PERCENTAGE" + }, + "Budget2_ACTUAL_PERCENTAGE_100" = { + budget_id = "Budget2" + type = "ACTUAL" + threshold = "100" + threshold_type = "PERCENTAGE" + message = "test message" + recipients = "recipient_email1@oracle.com,recipient_email2@oracle.com" + }, + "Budget2_FORECAST_ABSOLUTE_20-0" = { + budget_id = "Budget2" + type = "FORECAST" + threshold = "20.0" + threshold_type = "ABSOLUTE" + recipients = "recipient_email3@oracle.com" + }, +} \ No newline at end of file diff --git a/examples/budget/variables_phoenix.tf b/examples/budget/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/budget/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/budget/variables_phoenix.tf_backup b/examples/budget/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 diff --git a/examples/compute/backend.tf b/examples/compute/backend.tf new file mode 100644 index 0000000..1a0dd03 --- /dev/null +++ b/examples/compute/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/compute/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/compute/block-volume.tf b/examples/compute/block-volume.tf new file mode 100644 index 0000000..fbf638b --- /dev/null +++ b/examples/compute/block-volume.tf @@ -0,0 +1,50 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - BlockVolume +# Create BlockVolume and Block Volume Backup Policy +############################ +/* +data "oci_core_instances" "instance" { + depends_on = [module.instances] + for_each = var.blockvolumes != null ? var.blockvolumes : {} + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = one(each.value.attach_to_instance) + state = "RUNNING" +} +*/ + +module "block-volumes" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/storage/block-volume?ref=v2024.4.0" + for_each = var.blockvolumes != null ? var.blockvolumes : {} + attachment_type = each.value.attachment_type + attach_to_instance = each.value.attach_to_instance != null ? length(regexall("ocid1.instance.oc*", each.value.attach_to_instance)) > 0 ? each.value.attach_to_instance : merge(module.instances.*...)[each.value.attach_to_instance]["instance_tf_id"] : null + #attach_to_instance = length(each.value.attach_to_instance) > 0 ? [data.oci_core_instances.instance[each.value.display_name].instances[0].id] : [] + availability_domain = each.value.availability_domain != "" && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : null + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vpus_per_gb = each.value.vpus_per_gb != null ? each.value.vpus_per_gb : null + device = each.value.device + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + is_auto_tune_enabled = each.value.is_auto_tune_enabled + kms_key_id = each.value.kms_key_id + size_in_gbs = each.value.size_in_gbs != null ? each.value.size_in_gbs : null + block_tf_policy = each.value.backup_policy != null ? each.value.backup_policy : null + policy_tf_compartment_id = each.value.policy_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.policy_compartment_id)) > 0 ? each.value.policy_compartment_id : var.compartment_ocids[each.value.policy_compartment_id]) : null + autotune_policies = each.value.autotune_policies + source_details = each.value.source_details + block_volume_replicas = each.value.block_volume_replicas + block_volume_replicas_deletion = each.value.block_volume_replicas_deletion + + #Volume Attachment Optional Params + # attachment_display_name = each.value.attachment_display_name + # encryption_in_transit_type = each.value.encryption_in_transit_type # Applicable when attachment_type=iscsi + is_pv_encryption_in_transit_enabled = each.value.is_pv_encryption_in_transit_enabled # Applicable when attachment_type=paravirtualized + is_read_only = each.value.is_read_only + is_shareable = each.value.is_shareable + use_chap = each.value.use_chap + is_agent_auto_iscsi_login_enabled = each.value.is_agent_auto_iscsi_login_enabled # Applicable when attachment_type=iscsi + blockvolume_source_ocids = var.blockvolume_source_ocids +} \ No newline at end of file diff --git a/examples/compute/dedicated-vm-host.tf b/examples/compute/dedicated-vm-host.tf new file mode 100644 index 0000000..c30df66 --- /dev/null +++ b/examples/compute/dedicated-vm-host.tf @@ -0,0 +1,21 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +################################### +## Module Block - Dedicated VM Host +## Create Dedicated VM Hosts +################################### + +module "dedicated-hosts" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/compute/dedicated-vm-host?ref=v2024.4.0" + for_each = var.dedicated_hosts != null ? var.dedicated_hosts : {} + + availability_domain = each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : null + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + vm_host_shape = each.value.vm_host_shape + display_name = each.value.display_name + fault_domain = each.value.fault_domain + +} \ No newline at end of file diff --git a/examples/compute/instance.tf b/examples/compute/instance.tf new file mode 100644 index 0000000..64615a0 --- /dev/null +++ b/examples/compute/instance.tf @@ -0,0 +1,84 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +## Module Block - Instances +## Create Instance +############################# + +data "oci_core_subnets" "oci_subnets" { + # depends_on = [module.subnets] # Uncomment to create Network and Instances together + for_each = var.instances != null ? var.instances : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_vcns[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "oci_vcns" { + # depends_on = [module.vcns] # Uncomment to create Network and Instances together + for_each = var.instances != null ? var.instances : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "instances" { + #source = "../modules/compute/instance" + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/compute/instance?ref=v2024.4.0" + + # depends_on = [module.nsgs] # Uncomment to create NSG and Instances together + for_each = var.instances != null ? var.instances : {} + availability_domain = each.value.availability_domain != "" && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + vcn_names = [each.value.vcn_name] + dedicated_vm_host_name = each.value.dedicated_vm_host_id != null ? each.value.dedicated_vm_host_id : null + shape = each.value.shape + ocpu_count = each.value.ocpus + private_ip = each.value.private_ip != null ? each.value.private_ip : null + defined_tags = each.value.defined_tags + display_name = each.value.display_name + fault_domain = each.value.fault_domain + freeform_tags = each.value.freeform_tags + source_type = each.value.source_type + source_image_id = length(regexall("ocid1.image.oc*", each.value.source_id)) > 0 || length(regexall("ocid1.bootvolume.oc*", each.value.source_id)) > 0 ? each.value.source_id : lookup(var.instance_source_ocids, each.value.source_id, null) + subnet_id = each.value.subnet_id != "" ? (length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_subnets[each.key].subnets.*.id[0]) : null + assign_public_ip = each.value.assign_public_ip + ssh_public_keys = each.value.ssh_authorized_keys != null ? (length(regexall("ssh-rsa*", each.value.ssh_authorized_keys)) > 0 ? each.value.ssh_authorized_keys : lookup(var.instance_ssh_keys, each.value.ssh_authorized_keys, null)) : null + hostname_label = each.value.hostname_label + nsg_ids = each.value.nsg_ids + #nsg_ids = each.value.nsg_ids != [] ? [for nsg in each.value.nsg_ids : length(regexall("ocid1.networksecuritygroup.oc*",nsg)) > 0 ? nsg : merge(module.nsgs.*...)[nsg]["nsg_tf_id"]] : [] + boot_volume_size_in_gbs = each.value.boot_volume_size_in_gbs != null ? each.value.boot_volume_size_in_gbs : null + memory_in_gbs = each.value.memory_in_gbs != null ? each.value.memory_in_gbs : null + capacity_reservation_id = each.value.capacity_reservation_id != null ? lookup(var.capacity_reservation_ocids, each.value.capacity_reservation_id, null) : null + create_is_pv_encryption_in_transit_enabled = each.value.create_is_pv_encryption_in_transit_enabled + + boot_tf_policy = each.value.backup_policy != null ? each.value.backup_policy : null + policy_tf_compartment_id = each.value.policy_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.policy_compartment_id)) > 0 ? each.value.policy_compartment_id : var.compartment_ocids[each.value.policy_compartment_id]) : null + remote_execute = each.value.remote_execute != null ? each.value.remote_execute : null + bastion_ip = each.value.bastion_ip != null ? each.value.bastion_ip : null + cloud_init_script = each.value.cloud_init_script != null ? each.value.cloud_init_script : null + launch_options = each.value.launch_options + plugins_details = each.value.plugins_details + platform_config = each.value.platform_config != null ? each.value.platform_config : null + is_live_migration_preferred = each.value.is_live_migration_preferred + + # extended_metadata = each.value.extended_metadata + skip_source_dest_check = each.value.skip_source_dest_check != null ? each.value.skip_source_dest_check : null + baseline_ocpu_utilization = each.value.baseline_ocpu_utilization + # preemptible_instance_config = each.value.preemptible_instance_config + all_plugins_disabled = each.value.all_plugins_disabled + is_management_disabled = each.value.is_management_disabled + is_monitoring_disabled = each.value.is_monitoring_disabled + recovery_action = each.value.recovery_action + are_legacy_imds_endpoints_disabled = each.value.are_legacy_imds_endpoints_disabled + ipxe_script = each.value.ipxe_script + preserve_boot_volume = each.value.preserve_boot_volume + assign_private_dns_record = each.value.assign_private_dns_record + vlan_id = each.value.vlan_id + kms_key_id = each.value.kms_key_id + + # VNIC Details + vnic_defined_tags = each.value.vnic_defined_tags + vnic_freeform_tags = each.value.vnic_freeform_tags + vnic_display_name = each.value.vnic_display_name +} \ No newline at end of file diff --git a/examples/compute/oci-data.tf b/examples/compute/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/compute/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/compute/provider.tf b/examples/compute/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/compute/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/compute/sample_blockvolumes.auto.tfvars b/examples/compute/sample_blockvolumes.auto.tfvars new file mode 100644 index 0000000..526689e --- /dev/null +++ b/examples/compute/sample_blockvolumes.auto.tfvars @@ -0,0 +1,32 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Block Volumes +# Block Volumes - tfvars +# Allowed Values: +# compartment_id and policy_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for block volume: +# terraform import "module.block-volumes[\"<>\"].oci_core_volume.block_volume" <> +# terraform import "module.block-volumes[\"<>\"].oci_core_volume_attachment.block_vol_instance_attachment[0]" <> +# terraform import "module.block-volumes[\"<>\"].oci_core_volume_backup_policy_assignment.volume_backup_policy_assignment[0]" <> +############################ +blockvolumes = { + instance1_disk2 = { + availability_domain = 0 + compartment_id = "Network" + display_name = "instance1_disk2" + size_in_gbs = 150 + vpus_per_gb = 40 + autotune_policies = [ + { + autotune_type = "PERFORMANCE_BASED" + max_vpus_per_gb = "100" + }, + ] + attach_to_instance = "instance1" + attachment_type = "paravirtualized" + device = "/dev/oracleoci/oraclevdb" + }, +} \ No newline at end of file diff --git a/examples/compute/sample_dedicatedvmhosts.auto.tfvars b/examples/compute/sample_dedicatedvmhosts.auto.tfvars new file mode 100644 index 0000000..2debb7b --- /dev/null +++ b/examples/compute/sample_dedicatedvmhosts.auto.tfvars @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Dedicated VM Hosts +# Dedicated VM Hosts - tfvars +# Allowed Values: +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for Dedicated VM Hosts: +# terraform import "module.dedicated-hosts[\"<>\"].oci_core_dedicated_vm_host.dedicated_vm_host" <> +############################ +dedicated_hosts = { + VM1 = { + #Required + availability_domain = 0 + compartment_id = "AppDev" + vm_host_shape = "DVH.Standard2.52" + #Optional + display_name = "VM1" + fault_domain = "FAULT-DOMAIN-3" + }, +##Add New Dedicated VM Host for phoenix here## +} \ No newline at end of file diff --git a/examples/compute/sample_instances.auto.tfvars b/examples/compute/sample_instances.auto.tfvars new file mode 100644 index 0000000..19ea03a --- /dev/null +++ b/examples/compute/sample_instances.auto.tfvars @@ -0,0 +1,37 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Instances +# Instance - tfvars +# Allowed Values: +# vcn_name must be the name of the VCN as in OCI +# subnet_id can be the ocid of the subnet or the name as in OCI +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for Instance and volume backup policy: +# terraform import "module.instances[\"<>\"].oci_core_instance.instance" <> +# terraform import "module.instances[\"<>\"].oci_core_volume_backup_policy_assignment.volume_backup_policy_assignment[0]" <> +############################ +instances = { + instance1 = { + availability_domain = 0 + compartment_id = "Network" + shape = "VM.Standard.E3.Flex" + display_name = "instance1" + fault_domain = "FAULT-DOMAIN-1" + source_id = "Linux" + source_type = "image" + network_compartment_id = "Network" + vcn_name = "fwl-vcn" + subnet_id = "fwl-mgmt" + assign_public_ip = false + ocpus = "2" + memory_in_gbs = 8 + ssh_authorized_keys = "ssh_public_key" + backup_policy = "Bronze" + ## Section for adding VNIC Defined and Freeform Tags + #} + }, +##Add New Instances for phoenix here## +} \ No newline at end of file diff --git a/examples/compute/scripts/bastion-ssh-key b/examples/compute/scripts/bastion-ssh-key new file mode 100755 index 0000000..11fb104 --- /dev/null +++ b/examples/compute/scripts/bastion-ssh-key @@ -0,0 +1,2 @@ +## Copy contents of SSH Private Key in openssh format to connect to the bastion host ## +## Do Not change the name of the file ## \ No newline at end of file diff --git a/examples/compute/scripts/default.sh b/examples/compute/scripts/default.sh new file mode 100644 index 0000000..079607b --- /dev/null +++ b/examples/compute/scripts/default.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "i am inside system" >> system.txt \ No newline at end of file diff --git a/examples/compute/scripts/default.yaml b/examples/compute/scripts/default.yaml new file mode 100644 index 0000000..bef6f64 --- /dev/null +++ b/examples/compute/scripts/default.yaml @@ -0,0 +1,39 @@ +- hosts: localhost + become: true + become_user: root + tasks: + - name: Pause for one min for blockvol attachment. + ansible.builtin.pause: + minutes: 1 + + - parted: + device: /dev/oracleoci/oraclevdb + number: 1 + state: present + part_end: 100% + + - name: Create Volume Group on /dev/sdb1 + lvg: vg=vg01 pvs=/dev/sdb1 + + - name: Create LV on VG01 + lvol: vg=vg01 lv=lv01 size=20G + + - name: Create xfs on vg01-lv01 + filesystem: fstype=xfs dev=/dev/vg01/lv01 + + - name: Get blkid vg01-lv01 + shell: + "sudo blkid -s UUID -o value /dev/mapper/vg01-lv01" + register: disk_blkid_lv01 + + - name: mounting new filesystem on /weblogic + mount: name=/weblogic src='UUID={{ disk_blkid_lv01.stdout }}' fstype=xfs state=mounted opts='defaults,noatime,_netdev' passno=2 + + - name: Pause for 30sec to complete settings. + ansible.builtin.pause: + seconds: 30 + + - name: Removing the cron file post settings. + file: + path: /etc/cron.d/ansible + state: absent diff --git a/examples/compute/scripts/server-ssh-key b/examples/compute/scripts/server-ssh-key new file mode 100644 index 0000000..32ebe59 --- /dev/null +++ b/examples/compute/scripts/server-ssh-key @@ -0,0 +1,2 @@ +## Copy contents of SSH Private Key to connect to the VMs here ## +## Do Not change the name of the file ## \ No newline at end of file diff --git a/examples/compute/variables_phoenix.tf b/examples/compute/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/compute/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/database/adb.tf b/examples/database/adb.tf new file mode 100644 index 0000000..377118c --- /dev/null +++ b/examples/database/adb.tf @@ -0,0 +1,96 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +## Module Block - Autonomous database +## Create autonomous database +############################# +data "oci_core_subnets" "oci_subnets_adb" { + # depends_on = [module.subnets] # Uncomment to create Network and FSS together + #for_each = var.adb != null ? var.adb : {} + for_each = { for k, v in var.adb : k => v if v.vcn_name != null } + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_adb[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "oci_vcns_adb" { + # depends_on = [module.vcns] # Uncomment to create Network and FSS together + #for_each = var.adb != null ? var.adb : {} + for_each = { for k, v in var.adb : k => v if v.vcn_name != null } + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "adb" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/database/adb?ref=v2024.4.0" + for_each = var.adb != null ? var.adb : {} + # depends_on = [module.nsgs] + admin_password = each.value.admin_password + character_set = each.value.character_set + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + cpu_core_count = each.value.cpu_core_count + database_edition = each.value.database_edition + data_storage_size_in_tbs = each.value.data_storage_size_in_tbs + db_name = each.value.db_name + db_version = each.value.db_version + db_workload = each.value.db_workload + defined_tags = each.value.defined_tags + display_name = each.value.display_name + license_model = each.value.license_model + ncharacter_set = each.value.ncharacter_set + customer_contacts = each.value.customer_contacts + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + network_security_group_ids = each.value.nsg_ids + freeform_tags = each.value.freeform_tags + subnet_id = each.value.subnet_id != null ? (length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_subnets_adb[each.key].subnets.*.id[0]) : null + vcn_name = each.value.vcn_name != null ? each.value.vcn_name : null + whitelisted_ips = each.value.whitelisted_ips + + #Optional parameters for ADB + # are_primary_whitelisted_ips_used = var.autonomous_database_are_primary_whitelisted_ips_used + # autonomous_container_database_id = oci_database_autonomous_container_database.test_autonomous_container_database.id + # autonomous_database_backup_id = oci_database_autonomous_database_backup.test_autonomous_database_backup.id + # autonomous_database_id = oci_database_autonomous_database.test_autonomous_database.id + # autonomous_maintenance_schedule_type = var.autonomous_database_autonomous_maintenance_schedule_type + # clone_type = var.autonomous_database_clone_type + # customer_contacts { + + #Optional + # email = var.autonomous_database_customer_contacts_email + # } + # data_safe_status = var.autonomous_database_data_safe_status + # data_storage_size_in_gb = var.autonomous_database_data_storage_size_in_gb + # is_access_control_enabled = var.autonomous_database_is_access_control_enabled + # is_auto_scaling_enabled = var.autonomous_database_is_auto_scaling_enabled + # is_auto_scaling_for_storage_enabled = var.autonomous_database_is_auto_scaling_for_storage_enabled + # is_data_guard_enabled = var.autonomous_database_is_data_guard_enabled + # is_dedicated = var.autonomous_database_is_dedicated + # is_free_tier = var.autonomous_database_is_free_tier + # is_local_data_guard_enabled = var.autonomous_database_is_local_data_guard_enabled + # is_mtls_connection_required = var.autonomous_database_is_mtls_connection_required + # is_preview_version_with_service_terms_accepted = var.autonomous_database_is_preview_version_with_service_terms_accepted + # kms_key_id = oci_kms_key.test_key.id + # max_cpu_core_count = var.autonomous_database_max_cpu_core_count + # ocpu_count = var.autonomous_database_ocpu_count + # private_endpoint_label = var.autonomous_database_private_endpoint_label + # refreshable_mode = var.autonomous_database_refreshable_mode + # scheduled_operations { + # #Required + # day_of_week { + # #Required + # name = var.autonomous_database_scheduled_operations_day_of_week_name + # } + + # #Optional + # scheduled_start_time = var.autonomous_database_scheduled_operations_scheduled_start_time + # scheduled_stop_time = var.autonomous_database_scheduled_operations_scheduled_stop_time + # } + # source = var.autonomous_database_source + # source_id = oci_database_source.test_source.id + # standby_whitelisted_ips = var.autonomous_database_standby_whitelisted_ips + # timestamp = var.autonomous_database_timestamp + # vault_id = oci_kms_vault.test_vault.id + # whitelisted_ips = var.autonomous_database_whitelisted_ips + +} \ No newline at end of file diff --git a/examples/database/backend.tf b/examples/database/backend.tf new file mode 100644 index 0000000..eec2401 --- /dev/null +++ b/examples/database/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/database/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/database/database-exacs.tf b/examples/database/database-exacs.tf new file mode 100644 index 0000000..c4e5bd9 --- /dev/null +++ b/examples/database/database-exacs.tf @@ -0,0 +1,97 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################################ +# Module Block - Database +# Create ExaInfra +############################################ + +data "oci_core_subnets" "oci_exacs_subnets" { + # depends_on = [module.subnets] # Uncomment to create Network and Instances together + for_each = var.exa_vmclusters != null ? var.exa_vmclusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.cluster_subnet_id + vcn_id = data.oci_core_vcns.oci_exacs_vcns[each.key].virtual_networks.*.id[0] +} + +data "oci_core_subnets" "oci_exacs_backup_subnets" { + # depends_on = [module.subnets] # Uncomment to create Network and Instances together + for_each = var.exa_vmclusters != null ? var.exa_vmclusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.backup_subnet_id + vcn_id = data.oci_core_vcns.oci_exacs_vcns[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "oci_exacs_vcns" { + # depends_on = [module.vcns] # Uncomment to create Network and Instances together + for_each = var.exa_vmclusters != null ? var.exa_vmclusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "exa-infra" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/database/exa-infra?ref=v2024.4.0" + for_each = var.exa_infra != null ? var.exa_infra : {} + availability_domain = each.value.availability_domain != "" && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + shape = each.value.shape + compute_count = each.value.compute_count + # customer_contacts_email = each.value.customer_contacts_email + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + storage_count = each.value.storage_count + + #Optional + # maintenance_window_preference = each.value.maintenance_window_preference + # maintenance_window_days_of_week_name = each.value.maintenance_window_days_of_week_name + # maintenance_window_hours_of_day = each.value.maintenance_window_hours_of_day + # maintenance_window_lead_time_in_weeks = each.value.maintenance_window_lead_time_in_weeks + # maintenance_window_months_name = each.value.maintenance_window_months_name + # maintenance_window_weeks_of_month = each.value.maintenance_window_weeks_of_month +} + + +############################################ +# Module Block - Database +# Create ExaVMClusters +############################################ + +module "exa-vmclusters" { + depends_on = [module.exa-infra] + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/database/exa-vmcluster?ref=v2024.4.0" + + for_each = var.exa_vmclusters != null ? var.exa_vmclusters : {} + backup_subnet_id = each.value.backup_subnet_id != "" ? (length(regexall("ocid1.subnet.oc*", each.value.backup_subnet_id)) > 0 ? each.value.backup_subnet_id : data.oci_core_subnets.oci_exacs_backup_subnets[each.key].subnets.*.id[0]) : null + exadata_infrastructure_id = length(regexall("ocid1.cloudexadatainfrastructure.oc*", each.value.exadata_infrastructure_id)) > 0 ? each.value.exadata_infrastructure_id : merge(module.exa-infra.*...)[each.value.exadata_infrastructure_id].exainfra_tf_id + cpu_core_count = each.value.cpu_core_count + display_name = each.value.display_name + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + gi_version = each.value.gi_version + hostname = each.value.hostname + #ssh_public_keys = length(regexall("ssh-rsa*",each.value.ssh_public_key)) > 0 ? each.value.ssh_public_key : var.ssh_public_key + ssh_public_keys = lookup(var.exacs_ssh_keys, each.value.ssh_public_keys, var.exacs_ssh_keys["ssh_public_key"]) + // cluster_subnet_id = length(regexall("ocid1.subnet.oc*", each.value.cluster_subnet_id)) > 0 ? each.value.cluster_subnet_id : merge(module.subnets.*...)[each.value.cluster_subnet_id]["subnet_tf_id"] + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + vcn_names = [each.value.vcn_name] + cluster_subnet_id = each.value.cluster_subnet_id != "" ? (length(regexall("ocid1.subnet.oc*", each.value.cluster_subnet_id)) > 0 ? each.value.cluster_subnet_id : data.oci_core_subnets.oci_exacs_subnets[each.key].subnets.*.id[0]) : null + backup_network_nsg_ids = each.value.backup_network_nsg_ids != null ? each.value.backup_network_nsg_ids : [] + cluster_name = each.value.cluster_name + data_storage_percentage = each.value.data_storage_percentage + db_node_storage_size_in_gbs = each.value.db_node_storage_size_in_gbs != null ? each.value.db_node_storage_size_in_gbs : null + memory_size_in_gbs = each.value.memory_size_in_gbs != null ? each.value.memory_size_in_gbs : null + data_storage_size_in_tbs = each.value.data_storage_size_in_tbs != null ? each.value.data_storage_size_in_tbs : null + db_servers = each.value.db_servers != [] ? each.value.db_servers : [] + defined_tags = each.value.defined_tags + domain = each.value.domain + freeform_tags = each.value.freeform_tags + is_local_backup_enabled = each.value.is_local_backup_enabled + is_sparse_diskgroup_enabled = each.value.is_sparse_diskgroup_enabled + license_model = each.value.license_model + // nsg_ids = each.value.nsg_ids != null ? [for nsg in each.value.nsg_ids : length(regexall("ocid1.networksecuritygroup.oc*", nsg)) > 0 ? nsg : merge(module.nsgs.*...)[nsg]["nsg_tf_id"]] : null + nsg_ids = each.value.nsg_ids != null ? each.value.nsg_ids : [] + ocpu_count = each.value.ocpu_count + scan_listener_port_tcp = each.value.scan_listener_port_tcp + scan_listener_port_tcp_ssl = each.value.scan_listener_port_tcp_ssl + time_zone = each.value.time_zone +} \ No newline at end of file diff --git a/examples/database/dbsystem-vm-bm.tf b/examples/database/dbsystem-vm-bm.tf new file mode 100644 index 0000000..240146f --- /dev/null +++ b/examples/database/dbsystem-vm-bm.tf @@ -0,0 +1,61 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################################ +# Module Block - Database +# Create DB Systems VM BM +############################################ +data "oci_core_subnets" "oci_dbsystems_subnets" { + # depends_on = [module.subnets] # Uncomment to create Network and Instances together + for_each = var.dbsystems_vm_bm != null ? var.dbsystems_vm_bm : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_dbsystems_vcns[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "oci_dbsystems_vcns" { + # depends_on = [module.vcns] # Uncomment to create Network and Instances together + for_each = var.dbsystems_vm_bm != null ? var.dbsystems_vm_bm : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "dbsystems-vm-bm" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/database/dbsystem-vm-bm?ref=v2024.4.0" + # depends_on = [module.nsgs] # Uncomment to create NSG and DB Systems together + for_each = var.dbsystems_vm_bm != null ? var.dbsystems_vm_bm : {} + availability_domain = each.value.availability_domain != "" && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + hostname = each.value.hostname + display_name = each.value.display_name + db_version = each.value.db_version + cluster_name = each.value.cluster_name + shape = each.value.shape + #ssh_public_key = length(regexall("ssh-rsa*",each.value.ssh_public_key)) > 0 ? each.value.ssh_public_key : var.ssh_public_key + ssh_public_keys = lookup(var.dbsystem_ssh_keys, each.value.ssh_public_keys, var.dbsystem_ssh_keys["ssh_public_key"]) + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + vcn_names = [each.value.vcn_name] + subnet_id = each.value.subnet_id != "" ? (length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_dbsystems_subnets[each.key].subnets.*.id[0]) : null + node_count = each.value.node_count + nsg_ids = each.value.nsg_ids != null ? each.value.nsg_ids : [] + + time_zone = each.value.time_zone + cpu_core_count = each.value.cpu_core_count + database_edition = each.value.database_edition + data_storage_size_in_gb = each.value.data_storage_size_in_gb + data_storage_percentage = each.value.data_storage_percentage + disk_redundancy = each.value.disk_redundancy + license_model = each.value.license_model + pdb_name = each.value.pdb_name + db_name = each.value.db_name + db_home_display_name = each.value.db_home_display_name + admin_password = each.value.admin_password + db_workload = each.value.db_workload + auto_backup_enabled = each.value.auto_backup_enabled + character_set = each.value.character_set + ncharacter_set = each.value.ncharacter_set + recovery_window_in_days = each.value.recovery_window_in_days + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + +} \ No newline at end of file diff --git a/examples/database/oci-data.tf b/examples/database/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/database/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/database/provider.tf b/examples/database/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/database/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/database/sample_adb.auto.tfvars b/examples/database/sample_adb.auto.tfvars new file mode 100644 index 0000000..335957d --- /dev/null +++ b/examples/database/sample_adb.auto.tfvars @@ -0,0 +1,29 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# ADB +# ADB - tfvars +# Allowed Values: +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Database--Prod" where "Database" is the parent of "Prod" compartment +############################ +adb = { + ATPDemo = { + compartment_id = "CD3Demo" + db_name = "atpdemo" + display_name = "ATPDemo" + admin_password = "" + cpu_core_count = 1 + database_edition = null + db_version = "19c" + db_workload = "OLTP" + license_model = "LICENSE_INCLUDED" + whitelisted_ips = ["124.123.178.211","182.68.203.47"] + network_compartment_id = null + nsg_ids = [] + subnet_id = null + vcn_name = null + }, +##Add New ADB for phoenix here## +} \ No newline at end of file diff --git a/examples/database/sample_dbsystems-vm-bm.auto.tfvars b/examples/database/sample_dbsystems-vm-bm.auto.tfvars new file mode 100644 index 0000000..f17d33d --- /dev/null +++ b/examples/database/sample_dbsystems-vm-bm.auto.tfvars @@ -0,0 +1,51 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Database +# DBSystem-VM-BM - tfvars +# Allowed Values: +# subnet_id and nsg_ids can be ocids or the key of subnets (map) and nsgs (map) +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Database--Prod" where "Database" is the parent of "Prod" compartment +# Sample import command for DBSystem-VM-BM: +# terraform import "module.dbsystems-vm-bm[\"<>\"].oci_database_db_system.database_db_system" <> +############################ +dbsystems_vm_bm = { + DBSYSSERESEERE = { + availability_domain = 0 + compartment_id = "Hari" + shape = "VM.Standard.E5.Flex" + network_compartment_id = "Hari" + vcn_name = "hari_test_vcn1" + subnet_id = "hari_test_publicsubnet" + hostname = "otfdsferess" + cpu_core_count = 1 + database_edition = "ENTERPRISE_EDITION" + admin_password = "" + db_name = "DBOTFO8" + db_home_display_name = "" + character_set = "AL32UTF8" + ncharacter_set = "AL16UTF16" + db_workload = "OLTP" + pdb_name = "DBOTFDBNAME" + ssh_public_keys = "DBSYSSERESEERE_otfdsferess" + auto_backup_enabled = true + recovery_window_in_days = 7 + db_version = "19.21.0.0.0" + disk_redundancy = "HIGH" + nsg_ids = null + display_name = "DBSYSSERESEERE" + cluster_name = "" + data_storage_size_in_gb = 256 + data_storage_percentage = 80 + license_model = "LICENSE_INCLUDED" + node_count = 1 + time_zone = "UTC" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-07-18T10:15:00.127Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/harikrishna.beerangi@oracle.com" + } + freeform_tags = {} + }, +} \ No newline at end of file diff --git a/examples/database/variables_phoenix.tf b/examples/database/variables_phoenix.tf new file mode 100644 index 0000000..5a47bfc --- /dev/null +++ b/examples/database/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + DBSYSSERESEERE_otfdsferess = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+Q4fHpGrrHADfXXiHfGGXFToDYjMotCtE8PyjQjMQTEmRExH2jsEXtODp2pb8imdcdp5pPmBadsHV7av3vFRg7yvjuUY7IyZ9t5WO+0dI4xOCGZIzlO6AODN6ihLezFJUZWyc0NaQ/faBxox/nhjngCRIOpSazJyJ/Gstm44EzjTed5u9DuM9MntNsROe+kiRcSOxRDyfFjkq+nLWPqaavCA0cEJNW+a+WdAzlYxMhZiDD6KqsxIpJP1kdFOB+/Oh4OeZZet87DzmDeTx/gqH8fMgebAEKUBk3/VYJHqCP3k99KdqmfbL2Lq20eH3N4f/Xl3FueZLLSy2Ljy0np2n ssh-key-2024-07-17"] + DBSystem-202407171943_demoaeraeaf = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+Q4fHpGrrHADfXXiHfGGXFToDYjMotCtE8PyjQjMQTEmRExH2jsEXtODp2pb8imdcdp5pPmBadsHV7av3vFRg7yvjuUY7IyZ9t5WO+0dI4xOCGZIzlO6AODN6ihLezFJUZWyc0NaQ/faBxox/nhjngCRIOpSazJyJ/Gstm44EzjTed5u9DuM9MntNsROe+kiRcSOxRDyfFjkq+nLWPqaavCA0cEJNW+a+WdAzlYxMhZiDD6KqsxIpJP1kdFOB+/Oh4OeZZet87DzmDeTx/gqH8fMgebAEKUBk3/VYJHqCP3k99KdqmfbL2Lq20eH3N4f/Xl3FueZLLSy2Ljy0np2n ssh-key-2024-07-17"] + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/dns/backend.tf b/examples/dns/backend.tf new file mode 100644 index 0000000..7108e6c --- /dev/null +++ b/examples/dns/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/dns/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/dns/dns.tf b/examples/dns/dns.tf new file mode 100644 index 0000000..38c13b6 --- /dev/null +++ b/examples/dns/dns.tf @@ -0,0 +1,216 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +#################### +### DNS-Resolver ### +#################### + + +data "oci_core_vcn_dns_resolver_association" "resolver_vcn_dns_resolver_association" { + for_each = var.resolvers != null ? var.resolvers : {} + vcn_id = data.oci_core_vcns.resolver_oci_vcns[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "resolver_oci_vcns" { + # depends_on = [module.vcns] # Uncomment to create resolver and vcn together + for_each = var.resolvers != null ? var.resolvers : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +### Data for Subnet ### + +locals { + subnets = flatten([ + for resolver_key, res in var.resolvers : [ + for e_key, endpoint in res.endpoint_names : { + vcn_name = res.vcn_name + network_compartment_id = res.network_compartment_id + subnet_name = endpoint.subnet_name + #subnet_name = trimprefix("${endpoint.subnet_name}", "${res.vcn_name}_") + resolver_key = resolver_key + endpoint_name = endpoint.name + } + ] + ]) +} + +data "oci_core_subnets" "resolver_oci_subnets" { + # depends_on = [module.subnets] # Uncomment to create resolver and subnets together + for_each = { for sn in local.subnets : "${sn.endpoint_name}_${sn.subnet_name}" => sn } + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_name + vcn_id = data.oci_core_vcns.resolver_oci_vcns[each.value.resolver_key].virtual_networks.*.id[0] +} +### Data for NSGs### + +locals { + nsgs = flatten([ + for resolver_key, res in var.resolvers : [ + for e_key, endpoint in res.endpoint_names : [ + for nsg in endpoint.nsg_ids : { + vcn_name = res.vcn_name + network_compartment_id = res.network_compartment_id + nsg_name = nsg + resolver_key = resolver_key + endpoint_name = endpoint.name + } + ] + ] + ]) +} +data "oci_core_network_security_groups" "resolver_network_security_groups" { + for_each = { for nsg in local.nsgs : "${nsg.endpoint_name}_${nsg.nsg_name}" => nsg } + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.nsg_name + vcn_id = data.oci_core_vcns.resolver_oci_vcns[each.value.resolver_key].virtual_networks.*.id[0] +} +### Data for Views ### +locals { + resolver_views = flatten([ + for resolver_key, res in var.resolvers : [ + for view_key, view in res.views : { + resolver_key = resolver_key + view_key = view_key + view_name = view.view_id + view_compartment = view.view_compartment_id + } + ] + ]) +} + +data "oci_dns_views" "resolver_views_data" { + #Required + for_each = { for rv in local.resolver_views : "${rv.view_key}" => rv } + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.view_compartment)) > 0 ? each.value.view_compartment : var.compartment_ocids[each.value.view_compartment] + scope = "PRIVATE" + #Optional + display_name = each.value.view_name + state = "ACTIVE" +} + +### Module ### +module "dns-resolvers" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/dns/dns_resolver?ref=v2024.4.0" + # depends_on = [module.nsgs] # Uncomment to create NSG and DNS Resolvers together + for_each = var.resolvers != null ? var.resolvers : {} + target_resolver_id = data.oci_core_vcn_dns_resolver_association.resolver_vcn_dns_resolver_association[each.key].*.dns_resolver_id[0] + resolver_scope = "PRIVATE" + resolver_display_name = each.value.display_name != null ? each.value.display_name : null + views = each.value.views != null ? { + for v_key, view in each.value.views : v_key => { + view_id = length(regexall("ocid1.dnsview.oc*", view.view_id)) > 0 ? view.view_id : try(data.oci_dns_views.resolver_views_data["${v_key}"].views.*.id[0], module.dns-views[view.view_id]["dns_view_id"]) + } + } : null + + resolver_rules = each.value.resolver_rules != null ? each.value.resolver_rules : null + resolver_defined_tags = try(each.value.defined_tags, null) + resolver_freeform_tags = try(each.value.freeform_tags, null) + endpoint_names = each.value.endpoint_names != null ? { + for key, endpoint in each.value.endpoint_names : key => { + forwarding = endpoint.is_forwarding + listening = endpoint.is_listening + name = endpoint.name + #resolver_id = oci_dns_resolver.test_resolver.id + subnet_id = length(regexall("ocid1.subnet.oc*", endpoint.subnet_name)) > 0 ? endpoint.subnet_name : data.oci_core_subnets.resolver_oci_subnets["${endpoint.name}_${endpoint.subnet_name}"].subnets.*.id[0] + scope = "PRIVATE" + + #Optional + endpoint_type = "VNIC" + forwarding_address = endpoint.forwarding_address + listening_address = endpoint.listening_address + nsg_ids = endpoint.nsg_ids != null ? flatten(tolist([for nsg in endpoint.nsg_ids : (length(regexall("ocid1.networksecuritygroup.oc*", nsg)) > 0 ? [nsg] : data.oci_core_network_security_groups.resolver_network_security_groups["${endpoint.name}_${nsg}"].network_security_groups[*].id)])) : null + + } + } : null + +} + +################## +### DNS-RRsets ### +################## +data "oci_dns_views" "rrset_views_data" { + #Required + for_each = var.rrsets + compartment_id = each.value.view_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.view_compartment_id)) > 0 ? each.value.view_compartment_id : var.compartment_ocids[each.value.view_compartment_id]) : null + scope = "PRIVATE" + + #Optional + display_name = each.value.view_id + state = "ACTIVE" +} + +data "oci_dns_zones" "rrset_zones_data" { + for_each = { for k, v in var.rrsets : k => v if try(data.oci_dns_views.rrset_views_data[k].views.*.id[0], 0) != 0 } + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + #Optional + name = each.value.zone_id + scope = "PRIVATE" + state = "ACTIVE" + view_id = length(regexall("ocid1.dnsview.oc*", each.value.view_id)) > 0 ? each.value.view_id : try(data.oci_dns_views.rrset_views_data[each.key].views.*.id[0], module.dns-views[each.value.view_id]["dns_view_id"]) +} + +module "dns-rrsets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/dns/rrset?ref=v2024.4.0" + for_each = var.rrsets != null ? var.rrsets : {} + depends_on = [module.dns-views, module.dns-zones] + rrset_zone = try(data.oci_dns_zones.rrset_zones_data[each.key].zones.*.id[0], module.dns-zones[join("_", [each.value.view_id, replace(each.value.zone_id, ".", "_")])]["dns_zone_id"]) + #rrset_view_id = each.value.view_id != "" ? (length(regexall("ocid1.dnsview.oc*", each.value.view_id)) > 0 ? each.value.view_id : data.oci_dns_views.rrset_views_data[each.key].views.*.id[0]) : null + rrset_view_id = length(regexall("ocid1.dnsview.oc*", each.value.view_id)) > 0 ? each.value.view_id : try(data.oci_dns_views.rrset_views_data[each.key].views.*.id[0], module.dns-views[each.value.view_id]["dns_view_id"]) + rrset_domain = each.value.domain + rrset_rtype = each.value.rtype + rrset_ttl = each.value.ttl + #rrset_compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + rrset_rdata = each.value.rdata + rrset_scope = "PRIVATE" + +} +#output "zone_id" { +#value = { for key, value in var.rrsets: key => module.dns-zones[join("_", [value.view_id,replace(value.zone_id, ".", "_")])]["dns_zone_id"]} +#} +# +#output "zone_data" { +#value = { for key, value in var.rrsets: key => data.oci_dns_zones.rrset_zones_data[key].zones.*.id[0]} +#} + +################# +### DNS-Zones ### +################# +data "oci_dns_views" "zone_views_data" { + #Required + for_each = { for k, v in var.zones : k => v if v.view_id != null } + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.view_compartment_id)) > 0 ? each.value.view_compartment_id : var.compartment_ocids[each.value.view_compartment_id] + scope = "PRIVATE" + display_name = each.value.view_id + state = "ACTIVE" +} + +module "dns-zones" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/dns/zone?ref=v2024.4.0" + depends_on = [module.dns-views] + for_each = { for k, v in var.zones : k => v if var.zones != null } + zone_compartment_id = length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id] + zone_name = each.value.display_name + zone_type = "PRIMARY" + zone_defined_tags = try(each.value.defined_tags, null) + zone_freeform_tags = try(each.value.freeform_tags, null) + #external_masters = each.value.external_masters != null ? each.value.external_masters : {} + zone_scope = "PRIVATE" + view_id = length(regexall("ocid1.dnsview.oc*", each.value.view_id)) > 0 ? each.value.view_id : try(data.oci_dns_views.zone_views_data[each.key].views.*.id[0], module.dns-views[each.value.view_id]["dns_view_id"]) +} + +################# +### DNS-Views ### +################# + +module "dns-views" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/dns/view?ref=v2024.4.0" + for_each = var.views != null ? var.views : {} + view_compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + view_display_name = each.value.display_name + view_scope = try((each.value.scope != null ? (each.value.scope == "PRIVATE" ? each.value.scope : null) : null), null) + view_defined_tags = try(each.value.defined_tags, null) + view_freeform_tags = try(each.value.freeform_tags, null) + +} \ No newline at end of file diff --git a/examples/dns/oci-data.tf b/examples/dns/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/dns/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/dns/provider.tf b/examples/dns/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/dns/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/dns/sample_dns-resolvers.auto.tfvars b/examples/dns/sample_dns-resolvers.auto.tfvars new file mode 100644 index 0000000..4c3c549 --- /dev/null +++ b/examples/dns/sample_dns-resolvers.auto.tfvars @@ -0,0 +1,76 @@ +// Copyright (c) 2021, 2022, 2023 Oracle and/or its affiliates. +############################ +# DNS +# DNS Resolvers - tfvars +# Allowed Values: +# view_id can be the ocid of the view or the name as in OCI +# compartment_id and view_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for dns-resolver : +# terraform import "module.dns-resolvers[\"<>\"].oci_dns_resolver.resolver" <> +# terraform import "module.dns-resolvers[\"<>\"].oci_dns_resolver_endpoint.resolver_endpoint" <> +############################ +resolvers = { + "prod-vcn" = { + vcn_name = "prod-vcn" + network_compartment_id = "Network" + display_name = "prod-vcn" + views = { + "prod-vcn_order1" = { + view_id = "prod-vcn" + view_compartment_id = "Network" + } + "prod-vcn_order2" = { + view_id = "nonprod-vcn" + view_compartment_id = "Network" + } + } + endpoint_names = { + "forwarder_endpoint" = { + is_forwarding = true + is_listening = false + name = "forwarder_endpoint" + subnet_name = "prod-app" + forwarding_address = "10.111.3.90" + listening_address = "" + nsg_ids = [] + } + "listener_endpoint" = { + is_forwarding = false + is_listening = true + name = "listener_endpoint" + subnet_name = "prod-app" + forwarding_address = "" + listening_address = "" + nsg_ids = [] + } + } + resolver_rules = { + "rule1" = { + client_address_conditions = [] + destination_addresses = ["10.0.0.20"] + qname_cover_conditions = ["internal.example.com", "internal3.example.com"] + source_endpoint_name = "forwarder_endpoint" + } + "rule2" = { + client_address_conditions = [] + destination_addresses = ["10.0.0.20"] + qname_cover_conditions = ["internal2.example.com"] + source_endpoint_name = "forwarder_endpoint" + } + "rule3" = { + client_address_conditions = [] + destination_addresses = ["10.0.0.30"] + qname_cover_conditions = [] + source_endpoint_name = "forwarder_endpoint" + } + "rule4" = { + client_address_conditions = ["10.0.2.0/24", "10.0.3.0/24"] + destination_addresses = ["10.0.0.40"] + qname_cover_conditions = [] + source_endpoint_name = "forwarder_endpoint" + } + } + }, +##Add New resolvers for phoenix here## +} \ No newline at end of file diff --git a/examples/dns/sample_dns-views-zones-records.auto.tfvars b/examples/dns/sample_dns-views-zones-records.auto.tfvars new file mode 100644 index 0000000..36de17d --- /dev/null +++ b/examples/dns/sample_dns-views-zones-records.auto.tfvars @@ -0,0 +1,94 @@ +// Copyright (c) 2021, 2022, 2023 Oracle and/or its affiliates. +############################ +# DNS +# DNS Views - tfvars +# Allowed Values: +# view_id can be the ocid of the view or the name as in OCI +# compartment_id and view_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for dns-view : +# terraform import "module.dns-views[\"<>\"].oci_dns_view.view" <> +############################ +views = { + "custom-view-1" = { + compartment_id = "Network" + display_name = "custom-view-1" + }, + "custom-view-2" = { + compartment_id = "Network" + display_name = "custom-view-2" + }, +##Add New DNS Views for phoenix here## +} + +############################ +# DNS +# DNS Zones - tfvars +# Allowed Values: +# view_id can be the ocid of the view or the name as in OCI +# compartment_id and view_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for dns-zone : +# terraform import "module.dns-zones[\"<>\"].oci_dns_zone.zone" <> +############################ +zones = { + "custom-view-1_zone1_com" = { + compartment_id = "Network" + display_name = "zone1.com" + zone_type = "" + view_compartment_id = "Network" + view_id = "custom-view-1" + }, + "custom-view-2_zone2_com" = { + compartment_id = "Network" + display_name = "zone2.com" + zone_type = "" + view_compartment_id = "Network" + view_id = "custom-view-2" + }, +##Add New DNS Zones for phoenix here## +} + +############################ +# DNS +# DNS Records - tfvars +# Allowed Values: +# view_id can be the ocid of the view or the name as in OCI +# compartment_id and view_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for dns-rrset : +# terraform import "module.dns-rrsets[\"<>\"].oci_dns_rrset.rrset" <> +############################ +rrsets = { + "custom-view-1_zone1_com_domain1_zone1_com_A" = { + zone_id = "zone1.com" + domain = "domain1.zone1.com" + view_id = "custom-view-1" + view_compartment_id = "Network" + compartment_id = "Network" + rtype = "A" + ttl = 3600 + rdata = ["10.20.1.10", "10.20.1.20"] + }, + "custom-view-1_zone1_com_domain2_zone1_com_CNAME" = { + zone_id = "zone1.com" + domain = "domain2.zone1.com" + view_id = "custom-view-1" + view_compartment_id = "Network" + compartment_id = "Network" + rtype = "CNAME" + ttl = 300 + rdata = ["host1.example.com"] + }, + "custom-view-2_zone2_com_domain1_zone2_com_A" = { + zone_id = "zone2.com" + domain = "domain1.zone2.com" + view_id = "custom-view-2" + view_compartment_id = "Network" + compartment_id = "Network" + rtype = "A" + ttl = 300 + rdata = ["10.20.1.30"] + }, +##Add New rrsets for phoenix here## +} \ No newline at end of file diff --git a/examples/dns/variables_phoenix.tf b/examples/dns/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/dns/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/firewall/backend.tf b/examples/firewall/backend.tf new file mode 100644 index 0000000..29b0b26 --- /dev/null +++ b/examples/firewall/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/firewall/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/firewall/firewall.tf b/examples/firewall/firewall.tf new file mode 100644 index 0000000..9aeb5f4 --- /dev/null +++ b/examples/firewall/firewall.tf @@ -0,0 +1,226 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +data "oci_core_vcns" "firewall_vcns" { + for_each = var.firewalls != null ? var.firewalls : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} +data "oci_core_subnets" "firewall_subnets" { + for_each = var.firewalls != null ? var.firewalls : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.firewall_vcns[each.key].virtual_networks.*.id[0] +} + +module "firewalls" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/firewall?ref=v2024.4.0" + for_each = var.firewalls != null ? var.firewalls : {} + depends_on = [module.policies, module.address_lists, module.application_groups, module.applications, module.services, module.service_lists, module.url_lists, module.decryption_profiles, module.secrets, module.security_rules, module.decryption_rules] + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.compartment_ocids[each.value.compartment_id] + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + subnet_id = each.value.subnet_id != "" ? (length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.firewall_subnets[each.key].subnets.*.id[0]) : null + display_name = each.value.display_name + ipv4address = each.value.ipv4address + ipv6address = each.value.ipv6address + availability_domain = each.value.availability_domain != "" && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + nsg_id = each.value.nsg_id + vcn_name = each.value.vcn_name + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + +} + +module "policies" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/firewall-policy?ref=v2024.4.0" + for_each = var.fw-policies != null ? var.fw-policies : {} + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.compartment_ocids[each.value.compartment_id] + display_name = each.value.display_name + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "services" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/service?ref=v2024.4.0" + for_each = var.services != null ? var.services : {} + depends_on = [module.policies] + service_name = each.value.service_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + service_type = each.value.service_type + port_ranges = each.value.port_ranges +} + +module "service_lists" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/service-list?ref=v2024.4.0" + for_each = var.service_lists != null ? var.service_lists : {} + depends_on = [module.services, module.policies] + service_list_name = each.value.service_list_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + services = each.value.services != null ? flatten(tolist([for sid in each.value.services : (length(regexall("ocid1.networkfirewallpolicy.oc*", sid)) > 0 ? merge(module.services.*...)[sid]["service+_tf_id"] : [sid])])) : null +} + +module "address_lists" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/address-list?ref=v2024.4.0" + for_each = var.address_lists != null ? var.address_lists : {} + depends_on = [module.policies] + address_list_name = each.value.address_list_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + address_type = each.value.address_type + addresses = each.value.addresses +} + +module "applications" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/application?ref=v2024.4.0" + for_each = var.applications != null ? var.applications : {} + depends_on = [module.policies] + icmp_type = each.value.icmp_type + app_list_name = each.value.app_list_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + app_type = each.value.app_type + icmp_code = each.value.icmp_code +} + +module "application_groups" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/application-group?ref=v2024.4.0" + for_each = var.application_groups != null ? var.application_groups : {} + depends_on = [module.policies, module.applications] + app_group_name = each.value.app_group_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + apps = each.value.apps != null ? flatten(tolist([for app in each.value.apps : (length(regexall("ocid1.networkfirewallpolicy.oc*", app)) > 0 ? merge(module.applications.*...)[app]["application_tf_id"] : [app])])) : null +} + +module "url_lists" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/url-list?ref=v2024.4.0" + for_each = var.url_lists != null ? var.url_lists : {} + depends_on = [module.policies] + urllist_name = each.value.urllist_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + #key_name = each.key + urls_details = each.value.urls +} + +module "security_rules" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/security-rules?ref=v2024.4.0" + for_each = var.security_rules != null ? var.security_rules : {} + depends_on = [module.policies, module.address_lists, module.application_groups, module.applications, module.services, module.service_lists, module.url_lists] + action = each.value.action + rule_name = each.value.rule_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + application = each.value.condition[0].application != null ? each.value.condition[0].application : [] + url = each.value.condition[0].url != null ? each.value.condition[0].url : [] + service = each.value.condition[0].service != null ? each.value.condition[0].service : [] + source_address = each.value.condition[0].source_address != null ? each.value.condition[0].source_address : [] + destination_address = each.value.condition[0].destination_address != null ? each.value.condition[0].destination_address : [] + /*application = each.value.condition != null ? each.value.condition.application : [] + url = each.value.condition != null ? each.value.condition.url : [] + service = each.value.condition != null ? each.value.condition.service : [] + source_address = each.value.condition != null ? each.value.condition.source_address : [] + destination_address = each.value.condition != null ? each.value.condition.destination_address : []*/ + inspection = each.value.inspection + after_rule = each.value.after_rule + before_rule = each.value.before_rule +} + +module "secrets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/secret?ref=v2024.4.0" + for_each = var.secrets != null || var.secrets != {} ? var.secrets : {} + depends_on = [module.policies] + secret_name = each.value.secret_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + secret_source = each.value.secret_source + secret_type = each.value.secret_type + vault_secret_id = each.value.vault_secret_id + vault_name = each.value.vault_name + compartment_id = each.value.vault_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.vault_compartment_id)) > 0 ? each.value.vault_compartment_id : var.compartment_ocids[each.value.vault_compartment_id]) : var.compartment_ocids[each.value.vault_compartment_id] + version_number = each.value.version_number +} + +module "decryption_profiles" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/decryption-profile?ref=v2024.4.0" + for_each = var.decryption_profiles != null || var.decryption_profiles != {} ? var.decryption_profiles : {} + depends_on = [module.policies, module.secrets] + profile_name = each.value.profile_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + profile_type = each.value.profile_type + are_certificate_extensions_restricted = each.value.are_certificate_extensions_restricted + is_auto_include_alt_name = each.value.is_auto_include_alt_name + is_expired_certificate_blocked = each.value.is_expired_certificate_blocked + is_out_of_capacity_blocked = each.value.is_out_of_capacity_blocked + is_revocation_status_timeout_blocked = each.value.is_revocation_status_timeout_blocked + is_unknown_revocation_status_blocked = each.value.is_unknown_revocation_status_blocked + is_unsupported_cipher_blocked = each.value.is_unsupported_cipher_blocked + is_unsupported_version_blocked = each.value.is_unsupported_version_blocked + is_untrusted_issuer_blocked = each.value.is_untrusted_issuer_blocked +} + +module "decryption_rules" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/firewall/decryption-rules?ref=v2024.4.0" + for_each = var.decryption_rules != null ? var.decryption_rules : {} + depends_on = [module.policies, module.decryption_profiles, module.secrets, module.address_lists] + action = each.value.action + rule_name = each.value.rule_name + network_firewall_policy_id = length(regexall("ocid1.networkfirewallpolicy.oc1.*", each.value.network_firewall_policy_id)) > 0 ? each.value.network_firewall_policy_id : merge(module.policies.*...)[each.value.network_firewall_policy_id]["policy_tf_id"] + source_address = each.value.condition[0].source_address != null ? each.value.condition[0].source_address : [] + destination_address = each.value.condition[0].destination_address != null ? each.value.condition[0].destination_address : [] + after_rule = each.value.after_rule + before_rule = each.value.before_rule + decryption_profile = each.value.decryption_profile + secret = each.value.secret +} + + +############################# +# Module Block - Network Firewall Logging +# Create VCN Log Groups and Logs +############################# + +module "fw-log-groups" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log-group?ref=v2024.4.0" + for_each = (var.fw_log_groups != null || var.fw_log_groups != {}) ? var.fw_log_groups : {} + + # Log Groups + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + display_name = each.value.display_name + + #Optional + defined_tags = each.value.defined_tags + description = each.value.description + freeform_tags = each.value.freeform_tags +} + +/* +output "vcn_log_group_map" { + value = [ for k,v in merge(module.vcn-log-groups.*...) : v.log_group_tf_id ] +} +*/ + +module "fw-logs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log?ref=v2024.4.0" + for_each = (var.fw_logs != null || var.fw_logs != {}) ? var.fw_logs : {} + + # Logs + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + log_group_id = length(regexall("ocid1.loggroup.oc*", each.value.log_group_id)) > 0 ? each.value.log_group_id : merge(module.fw-log-groups.*...)[each.value.log_group_id]["log_group_tf_id"] + + log_type = each.value.log_type + #Required + source_category = each.value.category + source_resource = length(regexall("ocid1.*", each.value.resource)) > 0 ? each.value.resource : merge(module.firewalls.*...)[each.value.resource]["firewall_tf_id"] + source_service = each.value.service + source_type = each.value.source_type + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + log_is_enabled = (each.value.is_enabled == "" || each.value.is_enabled == null) ? true : each.value.is_enabled + log_retention_duration = (each.value.retention_duration == "" || each.value.retention_duration == null) ? 30 : each.value.retention_duration + +} + +/* +output "vcn_logs_id" { + value = [ for k,v in merge(module.vcn-logs.*...) : v.log_tf_id] +} +*/ \ No newline at end of file diff --git a/examples/firewall/oci-data.tf b/examples/firewall/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/firewall/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/firewall/provider.tf b/examples/firewall/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/firewall/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-addresslist.auto.tfvars b/examples/firewall/sample_firewall-policy-addresslist.auto.tfvars new file mode 100644 index 0000000..2b40bbf --- /dev/null +++ b/examples/firewall/sample_firewall-policy-addresslist.auto.tfvars @@ -0,0 +1,28 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy Address Lists +# Firewall Policy Address List - tfvarsß +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# address_type can be IP or FQDN +# Sample import command for Firewall Policy Address List: +# terraform import "module.address_lists[\"<>\"].oci_network_firewall_network_firewall_policy_address_list.network_firewall_policy_address_list\" networkFirewallPolicies/<>/addressLists/<> +############################ +address_lists = { +OCI-FWL-Policy_pub-list = { + address_list_name = "pub-list" + network_firewall_policy_id = "OCI-FWL-Policy" + addresses = ["0.0.0.0/0"] + address_type = "IP" + }, +OCI-FWL-Policy_vcn-region-list = { + address_list_name = "vcn-region-list" + network_firewall_policy_id = "OCI-FWL-Policy" + addresses = ["10.10.1.10/32","3.1.1.1/32","3.1.1.3/32","172.2.0.0/24"] + address_type = "IP" + }, +##Add New addresses for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-application.auto.tfvars b/examples/firewall/sample_firewall-policy-application.auto.tfvars new file mode 100644 index 0000000..8ee525c --- /dev/null +++ b/examples/firewall/sample_firewall-policy-application.auto.tfvars @@ -0,0 +1,40 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy Applications +# Firewall Policy Application - tfvars +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# app_type can be ICMP or ICMP_V6 +# Sample import command for Firewall Policy Application: +# terraform import "module.applications[\"<>\"].oci_network_firewall_network_firewall_policy_application.network_firewall_policy_application\" networkFirewallPolicies/<>/applications/<> +############################ +applications = { +OCI-FWL-Policy_icmp-resp = { + app_list_name = "icmp-resp" + network_firewall_policy_id = "OCI-FWL-Policy" + app_type = "ICMP" + icmp_type = "129" + }, +OCI-FWL-Policy_icmpv6-req = { + app_list_name = "icmpv6-req" + network_firewall_policy_id = "OCI-FWL-Policy" + app_type = "ICMP_V6" + icmp_type = "128" + }, +OCI-FWL-Policy_icmp-resp = { + app_list_name = "icmp-resp" + network_firewall_policy_id = "OCI-FWL-Policy" + app_type = "ICMP" + icmp_type = "129" + }, +OCI-FWL-Policy_icmpv6-req = { + app_list_name = "icmpv6-req" + network_firewall_policy_id = "OCI-FWL-Policy" + app_type = "ICMP_V6" + icmp_type = "128" + }, +##Add New apps for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-applicationlist.auto.tfvars b/examples/firewall/sample_firewall-policy-applicationlist.auto.tfvars new file mode 100644 index 0000000..098ffbf --- /dev/null +++ b/examples/firewall/sample_firewall-policy-applicationlist.auto.tfvars @@ -0,0 +1,20 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy Application Lists +# Firewall Policy Application List - tfvars +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# Sample import command for Firewall Policy Application List: +# terraform import "module.application_groups[\"<>\"].oci_network_firewall_network_firewall_policy_application_group.network_firewall_policy_application_group\" networkFirewallPolicies/<>/applicationGroups/<> +############################ +application_groups = { +OCI-FWL-Policy_App-List-1 = { + app_group_name = "App-List-1" + network_firewall_policy_id = "OCI-FWL-Policy" + apps = ["icmp-resp","icmpv6-req"] + }, +##Add New application list for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-secrule.auto.tfvars b/examples/firewall/sample_firewall-policy-secrule.auto.tfvars new file mode 100644 index 0000000..1a82b73 --- /dev/null +++ b/examples/firewall/sample_firewall-policy-secrule.auto.tfvars @@ -0,0 +1,38 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy Security Rules +# Firewall Policy Security Rule - tfvars +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# action can be ALLOW, DROP, REJECT, INSPECT +# inspection can be INTRUSION_DETECTION, INTRUSION_PREVENTION +# Sample import command for Firewall Policy Security Rule: +# terraform import "module.security_rules[\"<>\"].oci_network_firewall_network_firewall_policy_security_rule.network_firewall_policy_security_rule\" networkFirewallPolicies/<>/securityRules/<> +############################ +security_rules = { + OCI-FWL-Policy_rule-1 = { + rule_name = "rule-1" + action = "REJECT" + network_firewall_policy_id = "OCI-FWL-Policy" + condition = [{ + source_address = ["pub-list"] + }] + }, + OCI-FWL-Policy_rule-2 = { + rule_name = "rule-2" + action = "INSPECT" + network_firewall_policy_id = "OCI-FWL-Policy" + condition = [{ + destination_address = ["vcn-region-list"] + service = ["Svc-List-1"] + application = ["App-List-1"] + url = ["trusted-url-list"] + }] + inspection = "INTRUSION_PREVENTION" + after_rule = "rule-1" + }, +##Add New Security rules for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-service.auto.tfvars b/examples/firewall/sample_firewall-policy-service.auto.tfvars new file mode 100644 index 0000000..fde207f --- /dev/null +++ b/examples/firewall/sample_firewall-policy-service.auto.tfvars @@ -0,0 +1,68 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy Services +# Firewall Policy Service - tfvars +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# service_type can be TCP_SERVICE and UDP_SERVICE +# Sample import command for Firewall Policy Service: +# terraform import "module.services[\"<>\"].oci_network_firewall_network_firewall_policy_service.network_firewall_policy_service\" networkFirewallPolicies/<>/services/<> +############################ +services = { +OCI-FWL-Policy_all-ports = { + service_name = "all-ports" + network_firewall_policy_id = "OCI-FWL-Policy" + port_ranges = [{ + minimum_port ="22" + maximum_port ="22" + }, + { + minimum_port ="20" + maximum_port ="21" + }, + { + minimum_port ="1024" + maximum_port ="65235" + }] + service_type = "TCP_SERVICE" + }, +OCI-FWL-Policy_mgmt-port = { + service_name = "mgmt-port" + network_firewall_policy_id = "OCI-FWL-Policy" + port_ranges = [{ + minimum_port ="123" + maximum_port ="123" + }] + service_type = "TCP_SERVICE" + }, +OCI-FWL-Policy_all-ports = { + service_name = "all-ports" + network_firewall_policy_id = "OCI-FWL-Policy" + port_ranges = [{ + minimum_port ="22" + maximum_port ="22" + }, + { + minimum_port ="20" + maximum_port ="21" + }, + { + minimum_port ="1024" + maximum_port ="65235" + }] + service_type = "TCP_SERVICE" + }, +OCI-FWL-Policy_mgmt-port = { + service_name = "mgmt-port" + network_firewall_policy_id = "OCI-FWL-Policy" + port_ranges = [{ + minimum_port ="123" + maximum_port ="123" + }] + service_type = "TCP_SERVICE" + }, +##Add New service policy for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-servicelist.auto.tfvars b/examples/firewall/sample_firewall-policy-servicelist.auto.tfvars new file mode 100644 index 0000000..35d0328 --- /dev/null +++ b/examples/firewall/sample_firewall-policy-servicelist.auto.tfvars @@ -0,0 +1,20 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy Service Lists +# Firewall Policy Service List - tfvars +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# Sample import command for Firewall Policy Service List: +# terraform import "module.service_lists[\"<>\"].oci_network_firewall_network_firewall_policy_service_list.network_firewall_policy_service_list\" networkFirewallPolicies/<>/serviceLists/<> +############################ +service_lists = { +OCI-FWL-Policy_Svc-List-1 = { + service_list_name = "Svc-List-1" + network_firewall_policy_id = "OCI-FWL-Policy" + services = ["all-ports","mgmt-port"] + }, +##Add New service list for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy-urllist.auto.tfvars b/examples/firewall/sample_firewall-policy-urllist.auto.tfvars new file mode 100644 index 0000000..d4e8e95 --- /dev/null +++ b/examples/firewall/sample_firewall-policy-urllist.auto.tfvars @@ -0,0 +1,36 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################ +# Firewall Policy URL Lists +# Firewall Policy URL List - tfvars +# Allowed Values: +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# Sample import command for Firewall Policy URL List: +# terraform import "module.url_lists[\"<>\"].oci_network_firewall_network_firewall_policy_url_list.network_firewall_policy_url_list\\" networkFirewallPolicies/<>/urlLists/<> +############################ +url_lists = { +OCI-FWL-Policy_trusted-url-list = { + urllist_name = "trusted-url-list" + network_firewall_policy_id = "OCI-FWL-Policy" + urls = [{ + pattern = "*.oracle.com" + type = "SIMPLE" + }, + { + pattern = "*.oraclecloud.com" + type = "SIMPLE" + }, + { + pattern = "*.identity.oraclecloud.com" + type = "SIMPLE" + }, + { + pattern = "*.portoakland.com" + type = "SIMPLE" + }, + ] + }, +##Add New urllist for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall-policy.auto.tfvars b/examples/firewall/sample_firewall-policy.auto.tfvars new file mode 100644 index 0000000..6c94c00 --- /dev/null +++ b/examples/firewall/sample_firewall-policy.auto.tfvars @@ -0,0 +1,23 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewall Policy +# Firewall Policy - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the Compartment where the firewall policy needs to be created +# Sample import command for Firewall Policy: +# terraform import "module.policies[\"<>\"].ci_network_firewall_network_firewall_policy.network_firewall_policy" <> +############################ +fw-policies = { + OCI-FWL-Policy = { + compartment_id = "Network" + display_name = "OCI-FWL-Policy" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-03-14T06:15:46.139Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/suruchi.singla@oracle.com" + } + }, +##Add New firewall policy for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/sample_firewall.auto.tfvars b/examples/firewall/sample_firewall.auto.tfvars new file mode 100644 index 0000000..204461e --- /dev/null +++ b/examples/firewall/sample_firewall.auto.tfvars @@ -0,0 +1,33 @@ + + +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +############################# +# Firewalls +# Firewall -tfvars +# Allowed Values: +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# network_firewall_policy_id can be the ocid or the name of the firewall Policy that needs to be attached to the Firewall +# vcn_name must be the name of the VCN as in OCI +# subnet_id can be the ocid of the subnet or the name as in OCI +# Sample import command for Firewall: +# terraform import "module.firewalls[\"<>\"].oci_network_firewall_network_firewall.network_firewall" <> +############################ +firewalls = { + OCI-FWL = { + compartment_id = "Network" + display_name = "OCI-FWL" + network_firewall_policy_id = "OCI-FWL-Policy" + network_compartment_id = "Network" + vcn_name = "fwl-vcn" + subnet_id = "fwl-mgmt1" + ipv4address = "10.110.1.23" + availability_domain = "0" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-03-14T06:18:47.503Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/suruchi.singla@oracle.com" + } + }, +##Add New firewall for phoenix here## +} \ No newline at end of file diff --git a/examples/firewall/variables_phoenix.tf b/examples/firewall/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/firewall/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/fss/backend.tf b/examples/fss/backend.tf new file mode 100644 index 0000000..76d9479 --- /dev/null +++ b/examples/fss/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/fss/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/fss/backup_fss/04-09-132117/sample_fss.auto.tfvars b/examples/fss/backup_fss/04-09-132117/sample_fss.auto.tfvars new file mode 100644 index 0000000..3857765 --- /dev/null +++ b/examples/fss/backup_fss/04-09-132117/sample_fss.auto.tfvars @@ -0,0 +1,111 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# Mount Target - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for Mount Target: +# terraform import "module.mts[\"<>\"].oci_file_storage_mount_target.mount_target" <> +############################ +mount_targets = { + MT1 = { + availability_domain = "1" + compartment_id = "Network" + network_compartment_id = "Network" + vcn_name = "fwl-vcn" + subnet_id = "fwl-mgmt" + #Optional + display_name = "MT1" + nsg_ids = ["phx-nsg1"] + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# FSS - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for FSS: +# terraform import "module.fss[\"<>\"].oci_file_storage_file_system.file_system" <> +############################ +fss = { + FSS1 = { + availability_domain = "1" + compartment_id = "Network" + #Optional + display_name = "FSS1" + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# Export Options - tfvars +# Allowed Values: +# compartment_id and policy_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# Sample import command for Export Options: +# terraform import "module.fss-export-options[\"<>\"].oci_file_storage_export.export" <> +############################ +nfs_export_options = { + FSE-MT1-FSS1-fss1 = { + export_set_id = "MT1" + file_system_id = "FSS1" + path = "/fss1" + export_options=[{ + #Required + source = "0.0.0.0/0" + #Optional + access = "READ_WRITE" + allowed_auth = ["SYS"] + anonymous_gid = "65534" + anonymous_uid = "65534" + identity_squash = "NONE" + is_anonymous_access_allowed = "false" + require_privileged_source_port = "true" + },{ + #Required + source = "20.20.20.20/32" + #Optional + access = "READ_WRITE" + allowed_auth = ["SYS"] + anonymous_gid = "65534" + anonymous_uid = "65534" + identity_squash = "NONE" + is_anonymous_access_allowed = "false" + require_privileged_source_port = "false" + },{ + #Required + source = "10.10.10.10" + #Optional + access = "READ_ONLY" + allowed_auth = ["SYS"] + anonymous_gid = "65534" + anonymous_uid = "65534" + identity_squash = "NONE" + is_anonymous_access_allowed = "false" + require_privileged_source_port = "false" + },] + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# FSS REPLICATION - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for FSS: +# terraform import "module.fss-replication[\"<>\"].oci_file_storage_replication.file_system_replication" <> +############################ +fss_replication = { +} \ No newline at end of file diff --git a/examples/fss/backup_fss/04-09-154557/sample_fss.auto.tfvars b/examples/fss/backup_fss/04-09-154557/sample_fss.auto.tfvars new file mode 100644 index 0000000..d0ce3e9 --- /dev/null +++ b/examples/fss/backup_fss/04-09-154557/sample_fss.auto.tfvars @@ -0,0 +1,127 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# Mount Target - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for Mount Target: +# terraform import "module.mts[\"<>\"].oci_file_storage_mount_target.mount_target" <> +############################ +mount_targets = { + MountTarget-20240715-1137-57 = { + availability_domain = "0" + compartment_id = "Bhanu" + network_compartment_id = "Bhanu" + vcn_name = "bhaun_vcn" + subnet_id = "private subnet-bhaun_vcn" + #Optional + display_name = "MountTarget-20240715-1137-57" + ip_address = "10.0.1.89" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-07-15T11:38:17.722Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/bhanu.prakash.lohumi@oracle.com" + } + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# FSS - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for FSS: +# terraform import "module.fss[\"<>\"].oci_file_storage_file_system.file_system" <> +############################ +fss = { + FileSystem-20240715-1137-57 = { + availability_domain = "0" + compartment_id = "Bhanu" + #Optional + display_name = "FileSystem-20240715-1137-57" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-07-15T11:38:17.722Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/bhanu.prakash.lohumi@oracle.com" + } + }, + TargetFileSystem-20240715-1139-05 = { + availability_domain = "1" + compartment_id = "Bhanu" + #Optional + display_name = "TargetFileSystem-20240715-1139-05" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-07-15T11:39:32.785Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/bhanu.prakash.lohumi@oracle.com" + } + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# Export Options - tfvars +# Allowed Values: +# compartment_id and policy_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# Sample import command for Export Options: +# terraform import "module.fss-export-options[\"<>\"].oci_file_storage_export.export" <> +############################ +nfs_export_options = { + FSE-MountTarget-20240715-1137-57-FileSystem-20240715-1137-57-FileSystem-20240715-1137-57 = { + export_set_id = "MountTarget-20240715-1137-57" + file_system_id = "FileSystem-20240715-1137-57" + path = "/FileSystem-20240715-1137-57" + export_options=[{ + #Required + source = "0.0.0.0/0" + #Optional + access = "READ_WRITE" + allowed_auth = ["SYS"] + anonymous_gid = "65534" + anonymous_uid = "65534" + identity_squash = "NONE" + is_anonymous_access_allowed = "false" + require_privileged_source_port = "false" + },] + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-07-15T11:38:17.722Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/bhanu.prakash.lohumi@oracle.com" + } + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# FSS REPLICATION - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for FSS: +# terraform import "module.fss-replication[\"<>\"].oci_file_storage_replication.file_system_replication" <> +############################ +fss_replication = { + Replication-20240715-1144-13 = { + compartment_id = "Bhanu" + source_id = "FileSystem-20240715-1137-57" + target_id = "FileSystem-20240715-1143-44" + #Optional + display_name = "Replication-20240715-1144-13" + replication_interval = 480 + }, + Replication-20240715-1139-05 = { + compartment_id = "Bhanu" + source_id = "FileSystem-20240715-1137-57" + target_id = "ocid1.filesystem.oc1.phx.aaaaaaaaaai27ku6obuhqllqojxwiotqnb4c2ylefuzaaaaa" + #Optional + display_name = "Replication-20240715-1139-05" + replication_interval = 480 + }, +} \ No newline at end of file diff --git a/examples/fss/fss.tf b/examples/fss/fss.tf new file mode 100644 index 0000000..2ab1edc --- /dev/null +++ b/examples/fss/fss.tf @@ -0,0 +1,150 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - Storage +# Create FSS +############################ + +data "oci_core_subnets" "oci_subnets_fss" { + # depends_on = [module.subnets] # Uncomment to create Network and FSS together + for_each = var.mount_targets != null ? var.mount_targets : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_fss[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "oci_vcns_fss" { + # depends_on = [module.vcns] # Uncomment to create Network and FSS together + for_each = var.mount_targets != null ? var.mount_targets : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "mts" { + # depends_on = [module.nsgs] # Uncomment to execute NSG and Mount Target together + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/storage/file-storage/mount-target?ref=v2024.4.0" + for_each = (var.mount_targets != null || var.mount_targets != {}) ? var.mount_targets : {} + #Required + availability_domain = each.value.availability_domain != null && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : null + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + subnet_id = length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_subnets_fss[each.key].subnets.*.id[0] + vcn_names = [each.value.vcn_name] + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + hostname_label = each.value.hostname_label + ip_address = each.value.ip_address + #nsg_ids = [for nsg in each.value.nsg_ids : length(regexall("ocid1.networksecuritygroup.oc*",nsg)) > 0 ? nsg : merge(module.nsgs.*...)[nsg]["nsg_tf_id"]] + #nsg_ids = each.value.nsg_ids == [] ? null : ([for nsg in each.value.nsg_ids : (length(regexall("ocid1.networksecuritygroup.oc*",nsg)) > 0 ? nsg : data.oci_core_network_security_groups.network_security_groups[nsg].network_security_groups[*].id)]) + network_security_group_ids = each.value.nsg_ids +} + +module "fss" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/storage/file-storage/fss?ref=v2024.4.0" + for_each = (var.fss != null || var.fss != {}) ? var.fss : {} + + #Required + availability_domain = each.value.availability_domain != null && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : null + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + kms_key_id = each.value.kms_key_id + source_snapshot_id = each.value.source_snapshot != null ? (length(regexall("ocid1.snapshot.oc*", each.value.source_snapshot)) > 0 ? each.value.source_snapshot : lookup(var.fss_source_ocids, each.value.source_snapshot, null)) : null + filesystem_snapshot_policy_id = each.value.snapshot_policy + policy_compartment_id = each.value.policy_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.policy_compartment_id)) > 0 ? each.value.policy_compartment_id : var.compartment_ocids[each.value.policy_compartment_id]) : var.compartment_ocids[each.value.compartment_id] +} + +module "fss-export-options" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/storage/file-storage/export-option?ref=v2024.4.0" + for_each = (var.nfs_export_options != null || var.nfs_export_options != {}) ? var.nfs_export_options : {} + + #Required + export_set_id = length(regexall("ocid1.mounttarget.oc*", each.value.export_set_id)) > 0 ? each.value.export_set_id : merge(module.mts.*...)[each.value.export_set_id]["mt_exp_set_id"] + file_system_id = length(regexall("ocid1.filesystem.oc*", each.value.file_system_id)) > 0 ? each.value.file_system_id : merge(module.fss.*...)[each.value.file_system_id]["fss_tf_id"] + export_path = each.value.path + nfs_export_options = var.nfs_export_options + key_name = each.key +} + +module "fss-replication" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/storage/file-storage/fss-replication?ref=v2024.4.0" + for_each = (var.fss_replication != null || var.fss_replication != {}) ? var.fss_replication : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + source_id = length(regexall("ocid1.filesystem.oc1*", each.value.source_id)) > 0 ? each.value.source_id : merge(module.fss.*...)[each.value.source_id]["fss_tf_id"] + target_id = length(regexall("ocid1.filesystem.oc1*", each.value.target_id)) > 0 ? each.value.target_id : merge(module.fss.*...)[each.value.target_id]["fss_tf_id"] + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + replication_interval = each.value.replication_interval + +} + +############################# +# Module Block - FSS Logging +# Create Log Groups and Logs +############################# + +module "nfs-log-groups" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log-group?ref=v2024.4.0" + for_each = (var.nfs_log_groups != null || var.nfs_log_groups != {}) ? var.nfs_log_groups : {} + + # Log Groups + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + display_name = each.value.display_name + + #Optional + defined_tags = each.value.defined_tags + description = each.value.description + freeform_tags = each.value.freeform_tags +} + +/* +output "log_group_map" { + value = [ for k,v in merge(module.loadbalancer-log-groups.*...) : v.log_group_tf_id ] +} +*/ + +module "nfs-logs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log?ref=v2024.4.0" + for_each = (var.nfs_logs != null || var.nfs_logs != {}) ? var.nfs_logs : {} + + # Logs + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + log_group_id = length(regexall("ocid1.loggroup.oc*", each.value.log_group_id)) > 0 ? each.value.log_group_id : merge(module.nfs-log-groups.*...)[each.value.log_group_id]["log_group_tf_id"] + + log_type = each.value.log_type + #Required + source_category = each.value.category + source_resource = length(regexall("ocid1.*", each.value.resource)) > 0 ? each.value.resource : merge(module.mts.*...)[each.value.resource]["mt_tf_id"] + source_service = each.value.service + source_type = each.value.source_type + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + log_is_enabled = (each.value.is_enabled == "" || each.value.is_enabled == null) ? true : each.value.is_enabled + log_retention_duration = (each.value.retention_duration == "" || each.value.retention_duration == null) ? 30 : each.value.retention_duration + +} + +/* +output "logs_id" { + value = [ for k,v in merge(module.loadbalancer-logs.*...) : v.log_tf_id] +} +*/ \ No newline at end of file diff --git a/examples/fss/oci-data.tf b/examples/fss/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/fss/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/fss/provider.tf b/examples/fss/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/fss/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/fss/sample_fss.auto.tfvars b/examples/fss/sample_fss.auto.tfvars new file mode 100644 index 0000000..d71a9d0 --- /dev/null +++ b/examples/fss/sample_fss.auto.tfvars @@ -0,0 +1,88 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# Mount Target - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for Mount Target: +# terraform import "module.mts[\"<>\"].oci_file_storage_mount_target.mount_target" <> +############################ +mount_targets = { + MountTarget-1 = { + availability_domain = "0" + compartment_id = "CD3Demo" + network_compartment_id = "Network" + vcn_name = "fwl-vcn" + subnet_id = "fwl-mgmt" + #Optional + display_name = "MountTarget-1" + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# FSS - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for FSS: +# terraform import "module.fss[\"<>\"].oci_file_storage_file_system.file_system" <> +############################ +fss = { + FSS1 = { + availability_domain = "0" + compartment_id = "CD3Demo" + #Optional + display_name = "FSS1" + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# Export Options - tfvars +# Allowed Values: +# compartment_id and policy_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# Sample import command for Export Options: +# terraform import "module.fss-export-options[\"<>\"].oci_file_storage_export.export" <> +############################ +nfs_export_options = { + FSE-MountTarget-1-FSS1-FSS1 = { + export_set_id = "MountTarget-1" + file_system_id = "FSS1" + path = "/FSS1" + export_options=[{ + #Required + source = "0.0.0.0/0" + #Optional + access = "READ_WRITE" + allowed_auth = ["SYS"] + anonymous_gid = "65534" + anonymous_uid = "65534" + identity_squash = "NONE" + is_anonymous_access_allowed = "false" + require_privileged_source_port = "false" + },] + }, +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Storage +# FSS REPLICATION - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for FSS: +# terraform import "module.fss-replication[\"<>\"].oci_file_storage_replication.file_system_replication" <> +############################ +fss_replication = { +} \ No newline at end of file diff --git a/examples/fss/variables_phoenix.tf b/examples/fss/variables_phoenix.tf new file mode 100644 index 0000000..65fc151 --- /dev/null +++ b/examples/fss/variables_phoenix.tf @@ -0,0 +1,2484 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/identity/backend.tf b/examples/identity/backend.tf new file mode 100644 index 0000000..b58f957 --- /dev/null +++ b/examples/identity/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/identity/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/identity/identity.tf b/examples/identity/identity.tf new file mode 100644 index 0000000..8d84263 --- /dev/null +++ b/examples/identity/identity.tf @@ -0,0 +1,340 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - Identity +# Create Compartments +############################ + +module "iam-compartments" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-compartment?ref=v2024.4.0" + for_each = var.compartments.root != null ? var.compartments.root : {} + + # insert the 4 required variables here + tenancy_ocid = var.tenancy_ocid + compartment_id = each.value.parent_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.parent_compartment_id)) > 0 ? each.value.parent_compartment_id : try(var.compartment_ocids[each.value.parent_compartment_id], zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.parent_compartment_id])) : var.tenancy_ocid + compartment_name = each.value.name + compartment_description = each.value.description + enable_delete = each.value.enable_delete + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "sub-compartments-level1" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-compartment?ref=v2024.4.0" + for_each = var.compartments.compartment_level1 != null ? var.compartments.compartment_level1 : {} + + depends_on = [module.iam-compartments] + # insert the 4 required variables here + tenancy_ocid = var.tenancy_ocid + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.parent_compartment_id)) > 0 ? each.value.parent_compartment_id : try(merge(module.iam-compartments.*...)[each.value.parent_compartment_id]["compartment_tf_id"], var.compartment_ocids[each.value.parent_compartment_id], zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.parent_compartment_id]) + compartment_name = each.value.name + compartment_description = each.value.description + enable_delete = each.value.enable_delete + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "sub-compartments-level2" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-compartment?ref=v2024.4.0" + for_each = var.compartments.compartment_level2 != null ? var.compartments.compartment_level2 : {} + + depends_on = [module.sub-compartments-level1] + # insert the 4 required variables here + tenancy_ocid = var.tenancy_ocid + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.parent_compartment_id)) > 0 ? each.value.parent_compartment_id : try(merge(module.sub-compartments-level1.*...)[each.value.parent_compartment_id]["compartment_tf_id"], var.compartment_ocids[each.value.parent_compartment_id], zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.parent_compartment_id]) + compartment_name = each.value.name + compartment_description = each.value.description + + enable_delete = each.value.enable_delete + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "sub-compartments-level3" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-compartment?ref=v2024.4.0" + for_each = var.compartments.compartment_level3 != null ? var.compartments.compartment_level3 : {} + + depends_on = [module.sub-compartments-level2] + # insert the 4 required variables here + tenancy_ocid = var.tenancy_ocid + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.parent_compartment_id)) > 0 ? each.value.parent_compartment_id : try(merge(module.sub-compartments-level2.*...)[each.value.parent_compartment_id]["compartment_tf_id"], var.compartment_ocids[each.value.parent_compartment_id], zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.parent_compartment_id]) + compartment_name = each.value.name + compartment_description = each.value.description + enable_delete = each.value.enable_delete + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "sub-compartments-level4" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-compartment?ref=v2024.4.0" + for_each = var.compartments.compartment_level4 != null ? var.compartments.compartment_level4 : {} + + depends_on = [module.sub-compartments-level3] + # insert the 4 required variables here + tenancy_ocid = var.tenancy_ocid + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.parent_compartment_id)) > 0 ? each.value.parent_compartment_id : try(merge(module.sub-compartments-level3.*...)[each.value.parent_compartment_id]["compartment_tf_id"], var.compartment_ocids[each.value.parent_compartment_id], zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.parent_compartment_id]) + compartment_name = each.value.name + compartment_description = each.value.description + enable_delete = each.value.enable_delete + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "sub-compartments-level5" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-compartment?ref=v2024.4.0" + for_each = var.compartments.compartment_level5 != null ? var.compartments.compartment_level5 : {} + + depends_on = [module.sub-compartments-level4] + # insert the 4 required variables here + tenancy_ocid = var.tenancy_ocid + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.parent_compartment_id)) > 0 ? each.value.parent_compartment_id : try(merge(module.sub-compartments-level4.*...)[each.value.parent_compartment_id]["compartment_tf_id"], var.compartment_ocids[each.value.parent_compartment_id], zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.parent_compartment_id]) + compartment_name = each.value.name + compartment_description = each.value.description + enable_delete = each.value.enable_delete + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +/* +output "root_compartments_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) + value = [ for k,v in merge(module.iam-compartments.*...) : v.compartment_id] +} + +output "sub_compartments_level1_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) + value = [ for k,v in merge(module.sub-compartments-level1.*...) : v.compartment_id] +} + +output "sub_compartments_level2_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) + value = [ for k,v in merge(module.sub-compartments-level2.*...) : v.compartment_id] +} + +output "sub_compartments_level3_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) + value = [ for k,v in merge(module.sub-compartments-level3.*...) : v.compartment_id] +} + +output "sub_compartments_level4_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) + value = [ for k,v in merge(module.sub-compartments-level4.*...) : v.compartment_id] +} + +output "sub_compartments_level5_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) + value = [ for k,v in merge(module.sub-compartments-level5.*...) : v.compartment_id] +} +*/ + + +############################ +# Module Block - Identity +# Create Groups +############################ + +module "iam-groups" { + + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-group?ref=v2024.4.0" + for_each = var.groups + depends_on = [module.iam-users] + tenancy_ocid = var.tenancy_ocid + group_name = each.value.group_name + group_description = each.value.group_description + matching_rule = each.value.matching_rule + members = lookup(each.value, "members", []) + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +/* +output "group_id_map" { + value = [ for k,v in merge(module.iam-groups.*...) : v.group_id_map] +} + + +output "dynamic_group_id_map" { + value = [ for k,v in merge(module.iam-groups.*...) : v.dynamic_group_id_map] +} +*/ + +############################ +# Module Block - Identity +# Create Policies +############################ + +module "iam-policies" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-policy?ref=v2024.4.0" + for_each = var.policies + + depends_on = [module.iam-groups] + tenancy_ocid = var.tenancy_ocid + policy_name = each.value.name + policy_compartment_id = each.value.compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + policy_description = each.value.policy_description + policy_statements = each.value.policy_statements + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + policy_version_date = each.value.policy_version_date +} + +/* +output "policies_id_map" { + value = [ for k,v in merge(module.iam-policies.*...) : v.policies_id_map] +} +*/ + +############################ +# Module Block - Identity +# Create Users +############################ + +module "iam-users" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-user?ref=v2024.4.0" + #depends_on = [module.iam-groups] + for_each = var.users + user_name = each.value.name + user_description = each.value.description + user_email = each.value.email + tenancy_ocid = var.tenancy_ocid + enabled_capabilities = each.value.enabled_capabilities != null ? each.value.enabled_capabilities : null + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + + + +############################ +# Module - Network Source +# Create Network Source +############################ + +#locals { +# +#vcns = flatten ([ +#for key, val in var.networkSources : [ +# for k,virtual_source in val.virtual_source_list != null ? val.virtual_source_list : [] :{ +# vcn_name = virtual_source.vcn_name.0 +# network_compartment = virtual_source.network_compartment_id.0 +# } +# ] +#]) +#} + +#data "oci_core_vcns" "oci_vcns_networksource" { +# +# for_each = { for vcn in local.vcns : vcn.vcn_name => vcn... } +# display_name = each.key +# compartment_id = var.compartment_ocids[each.value[0].network_compartment] +#} + +module "iam-network-sources" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-network-sources?ref=v2024.4.0" + for_each = var.networkSources + name = each.value.name + description = each.value.description + tenancy_ocid = var.tenancy_ocid + + #Optional + public_source_list = each.value.public_source_list != null ? each.value.public_source_list : null + #virtual_source_list = each.value.virtual_source_list != null ? each.value.virtual_source_list : null + virtual_source_list = { for k, v in each.value.virtual_source_list != null ? each.value.virtual_source_list : [] : k => + { + #vcn_id = data.oci_core_vcns.oci_vcns_networksource[v.vcn_name.0].virtual_networks.*.id[0] + ip_ranges = v.ip_ranges + } } + #vcn_comp_map = each.value.vcn_comp_map != null ? each.value.vcn_comp_map : null + defined_tags = try(each.value.defined_tags, null) + freeform_tags = try(each.value.freeform_tags, null) +} +############################ +# Module Block - Identity +# Create Identity Domain Groups +############################ +data "oci_identity_domains" "iam_domains" { + for_each = merge(var.identity_domain_groups,var.identity_domain_users) + # Required + compartment_id = var.compartment_ocids[each.value.compartment_id] + # Optional + display_name = each.value.idcs_endpoint +} + +module "groups" { + + depends_on = [module.users] + + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/identity-domain-group?ref=v2024.4.0" + for_each = var.identity_domain_groups + + group_name = each.value.group_name + group_description = each.value.group_description + matching_rule = each.value.matching_rule + compartment_id = each.value.compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + identity_domain = data.oci_identity_domains.iam_domains[each.key].domains[0] + tenancy_ocid = var.tenancy_ocid + members = each.value.members != null ? each.value.members : [] + + #Optional + defined_tags = each.value.defined_tags + freeform_tags_key = each.value.freeform_tags != null ? each.value.freeform_tags.key : null + freeform_tags_value = each.value.freeform_tags != null ? each.value.freeform_tags.value : null + +} + +############################ +# Module Block - Identity +# Create Identity Domain Users +############################ + +module "users" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/identity-domain-user?ref=v2024.4.0" + #depends_on = [module.iam-groups] + for_each = var.identity_domain_users + user_name = each.value.user_name + family_name = each.value.family_name + identity_domain = data.oci_identity_domains.iam_domains[each.key].domains[0] + compartment_id = each.value.compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + description = each.value.description + email = each.value.email + tenancy_ocid = var.tenancy_ocid + groups = each.value.groups != null ? each.value.groups : null + + enabled_capabilities = each.value.enabled_capabilities + + #Optional + defined_tags = each.value.defined_tags + freeform_tags_key = each.value.freeform_tags != null ? each.value.freeform_tags.key : null + freeform_tags_value = each.value.freeform_tags != null ? each.value.freeform_tags.value : null + +} \ No newline at end of file diff --git a/examples/identity/oci-data.tf b/examples/identity/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/identity/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/identity/provider.tf b/examples/identity/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/identity/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/identity/sample_compartments.auto.tfvars b/examples/identity/sample_compartments.auto.tfvars new file mode 100644 index 0000000..0fc5ed4 --- /dev/null +++ b/examples/identity/sample_compartments.auto.tfvars @@ -0,0 +1,51 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Identity +# Compartments - tfvars +# Allowed Values: +# parent_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : parent_compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or parent_compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +# Sample import command for compartments: +# terraform import "module.iam-compartments[\"<>\"].oci_identity_compartment.compartment" <> +# terraform import "module.sub-compartments-level1[\"<>\"].oci_identity_compartment.compartment" <> +# terraform import "module.sub-compartments-level2[\"<>\"].oci_identity_compartment.compartment" <> +# terraform import "module.sub-compartments-level3[\"<>\"].oci_identity_compartment.compartment" <> +# terraform import "module.sub-compartments-level4[\"<>\"].oci_identity_compartment.compartment" <> +# terraform import "module.sub-compartments-level5[\"<>\"].oci_identity_compartment.compartment" <> +############################ +compartments = { + root = { + AppDev = { + parent_compartment_id = null + name = "AppDev" + description = "Compartment for all resources related to application development: functions, OKE, API Gateway, streaming, notifications." + }, + Database = { + parent_compartment_id = null + name = "Database" + description = "Compartment for all database related resources." + }, + Network = { + parent_compartment_id = null + name = "Network" + description = "Compartment for all network related resources: VCNs, subnets, network gateways, security lists, NSGs, load balancers, VNICs." + }, + Security = { + parent_compartment_id = null + name = "Security" + description = "Compartment for all security related resources: vaults." + }, + }, + compartment_level1 = { + }, + compartment_level2 = { + }, + compartment_level3 = { + }, + compartment_level4 = { + }, + compartment_level5 = { + } + } \ No newline at end of file diff --git a/examples/identity/sample_groups.auto.tfvars b/examples/identity/sample_groups.auto.tfvars new file mode 100644 index 0000000..6d7abfc --- /dev/null +++ b/examples/identity/sample_groups.auto.tfvars @@ -0,0 +1,52 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Identity +# Groups - tfvars +# Sample import command for groups: +# terraform import "module.iam-groups[\"<>\"].oci_identity_group.group[0]" <> +# terraform import "module.iam-groups[\"<>\"].oci_identity_dynamic_group.dynamic_group[0]" <> +############################ +groups = { + AppDevAdmins = { + group_name = "AppDevAdmins" + group_description = "Group responsible for managing app development related services in compartment AppDev." + }, + StorageAdmins = { + group_name = "StorageAdmins" + group_description = "Group responsible for Storage Management." + }, + Auditors = { + group_name = "Auditors" + group_description = "Group responsible for Auditing the tenancy" + }, + DatabaseAdmins = { + group_name = "DatabaseAdmins" + group_description = "Group responsible for managing databases in compartment Database." + }, + IAMAdmins = { + group_name = "IAMAdmins" + group_description = "Group responsible for managing IAM resources in the tenancy." + }, + NetworkAdmins = { + group_name = "NetworkAdmins" + group_description = "Group responsible for managing networking in compartment Network." + }, + SecurityAdmins = { + group_name = "SecurityAdmins" + group_description = "Group responsible for managing security services in compartment Security." + }, + AnnouncementReaders = { + group_name = "AnnouncementReaders" + group_description = "Group responsible for Console Announcements" + }, + CredAdmins = { + group_name = "CredAdmins" + group_description = "Group responsible for managing users credentials in the tenancy." + }, + CostAdmins = { + group_name = "CostAdmins" + group_description = "Group responsible for Cost Management" + }, + } \ No newline at end of file diff --git a/examples/identity/sample_networksources.auto.tfvars b/examples/identity/sample_networksources.auto.tfvars new file mode 100644 index 0000000..8f7905b --- /dev/null +++ b/examples/identity/sample_networksources.auto.tfvars @@ -0,0 +1,16 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Identity +# Network Sources - tfvars +# Sample import command for network sources: +# terraform import "module.iam-network-sources[\"<>\"].oci_identity_network_source.network_source" <> +############################ +networkSources = { + test_ns = { + name = "test_ns" + description = "test network source" + public_source_list = ["160.34.0.0/16"] + }, + } \ No newline at end of file diff --git a/examples/identity/sample_policies.auto.tfvars b/examples/identity/sample_policies.auto.tfvars new file mode 100644 index 0000000..cefb88e --- /dev/null +++ b/examples/identity/sample_policies.auto.tfvars @@ -0,0 +1,92 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Identity +# Policies - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +# Sample import command for Policies: +# terraform import "module.iam-policies[\"<>\"].oci_identity_policy.policy" <> +############################ +policies = { + AnnouncementReaders-Policy = { + name = "AnnouncementReaders-Policy" + compartment_id = "root" + policy_description = "Policy allowing AnnouncementReaders group to audit tenancy." + policy_statements = [ "allow group AnnouncementReaders to read announcements in tenancy" ,"allow group AnnouncementReaders to use cloud-shell in tenancy" ] + }, + AppDevAdmins-Policy = { + name = "AppDevAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing AppDevAdmins group to manage app development related services in compartment AppDev." + policy_statements = [ "allow group AppDevAdmins to read all-resources in compartment AppDev" ,"allow group AppDevAdmins to manage functions-family in compartment AppDev" ,"allow group AppDevAdmins to manage api-gateway-family in compartment AppDev" ,"allow group AppDevAdmins to manage ons-family in compartment AppDev" ,"allow group AppDevAdmins to manage streams in compartment AppDev" ,"allow group AppDevAdmins to manage cluster-family in compartment AppDev" ,"allow group AppDevAdmins to manage alarms in compartment AppDev" ,"allow group AppDevAdmins to manage metrics in compartment AppDev" ,"allow group AppDevAdmins to manage logging-family in compartment AppDev" ,"allow group AppDevAdmins to manage instance-family in compartment AppDev" ,"allow group AppDevAdmins to manage volume-family in compartment AppDev where all{request.permission != 'VOLUME_BACKUP_DELETE', request.permission != 'VOLUME_DELETE', request.permission != 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group AppDevAdmins to manage object-family in compartment AppDev where all{request.permission != 'OBJECT_DELETE', request.permission != 'BUCKET_DELETE'}" ,"allow group AppDevAdmins to manage file-family in compartment AppDev where all{request.permission != 'FILE_SYSTEM_DELETE', request.permission != 'MOUNT_TARGET_DELETE', request.permission != 'EXPORT_SET_DELETE', request.permission != 'FILE_SYSTEM_DELETE_SNAPSHOT', request.permission != 'FILE_SYSTEM_NFSv3_UNEXPORT'}" ,"allow group AppDevAdmins to manage repos in compartment AppDev" ,"allow group AppDevAdmins to manage orm-stacks in compartment AppDev" ,"allow group AppDevAdmins to manage orm-jobs in compartment AppDev" ,"allow group AppDevAdmins to manage orm-config-source-providers in compartment AppDev" ,"allow group AppDevAdmins to read audit-events in compartment AppDev" ,"allow group AppDevAdmins to read work-requests in compartment AppDev" ,"allow group AppDevAdmins to manage bastion-session in compartment AppDev" ,"allow group AppDevAdmins to manage cloudevents-rules in compartment AppDev" ,"allow group AppDevAdmins to read instance-agent-plugins in compartment AppDev" ,"allow group AppDevAdmins to manage keys in compartment AppDev" ,"allow group AppDevAdmins to use key-delegate in compartment AppDev" ,"allow group AppDevAdmins to manage secret-family in compartment AppDev" ,"allow group AppDevAdmins to read virtual-network-family in compartment Network" ,"allow group AppDevAdmins to use subnets in compartment Network" ,"allow group AppDevAdmins to use network-security-groups in compartment Network" ,"allow group AppDevAdmins to use vnics in compartment Network" ,"allow group AppDevAdmins to manage private-ips in compartment Network" ,"allow group AppDevAdmins to use load-balancers in compartment Network" ,"allow group AppDevAdmins to use vaults in compartment Security" ,"allow group AppDevAdmins to manage instance-images in compartment Security" ,"allow group AppDevAdmins to read vss-family in compartment Security" ,"allow group AppDevAdmins to use bastion in compartment Security" ,"allow group AppDevAdmins to manage bastion-session in compartment Security" ,"allow group AppDevAdmins to read logging-family in compartment Security" ,"allow group AppDevAdmins to read autonomous-database-family in compartment Database" ,"allow group AppDevAdmins to read database-family in compartment Database" ,"allow group AppDevAdmins to read app-catalog-listing in tenancy" ,"allow group AppDevAdmins to read instance-images in tenancy" ,"allow group AppDevAdmins to read repos in tenancy" ] + }, + AuditorAccess-Policy = { + name = "AuditorAccess-Policy" + compartment_id = "root" + policy_description = "Policy allowing Auditors group to audit tenancy." + policy_statements = [ "allow group Auditors to inspect all-resources in tenancy" ,"allow group Auditors to read instances in tenancy" ,"allow group Auditors to read load-balancers in tenancy" ,"allow group Auditors to read buckets in tenancy" ,"allow group Auditors to read nat-gateways in tenancy" ,"allow group Auditors to read public-ips in tenancy" ,"allow group Auditors to read file-family in tenancy" ,"allow group Auditors to read instance-configurations in tenancy" ,"allow group Auditors to read network-security-groups in tenancy" ,"allow group Auditors to read resource-availability in tenancy" ,"allow group Auditors to read audit-events in tenancy" ,"allow group Auditors to use cloud-shell in tenancy" ,"allow group Auditors to read users in tenancy" ,"allow group Auditors to read vss-family in tenancy" ,"allow group Auditors to read usage-budgets in tenancy" ,"allow group Auditors to read usage-reports in tenancy" ,"allow group Auditors to read data-safe-family in tenancy" ] + }, + Basic-Access-Policy = { + name = "Basic-Access-Policy" + compartment_id = "root" + policy_description = "Policy to allow basic access" + policy_statements = [ "allow group SecurityAdmins,NetworkAdmins,AppDevAdmins,DatabaseAdmins,StorageAdmins to use cloud-shell in tenancy" ,"allow group SecurityAdmins,NetworkAdmins,AppDevAdmins,DatabaseAdmins,StorageAdmins to read usage-budgets in tenancy" ,"allow group SecurityAdmins,NetworkAdmins,AppDevAdmins,DatabaseAdmins,StorageAdmins to read usage-reports in tenancy" ,"allow group SecurityAdmins,NetworkAdmins,AppDevAdmins,DatabaseAdmins,StorageAdmins to read objectstorage-namespaces in tenancy" ] + }, + CredentialAdmins-Policy = { + name = "CredentialAdmins-Policy" + compartment_id = "root" + policy_description = "Policy for Credential Admins group" + policy_statements = [ "allow group CredAdmins to inspect users in tenancy" ,"allow group CredAdmins to inspect groups in tenancy" ,"allow group CredAdmins to manage users in tenancy where any {request.operation = 'ListApiKeys',request.operation = 'ListAuthTokens',request.operation = 'ListCustomerSecretKeys',request.operation = 'UploadApiKey',request.operation = 'DeleteApiKey',request.operation = 'UpdateAuthToken',request.operation = 'CreateAuthToken',request.operation = 'DeleteAuthToken',request.operation = 'CreateSecretKey',request.operation = 'UpdateCustomerSecretKey',request.operation = 'DeleteCustomerSecretKey',request.operation = 'UpdateUserCapabilities'}" ,"allow group CredAdmins to use cloud-shell in tenancy" ] + }, + Managed-Services-Policy = { + name = "Managed-Services-Policy" + compartment_id = "root" + policy_description = "Policy for for OCI services: Cloud Guard, Vulnerability Scanning and OS Management." + policy_statements = [ "allow service cloudguard to read all-resources in tenancy" ,"allow service cloudguard to use network-security-groups in tenancy" ,"Allow service vulnerability-scanning-service to manage instances in tenancy" ,"Allow service vulnerability-scanning-service to read compartments in tenancy" ,"Allow service vulnerability-scanning-service to read repos in tenancy" ,"Allow service vulnerability-scanning-service to read vnics in tenancy" ,"Allow service vulnerability-scanning-service to read vnic-attachments in tenancy" ,"allow service osms to read instances in tenancy" ,"Allow service blockstorage, oke, streaming, Fssoc1Prod to use keys in tenancy" ] + }, + DatabaseAdmins-Policy = { + name = "DatabaseAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing DatabaseAdmins group to manage databases in compartment Database." + policy_statements = [ "allow group DatabaseAdmins to read all-resources in compartment Database" ,"allow group DatabaseAdmins to manage database-family in compartment Database" ,"allow group DatabaseAdmins to manage autonomous-database-family in compartment Database" ,"allow group DatabaseAdmins to manage cloud-exadata-infrastructures in compartment Database" ,"allow group DatabaseAdmins to manage cloud-vmclusters in compartment Database" ,"allow group DatabaseAdmins to manage alarms in compartment Database" ,"allow group DatabaseAdmins to manage metrics in compartment Database" ,"allow group DatabaseAdmins to manage cloudevents-rules in compartment Database" ,"allow group DatabaseAdmins to manage object-family in compartment Database where all{request.permission != 'OBJECT_DELETE', request.permission != 'BUCKET_DELETE'}" ,"allow group DatabaseAdmins to manage instance-family in compartment Database" ,"allow group DatabaseAdmins to manage volume-family in compartment Database where all{request.permission != 'VOLUME_BACKUP_DELETE', request.permission != 'VOLUME_DELETE', request.permission != 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group DatabaseAdmins to manage file-family in compartment Database where all{request.permission != 'FILE_SYSTEM_DELETE', request.permission != 'MOUNT_TARGET_DELETE', request.permission != 'EXPORT_SET_DELETE', request.permission != 'FILE_SYSTEM_DELETE_SNAPSHOT', request.permission != 'FILE_SYSTEM_NFSv3_UNEXPORT'}" ,"allow group DatabaseAdmins to manage orm-stacks in compartment Database" ,"allow group DatabaseAdmins to manage orm-jobs in compartment Database" ,"allow group DatabaseAdmins to manage orm-config-source-providers in compartment Database" ,"allow group DatabaseAdmins to manage ons-family in compartment Database" ,"allow group DatabaseAdmins to manage logging-family in compartment Database" ,"allow group DatabaseAdmins to read audit-events in compartment Database" ,"allow group DatabaseAdmins to read work-requests in compartment Database" ,"allow group DatabaseAdmins to manage bastion-session in compartment Database" ,"allow group DatabaseAdmins to read instance-agent-plugins in compartment Database" ,"allow group DatabaseAdmins to manage data-safe-family in compartment Database" ,"allow group DatabaseAdmins to use vnics in compartment Database" ,"allow group DatabaseAdmins to manage keys in compartment Database" ,"allow group DatabaseAdmins to use key-delegate in compartment Database" ,"allow group DatabaseAdmins to manage secret-family in compartment Database" ,"allow group DatabaseAdmins to read virtual-network-family in compartment Network" ,"allow group DatabaseAdmins to use vnics in compartment Network" ,"allow group DatabaseAdmins to manage private-ips in compartment Network" ,"allow group DatabaseAdmins to use subnets in compartment Network" ,"allow group DatabaseAdmins to use network-security-groups in compartment Network" ,"allow group DatabaseAdmins to read vss-family in compartment Security" ,"allow group DatabaseAdmins to use vaults in compartment Security" ,"allow group DatabaseAdmins to read logging-family in compartment Security" ,"allow group DatabaseAdmins to use bastion in compartment Security" ,"allow group DatabaseAdmins to manage bastion-session in compartment Security" ,"allow group DatabaseAdmins to manage db-nodes in compartment Database" ,"allow group DatabaseAdmins to manage db-homes in compartment Database" ,"allow group DatabaseAdmins to manage databases in compartment Database" ,"allow group DatabaseAdmins to manage db-backups in compartment Database" ,"allow group DatabaseAdmins to manage data-safe-family in compartment Database" ] + }, + IAMAdmins-Policy = { + name = "IAMAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing IAMAdmins group to manage IAM resources in tenancy, except changing Administrators group assignments." + policy_statements = [ "allow group IAMAdmins to manage policies in tenancy" ,"allow group IAMAdmins to manage compartments in tenancy" ,"allow group IAMAdmins to inspect users in tenancy" ,"allow group IAMAdmins to manage users in tenancy where all {request.operation != 'ListApiKeys',request.operation != 'ListAuthTokens',request.operation != 'ListCustomerSecretKeys',request.operation != 'UploadApiKey',request.operation != 'DeleteApiKey',request.operation != 'UpdateAuthToken',request.operation != 'CreateAuthToken',request.operation != 'DeleteAuthToken',request.operation != 'CreateSecretKey',request.operation != 'UpdateCustomerSecretKey',request.operation != 'DeleteCustomerSecretKey'}" ,"allow group IAMAdmins to inspect groups in tenancy" ,"allow group IAMAdmins to read policies in tenancy" ,"allow group IAMAdmins to manage groups in tenancy where all {target.group.name != 'Administrators', target.group.name != 'CredAdmins'}" ,"allow group IAMAdmins to inspect identity-providers in tenancy" ,"allow group IAMAdmins to manage identity-providers in tenancy where any {request.operation = 'AddIdpgroupMapping', request.operation = 'DeleteIdpgroupMapping'}" ,"allow group IAMAdmins to manage dynamic-groups in tenancy" ,"allow group IAMAdmins to manage authentication-policies in tenancy" ,"allow group IAMAdmins to manage network-sources in tenancy" ,"allow group IAMAdmins to manage quota in tenancy" ,"allow group IAMAdmins to read audit-events in tenancy" ,"allow group IAMAdmins to use cloud-shell in tenancy" ,"allow group IAMAdmins to manage tag-defaults in tenancy" ,"allow group IAMAdmins to manage tag-namespaces in tenancy" ,"allow group IAMAdmins to manage orm-stacks in tenancy" ,"allow group IAMAdmins to manage orm-jobs in tenancy" ,"allow group IAMAdmins to manage orm-config-source-providers in tenancy" ] + }, + NetworkAdmins-Policy = { + name = "NetworkAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing NetworkAdmins group to manage virtual-network-family in compartment Network." + policy_statements = [ "allow group NetworkAdmins to read all-resources in compartment Network" ,"allow group NetworkAdmins to manage virtual-network-family in compartment Network" ,"allow group NetworkAdmins to manage dns in compartment Network" ,"allow group NetworkAdmins to manage load-balancers in compartment Network" ,"allow group NetworkAdmins to manage alarms in compartment Network" ,"allow group NetworkAdmins to manage metrics in compartment Network" ,"allow group NetworkAdmins to manage ons-family in compartment Network" ,"allow group NetworkAdmins to manage orm-stacks in compartment Network" ,"allow group NetworkAdmins to manage orm-jobs in compartment Network" ,"allow group NetworkAdmins to manage orm-config-source-providers in compartment Network" ,"allow group NetworkAdmins to read audit-events in compartment Network" ,"allow group NetworkAdmins to read work-requests in compartment Network" ,"allow group NetworkAdmins to manage instance-family in compartment Network" ,"allow group NetworkAdmins to manage volume-family in compartment Network where all{request.permission != 'VOLUME_BACKUP_DELETE', request.permission != 'VOLUME_DELETE', request.permission != 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group NetworkAdmins to manage object-family in compartment Network where all{request.permission != 'OBJECT_DELETE', request.permission != 'BUCKET_DELETE'}" ,"allow group NetworkAdmins to manage file-family in compartment Network where all{request.permission != 'FILE_SYSTEM_DELETE', request.permission != 'MOUNT_TARGET_DELETE', request.permission != 'EXPORT_SET_DELETE', request.permission != 'FILE_SYSTEM_DELETE_SNAPSHOT', request.permission != 'FILE_SYSTEM_NFSv3_UNEXPORT'}" ,"allow group NetworkAdmins to manage bastion-session in compartment Network" ,"allow group NetworkAdmins to manage cloudevents-rules in compartment Network" ,"allow group NetworkAdmins to manage alarms in compartment Network" ,"allow group NetworkAdmins to manage metrics in compartment Network" ,"allow group NetworkAdmins to read instance-agent-plugins in compartment Network" ,"allow group NetworkAdmins to manage keys in compartment Network" ,"allow group NetworkAdmins to use key-delegate in compartment Network" ,"allow group NetworkAdmins to manage secret-family in compartment Network" ,"allow group NetworkAdmins to read vss-family in compartment Security" ,"allow group NetworkAdmins to use bastion in compartment Security" ,"allow group NetworkAdmins to manage bastion-session in compartment Security" ,"allow group NetworkAdmins to use vaults in compartment Security" ,"allow group NetworkAdmins to read logging-family in compartment Security" ] + }, + CostAdmins-Policy = { + name = "CostAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing CostAdmins group to manage costing." + policy_statements = [ "define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq" ,"endorse group CostAdmins to read objects in tenancy usage-report" ,"allow group CostAdmins to manage usage-report in tenancy" ,"allow group CostAdmins to manage usage-budgets in tenancy" ] + }, + SecurityAdmins-Policy = { + name = "SecurityAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing SecurityAdmins group to manage security related services in compartment Security." + policy_statements = [ "allow group SecurityAdmins to manage tag-namespaces in tenancy" ,"allow group SecurityAdmins to manage tag-defaults in tenancy" ,"allow group SecurityAdmins to manage repos in tenancy" ,"allow group SecurityAdmins to read audit-events in tenancy" ,"allow group SecurityAdmins to read app-catalog-listing in tenancy" ,"allow group SecurityAdmins to read instance-images in tenancy" ,"allow group SecurityAdmins to inspect buckets in tenancy" ,"allow group SecurityAdmins to read all-resources in compartment Security" ,"allow group SecurityAdmins to manage instance-family in compartment Security" ,"allow group SecurityAdmins to manage volume-family in compartment Security where all{request.permission != 'VOLUME_BACKUP_DELETE', request.permission != 'VOLUME_DELETE', request.permission != 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group SecurityAdmins to manage object-family in compartment Security where all{request.permission != 'OBJECT_DELETE', request.permission != 'BUCKET_DELETE'}" ,"allow group SecurityAdmins to manage file-family in compartment Security where all{request.permission != 'FILE_SYSTEM_DELETE', request.permission != 'MOUNT_TARGET_DELETE', request.permission != 'EXPORT_SET_DELETE', request.permission != 'FILE_SYSTEM_DELETE_SNAPSHOT', request.permission != 'FILE_SYSTEM_NFSv3_UNEXPORT'}" ,"allow group SecurityAdmins to manage vaults in compartment Security" ,"allow group SecurityAdmins to manage keys in compartment Security" ,"allow group SecurityAdmins to manage secret-family in compartment Security" ,"allow group SecurityAdmins to manage logging-family in compartment Security" ,"allow group SecurityAdmins to manage serviceconnectors in compartment Security" ,"allow group SecurityAdmins to manage streams in compartment Security" ,"allow group SecurityAdmins to manage ons-family in compartment Security" ,"allow group SecurityAdmins to manage functions-family in compartment Security" ,"allow group SecurityAdmins to manage waas-family in compartment Security" ,"allow group SecurityAdmins to manage security-zone in compartment Security" ,"allow group SecurityAdmins to manage orm-stacks in compartment Security" ,"allow group SecurityAdmins to manage orm-jobs in compartment Security" ,"allow group SecurityAdmins to manage orm-config-source-providers in compartment Security" ,"allow group SecurityAdmins to manage vss-family in compartment Security" ,"allow group SecurityAdmins to read work-requests in compartment Security" ,"allow group SecurityAdmins to manage bastion-family in compartment Security" ,"allow group SecurityAdmins to read instance-agent-plugins in compartment Security" ,"allow group SecurityAdmins to manage cloudevents-rules in compartment Security" ,"allow group SecurityAdmins to manage alarms in compartment Security" ,"allow group SecurityAdmins to manage metrics in compartment Security" ,"allow group SecurityAdmins to use key-delegate in compartment Security" ,"allow group SecurityAdmins to read virtual-network-family in compartment Network" ,"allow group SecurityAdmins to use subnets in compartment Network" ,"allow group SecurityAdmins to use network-security-groups in compartment Network" ,"allow group SecurityAdmins to use vnics in compartment Network" ,"allow group SecurityAdmins to manage private-ips in compartment Network" ,"allow group SecurityAdmins to read keys in compartment Network" ,"allow group SecurityAdmins to read keys in compartment AppDev" ,"allow group SecurityAdmins to read keys in compartment Database" ,"allow group SecurityAdmins to manage cloudevents-rules in tenancy" ,"allow group SecurityAdmins to manage cloud-guard-family in tenancy" ,"allow group SecurityAdmins to read tenancies in tenancy" ,"allow group SecurityAdmins to read objectstorage-namespaces in tenancy" ,"allow group SecurityAdmins to use cloud-shell in tenancy" ,"allow group SecurityAdmins to read usage-budgets in tenancy" ,"allow group SecurityAdmins to read usage-reports in tenancy" ] + }, + StorageAdmins-Policy = { + name = "StorageAdmins-Policy" + compartment_id = "root" + policy_description = "Policy allowing StorageAdmins group to manage storage resources." + policy_statements = [ "allow group StorageAdmins to read bucket in compartment AppDev" ,"allow group StorageAdmins to inspect object in compartment AppDev" ,"allow group StorageAdmins to manage object-family in compartment AppDev where any {request.permission = 'OBJECT_DELETE', request.permission = 'BUCKET_DELETE'}" ,"allow group StorageAdmins to read volume-family in compartment AppDev" ,"allow group StorageAdmins to manage volume-family in compartment AppDev where any {request.permission = 'VOLUME_DELETE', request.permission = 'VOLUME_BACKUP_DELETE', request.permission = 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group StorageAdmins to read file-family in compartment AppDev" ,"allow group StorageAdmins to manage file-family in compartment AppDev where any {request.permission = 'FILE_SYSTEM_DELETE', request.permission = 'MOUNT_TARGET_DELETE', request.permission = 'EXPORT_SET_UPDATE', request.permission = 'FILE_SYSTEM_NFSv3_UNEXPORT', request.permission = 'EXPORT_SET_DELETE', request.permission = 'FILE_SYSTEM_DELETE_SNAPSHOT'}" ,"allow group StorageAdmins to read bucket in compartment Database" ,"allow group StorageAdmins to inspect object in compartment Database" ,"allow group StorageAdmins to manage object-family in compartment Database where any {request.permission = 'OBJECT_DELETE', request.permission = 'BUCKET_DELETE'}" ,"allow group StorageAdmins to read volume-family in compartment Database" ,"allow group StorageAdmins to manage volume-family in compartment Database where any {request.permission = 'VOLUME_DELETE', request.permission = 'VOLUME_BACKUP_DELETE', request.permission = 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group StorageAdmins to read file-family in compartment Database" ,"allow group StorageAdmins to manage file-family in compartment Database where any {request.permission = 'FILE_SYSTEM_DELETE', request.permission = 'MOUNT_TARGET_DELETE', request.permission = 'EXPORT_SET_UPDATE', request.permission = 'FILE_SYSTEM_NFSv3_UNEXPORT', request.permission = 'EXPORT_SET_DELETE', request.permission = 'FILE_SYSTEM_DELETE_SNAPSHOT'}" ,"allow group StorageAdmins to read bucket in compartment Security" ,"allow group StorageAdmins to inspect object in compartment Security" ,"allow group StorageAdmins to manage object-family in compartment Security where any {request.permission = 'OBJECT_DELETE', request.permission = 'BUCKET_DELETE'}" ,"allow group StorageAdmins to read volume-family in compartment Security" ,"allow group StorageAdmins to manage volume-family in compartment Security where any {request.permission = 'VOLUME_DELETE', request.permission = 'VOLUME_BACKUP_DELETE', request.permission = 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group StorageAdmins to read file-family in compartment Security" ,"allow group StorageAdmins to manage file-family in compartment Security where any {request.permission = 'FILE_SYSTEM_DELETE', request.permission = 'MOUNT_TARGET_DELETE', request.permission = 'EXPORT_SET_UPDATE', request.permission = 'FILE_SYSTEM_NFSv3_UNEXPORT', request.permission = 'EXPORT_SET_DELETE', request.permission = 'FILE_SYSTEM_DELETE_SNAPSHOT'}" ,"allow group StorageAdmins to read bucket in compartment Network" ,"allow group StorageAdmins to inspect object in compartment Network" ,"allow group StorageAdmins to manage object-family in compartment Network where any {request.permission = 'OBJECT_DELETE', request.permission = 'BUCKET_DELETE'}" ,"allow group StorageAdmins to read volume-family in compartment Network" ,"allow group StorageAdmins to manage volume-family in compartment Network where any {request.permission = 'VOLUME_DELETE', request.permission = 'VOLUME_BACKUP_DELETE', request.permission = 'BOOT_VOLUME_BACKUP_DELETE'}" ,"allow group StorageAdmins to read file-family in compartment Network" ,"allow group StorageAdmins to manage file-family in compartment Network where any {request.permission = 'FILE_SYSTEM_DELETE', request.permission = 'MOUNT_TARGET_DELETE', request.permission = 'VNIC_DELETE', request.permission = 'SUBNET_DETACH', request.permission = 'VNIC_DETACH', request.permission = 'PRIVATE_IP_DELETE', request.permission = 'PRIVATE_IP_UNASSIGN', request.permission = 'VNIC_UNASSIGN', request.permission = 'EXPORT_SET_UPDATE', request.permission = 'FILE_SYSTEM_NFSv3_UNEXPORT', request.permission = 'EXPORT_SET_DELETE', request.permission = 'FILE_SYSTEM_DELETE_SNAPSHOT'}" ] + }, + OKE-Clusters-Policy = { + name = "OKE-Clusters-Policy" + compartment_id = "root" + policy_description = "Policy for OKE clusters. It allows OKE clusters to use Native Pod Networking (NPN) and to use network resources in the Network compartment." + policy_statements = [ "allow any-user to manage instances in compartment AppDev where all { request.principal.type = 'cluster' }" ,"allow any-user to use private-ips in compartment Network where all { request.principal.type = 'cluster' }" ,"allow any-user to use network-security-groups in compartment Network where all { request.principal.type = 'cluster' }" ,"allow any-user to use subnets in compartment Network where all { request.principal.type = 'cluster' }" ] + }, + } \ No newline at end of file diff --git a/examples/identity/sample_users.auto.tfvars b/examples/identity/sample_users.auto.tfvars new file mode 100644 index 0000000..780e621 --- /dev/null +++ b/examples/identity/sample_users.auto.tfvars @@ -0,0 +1,17 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Identity +# Users - tfvars +# Sample import command for users: +# terraform import "module.iam-users[\"<>\"].oci_identity_user.user" <> +############################ +users = { + myuser = { + name = "myuser" + description = "myuser test" + email = "myuser.test@oracle.com" + enabled_capabilities = ["api_keys", "customer_secret_keys"] + }, + } \ No newline at end of file diff --git a/examples/identity/variables_phoenix.tf b/examples/identity/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/identity/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/kms/backend.tf b/examples/kms/backend.tf new file mode 100644 index 0000000..e11bf2d --- /dev/null +++ b/examples/kms/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/kms/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/kms/kms.tf b/examples/kms/kms.tf new file mode 100644 index 0000000..992549c --- /dev/null +++ b/examples/kms/kms.tf @@ -0,0 +1,42 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################################ +# Module Block - Security +# Create KMS Vault and Key +############################################ + +module "vaults" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/vault?ref=v2024.4.0" + for_each = var.vaults != null ? var.vaults : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + vault_type = each.value.vault_type + replica_region = each.value.replica_region +} + +module "keys" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/security/key?ref=v2024.4.0" + for_each = var.keys != null ? var.keys : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + algorithm = each.value.algorithm != null ? each.value.algorithm : "AES" + length = each.value.length != null ? each.value.length : 32 + curve_id = each.value.curve_id != null ? each.value.curve_id : null + management_endpoint = merge(module.vaults.*...)[each.value.vault_name]["management_endpoint_tf_id"] + protection_mode = each.value.protection_mode + is_auto_rotation_enabled = each.value.is_auto_rotation_enabled + rotation_interval_in_days = each.value.rotation_interval_in_days != null ? each.value.rotation_interval_in_days : 60 +} \ No newline at end of file diff --git a/examples/kms/oci-data.tf b/examples/kms/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/kms/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/kms/provider.tf b/examples/kms/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/kms/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/kms/sample_kms.auto.tfvars b/examples/kms/sample_kms.auto.tfvars new file mode 100644 index 0000000..2baec16 --- /dev/null +++ b/examples/kms/sample_kms.auto.tfvars @@ -0,0 +1,86 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Security +# Create KMS Vault and Key +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" +# Sample import command: +# terraform import "module.vaults[\"<>\"].oci_kms_vault.vault" +############################ +vaults = { + vault-1 = { + compartment_id = "Security" + display_name = "vault-1" + vault_type = "DEFAULT" + }, + vault-2 = { + compartment_id = "Security" + display_name = "vault-2" + vault_type = "VIRTUAL_PRIVATE" + replica_region = "uk-london-1" + }, +##Add New Vaults for phoenix here## +} + +############################ +# Security +# Create KMS Vault and Key +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# length : AES: 16, 24, or 32, RSA: 256, 384, or 512, ECDSA: 32, 48, or 66 +# Sample import command: +# terraform import "module.keys[\"<>\"].oci_kms_key.key" managementEndpoint//keys/ +############################ +keys = { + key-1 = { + compartment_id = "Security" + display_name = "key-1" + vault_name = "vault-1" + algorithm = "AES" + length = 32 + protection_mode = "HSM" + }, + key-2 = { + compartment_id = "AppDev" + display_name = "key-2" + vault_name = "vault-1" + algorithm = "ECDSA" + length = 48 + curve_id = "NIST_P384" + protection_mode = "SOFTWARE" + }, + key-1 = { + compartment_id = "Security" + display_name = "key-1" + vault_name = "vault-2" + algorithm = "AES" + length = 16 + protection_mode = "SOFTWARE" + is_auto_rotation_enabled = "true" + rotation_interval_in_days = 100 + }, + key-2 = { + compartment_id = "AppDev" + display_name = "key-2" + vault_name = "vault-2" + algorithm = "RSA" + length = 384 + protection_mode = "SOFTWARE" + }, + key-3 = { + compartment_id = "Database" + display_name = "key-3" + vault_name = "vault-2" + algorithm = "ECDSA" + length = 66 + curve_id = "NIST_P521" + protection_mode = "HSM" + is_auto_rotation_enabled = "true" + rotation_interval_in_days = 365 + }, +##Add New Keys for phoenix here## +} \ No newline at end of file diff --git a/examples/kms/variables_phoenix.tf b/examples/kms/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/kms/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/kms/variables_phoenix.tf_backup b/examples/kms/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 diff --git a/examples/loadbalancer/backend.tf b/examples/loadbalancer/backend.tf new file mode 100644 index 0000000..bc5258b --- /dev/null +++ b/examples/loadbalancer/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/loadbalancer/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/loadbalancer/loadbalancer.tf b/examples/loadbalancer/loadbalancer.tf new file mode 100644 index 0000000..c0d89d0 --- /dev/null +++ b/examples/loadbalancer/loadbalancer.tf @@ -0,0 +1,381 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - Network +# Create Load Balancers +############################ + +/* +data "oci_certificates_management_certificates" "certificates_backendsets" { + for_each = var.backend_sets != null ? var.backend_sets : {} + #Optional + compartment_id = each.value.instance_compartment != null ? (length(regexall("ocid1.compartment.oc*", each.value.instance_compartment)) > 0 ? each.value.instance_compartment : var.compartment_ocids[each.value.instance_compartment]) : var.tenancy_ocid + name = each.value.certificate_name + state = "AVAILABLE" +} +*/ + +data "oci_core_instances" "instances" { + # depends_on = [module.instances] # Uncomment to create Compute and Load Balancers together + for_each = var.backends != null ? var.backends : {} + #state = "RUNNING" + filter { + name = "state" + values = ["RUNNING","STOPPED"] + } + #Required + compartment_id = each.value.instance_compartment != null && each.value.instance_compartment != "" ? (length(regexall("ocid1.compartment.oc*", each.value.instance_compartment)) > 0 ? each.value.instance_compartment : var.compartment_ocids[each.value.instance_compartment]) : var.tenancy_ocid +} + +data "oci_core_instance" "instance_ip" { + for_each = { for k, v in var.backends : k => v.ip_address if length(regexall("IP:*", v.ip_address)) == 0 } + instance_id = merge(local.instance.ocid.*...)[split("NAME:", each.value)[1]][0] +} + +locals { + instance = { + for instances in data.oci_core_instances.instances : + "ocid" => { for instance in instances.instances : instance.display_name => instance.id... }... + } +} + +module "load-balancers" { + # depends_on = [module.vcns, module.subnets,module.nsgs] # Uncomment to execute Networking and Load Balancer together + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-load-balancer?ref=v2024.4.0" + for_each = var.load_balancers != null ? var.load_balancers : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_names = [each.value.vcn_name] + + display_name = each.value.display_name + shape = each.value.shape != null ? each.value.shape : "100Mbps" # Default value as per OCI + #subnet_ids = flatten(tolist([for subnet in each.value.subnet_names : (length(regexall("ocid1.subnet.oc*", subnet)) > 0 ? [subnet] : data.oci_core_subnets.oci_subnets_lbs[subnet].subnets[*].id)])) + subnet_ids = each.value.subnet_ids + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + ip_mode = each.value.ip_mode + is_private = each.value.is_private + network_security_group_ids = each.value.nsg_ids + key_name = each.key + load_balancers = var.load_balancers + reserved_ips_id = each.value.reserved_ips_id != null ? (lower(each.value.reserved_ips_id) != "n" ? (length(regexall("ocid1.publicip.oc*", each.value.reserved_ips_id)) > 0 ? [each.value.reserved_ips_id] : [merge(module.lbr-reserved-ips.*...)[join("-", [each.key, "reserved", "ip"])].reserved_ip_tf_id]) : []) : [] +} + +/* +output "load_balancer_id_map" { + value = [ for k,v in merge(module.load-balancers.*...) : v.load_balancer_tf_id ] +} +*/ + +module "hostnames" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-hostname?ref=v2024.4.0" + for_each = var.hostnames != null ? var.hostnames : {} + + #Required + hostname = each.value.hostname + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + name = each.value.name +} + +/* +output "hostnames_id_map" { + value = [ for k,v in merge(module.hostnames.*...) : v.hostname_tf_id ] +} +*/ + +module "certificates" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-certificate?ref=v2024.4.0" + for_each = var.certificates != null ? var.certificates : {} + + #Required + certificate_name = each.value.certificate_name + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + + #Optional + ca_certificate = each.value.ca_certificate != null ? file(each.value.ca_certificate) : null + passphrase = each.value.passphrase + private_key = each.value.private_key != null ? file(each.value.private_key) : null + public_certificate = each.value.public_certificate != null ? file(each.value.public_certificate) : null +} + +/* +output "certificates_id_map" { + value = [ for k,v in merge(module.certificates.*...) : v.certificate_tf_id ] +} +*/ + +module "cipher-suites" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-cipher-suite?ref=v2024.4.0" + for_each = var.cipher_suites != null ? var.cipher_suites : {} + + #Required + ciphers = each.value.ciphers + name = each.value.name + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + +} + +/* +output "cipher_suites_id_map" { + value = [ for k,v in merge(module.cipher-suites.*...) : v.cipher_suite_tf_id ] +} +*/ + +module "backend-sets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-backend-set?ref=v2024.4.0" + for_each = var.backend_sets != null ? var.backend_sets : {} + + #Required + protocol = each.value.protocol + + #Optional + interval_ms = each.value.interval_ms + is_force_plain_text = each.value.is_force_plain_text + port = each.value.port + response_body_regex = each.value.response_body_regex + retries = each.value.retries + return_code = each.value.return_code + timeout_in_millis = each.value.timeout_in_millis + url_path = each.value.url_path + + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + name = each.value.name + policy = each.value.policy + backend_sets = var.backend_sets + certificate_name = each.value.certificate_name != null ? merge(module.certificates.*...)[each.value.certificate_name]["certificate_tf_name"] : null + cipher_suite_name = each.value.cipher_suite_name != null ? (length(regexall("oci-default-ssl", each.value.cipher_suite_name)) < 0 ? merge(module.cipher-suites.*...)[each.value.cipher_suite_name]["cipher_suite_tf_name"] : "") : null + key_name = each.key + +} + +/* +output "backend_sets_id_map" { + value = [ for k,v in merge(module.backend-sets.*...) : v.backend_set_tf_id ] +} +*/ + +module "backends" { + depends_on = [module.backend-sets] + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-backend?ref=v2024.4.0" + for_each = var.backends != null ? var.backends : {} + + #Required + backendset_name = merge(module.backend-sets.*...)[each.value.backendset_name].backend_set_tf_name + ip_address = each.value.ip_address != "" ? (length(regexall("IP:", each.value.ip_address)) > 0 ? split("IP:", each.value.ip_address)[1] : data.oci_core_instance.instance_ip[each.key].private_ip) : null + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + port = each.value.port + + #Optional + backup = each.value.backup + drain = each.value.drain + offline = each.value.offline + weight = each.value.weight != null ? each.value.weight : "1" +} + +/* +output "backends_id_map" { + value = [ for k,v in merge(module.backends.*...) : v.backend_tf_id ] +} +*/ + +module "listeners" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-listener?ref=v2024.4.0" + for_each = var.listeners != null ? var.listeners : {} + + #Required + default_backend_set_name = merge(module.backend-sets.*...)[each.value.default_backend_set_name].backend_set_tf_name + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + name = each.value.name + port = each.value.port + protocol = each.value.protocol + + #Optional + listeners = var.listeners + certificate_name = each.value.certificate_name != null ? merge(module.certificates.*...)[each.value.certificate_name]["certificate_tf_name"] : null + cipher_suite_name = each.value.cipher_suite_name != null ? (length(regexall("oci-default-ssl", each.value.cipher_suite_name)) < 0 ? each.value.cipher_suite_name : null) : null + key_name = each.key + hostname_names = each.value.hostname_names != null ? flatten(tolist([for hostnames in each.value.hostname_names : merge(module.hostnames.*...)[hostnames].hostname_tf_name])) : null + path_route_set_name = each.value.path_route_set_name != null ? merge(module.path-route-sets.*...)[each.value.path_route_set_name].path_route_set_tf_name : null + routing_policy_name = each.value.routing_policy_name #TODO + rule_set_names = each.value.rule_set_names != null ? flatten(tolist([for rules in each.value.rule_set_names : merge(module.rule-sets.*...)[rules].rule_set_tf_name])) : null +} + +/* +output "listeners_id_map" { + value = [ for k,v in merge(module.listeners.*...) : v.listener_tf_id ] +} +*/ + +module "path-route-sets" { + depends_on = [module.backend-sets] + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-path-route-set?ref=v2024.4.0" + for_each = var.path_route_sets != null ? var.path_route_sets : {} + + #Required + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + name = each.value.name + + #Optional + path_route_sets = var.path_route_sets + key_name = each.key +} + +/* +output "path_route_sets_id_map" { + value = [ for k,v in merge(module.path-route-sets.*...) : v.path_route_set_tf_id ] +} +*/ + +module "rule-sets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-rule-set?ref=v2024.4.0" + for_each = var.rule_sets != null ? var.rule_sets : {} + + #Required + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + name = each.value.name + + #Optional + rule_sets = var.rule_sets + key_name = each.key +} + +/* +output "rule_sets_id_map" { + value = [ for k,v in merge(module.rule-sets.*...) : v.rule_set_tf_id ] +} +*/ + +module "routing-policies" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/loadbalancer/lb-routing-policy?ref=v2024.4.0" + for_each = var.lb_routing_policies != null ? var.lb_routing_policies : {} + + condition_language_version = each.value.condition_language_version != null ? each.value.condition_language_version : null + load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.load_balancer_id)) > 0 ? each.value.load_balancer_id : merge(module.load-balancers.*...)[each.value.load_balancer_id]["load_balancer_tf_id"] + name = each.value.name != null ? each.value.name : null + #backend_set_name = each.value.backend_set_name != null ? merge(module.backend-sets.*...)[each.value.backend_set_name].backend_set_tf_name : null + rules = each.value.rules != null ? each.value.rules : [] + +} + +/* +output "routing_policy_tf_id_map" { + value = [ for k,v in merge(module.routing-policies.*...) : v.routing_policy_tf_id ] +} +*/ + +############################# +# Module Block - LBaaS Logging +# Create Log Groups and Logs +############################# + +module "loadbalancer-log-groups" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log-group?ref=v2024.4.0" + for_each = (var.loadbalancer_log_groups != null || var.loadbalancer_log_groups != {}) ? var.loadbalancer_log_groups : {} + + # Log Groups + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + display_name = each.value.display_name + + #Optional + defined_tags = each.value.defined_tags + description = each.value.description + freeform_tags = each.value.freeform_tags +} + +/* +output "log_group_map" { + value = [ for k,v in merge(module.loadbalancer-log-groups.*...) : v.log_group_tf_id ] +} +*/ + +module "loadbalancer-logs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log?ref=v2024.4.0" + for_each = (var.loadbalancer_logs != null || var.loadbalancer_logs != {}) ? var.loadbalancer_logs : {} + + # Logs + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + log_group_id = length(regexall("ocid1.loggroup.oc*", each.value.log_group_id)) > 0 ? each.value.log_group_id : merge(module.loadbalancer-log-groups.*...)[each.value.log_group_id]["log_group_tf_id"] + + log_type = each.value.log_type + #Required + source_category = each.value.category + source_resource = length(regexall("ocid1.*", each.value.resource)) > 0 ? each.value.resource : merge(module.load-balancers.*...)[each.value.resource]["load_balancer_tf_id"] + source_service = each.value.service + source_type = each.value.source_type + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + log_is_enabled = (each.value.is_enabled == "" || each.value.is_enabled == null) ? true : each.value.is_enabled + log_retention_duration = (each.value.retention_duration == "" || each.value.retention_duration == null) ? 30 : each.value.retention_duration + +} + +/* +output "logs_id" { + value = [ for k,v in merge(module.loadbalancer-logs.*...) : v.log_tf_id] +} +*/ + +// Copyright (c) 2021, 2022, Oracle and/or its affiliates. + +############################################ +# Module Block - Reserved IPs for LBaaS +# Create Reserved IPs for LBaaS +# Allowed Values: +# Lifetime Values can be one of EPHEMERAL or RESERVED +############################################ + +module "lbr-reserved-ips" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/ip/reserved-public-ip?ref=v2024.4.0" + for_each = var.lbr_reserved_ips != null && var.lbr_reserved_ips != {} ? var.lbr_reserved_ips : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + lifetime = each.value.lifetime + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + private_ip_id = each.value.private_ip_id + #private_ip_id = each.value.private_ip_id != null ? (length(regexall("ocid1.privateip.oc*", each.value.private_ip_id)) > 0 ? each.value.private_ip_id : (length(regexall("\\.", each.value.private_ip_id)) == 3 ? local.private_ip_id[0][each.value.private_ip_id] : merge(module.private-ips.*...)[each.value.private_ip_id].private_ip_tf_id)) : null + #public_ip_pool_id = each.value.public_ip_pool_id != null ? (length(regexall("ocid1.publicippool.oc*", each.value.public_ip_pool_id)) > 0 ? each.value.public_ip_pool_id : merge(module.public-ip-pools.*...)[each.value.public_ip_pool_id].public_ip_pool_tf_id) : null +} + +/* +resource "oci_load_balancer_load_balancer_routing_policy" "load_balancer_routing_policy" { + + #Required + condition_language_version = "V1" + load_balancer_id = "ocid1.loadbalancer.oc1.uk-london-1.aaaaaaaa26pp3ygxyycgrmi2f3wuwmgntltotctwvmi4kr6bcbvwo7t5j2va" + name = "RP01" + rules { + #Required + actions { + #Required + name = "FORWARD_TO_BACKENDSET" + + #Optional + backend_set_name = "bset01" + } + condition = "all(http.request.url.path eq (i 'test'), http.request.url.query[(i 'key01')] eq (i 'value01'), all(http.request.url.path eq (i 'testonly')))" + name = "rule01" + } + + rules { + actions { + backend_set_name = "bset01" + name = "FORWARD_TO_BACKENDSET" + } + condition = "any(http.request.url.path eq (i 'gh'))" + name = "rule02" + } +}*/ \ No newline at end of file diff --git a/examples/loadbalancer/networkloadbalancer.tf b/examples/loadbalancer/networkloadbalancer.tf new file mode 100644 index 0000000..2af5dcb --- /dev/null +++ b/examples/loadbalancer/networkloadbalancer.tf @@ -0,0 +1,125 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +####################################### +# Module Block - Network Load Balancer +# Create Network Load Balancer +####################################### + +data "oci_core_subnets" "oci_subnets_nlb" { + # depends_on = [module.subnets] # Uncomment to create Network and NLBs together + for_each = var.network_load_balancers != null ? var.network_load_balancers : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_nlb[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vcns" "oci_vcns_nlb" { + # depends_on = [module.vcns] # Uncomment to create Network and NLBs together + for_each = var.network_load_balancers != null ? var.network_load_balancers : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "network-load-balancers" { + # depends_on = [module.nsgs] # Uncomment to create NSG and NLBs together + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/networkloadbalancer/nlb?ref=v2024.4.0" + for_each = var.network_load_balancers != null ? var.network_load_balancers : {} + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + subnet_id = each.value.subnet_id != "" ? (length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_subnets_nlb[each.key].subnets.*.id[0]) : null + is_preserve_source_destination = each.value.is_preserve_source_destination + is_symmetric_hash_enabled = each.value.is_symmetric_hash_enabled + is_private = each.value.is_private + network_security_group_ids = each.value.nsg_ids + nlb_ip_version = each.value.nlb_ip_version + assigned_private_ipv4 = each.value.assigned_private_ipv4 + vcn_name = each.value.vcn_name + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + reserved_ips_id = each.value.reserved_ips_id != "" && lower(each.value.reserved_ips_id) != "n" ? (length(regexall("ocid1.publicip.oc*", each.value.reserved_ips_id)) > 0 ? [each.value.reserved_ips_id] : [merge(module.nlb-reserved-ips.*...)[join("-", [each.key, "reserved", "ip"])].reserved_ip_tf_id]) : [] +} + +module "nlb-listeners" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/networkloadbalancer/nlb-listener?ref=v2024.4.0" + for_each = var.nlb_listeners != null ? var.nlb_listeners : {} + name = each.value.name + default_backend_set_name = merge(module.nlb-backend-sets.*...)[each.value.default_backend_set_name].nlb_backend_set_tf_name + network_load_balancer_id = length(regexall("ocid1.networkloadbalancer.oc*", each.value.network_load_balancer_id)) > 0 ? each.value.network_load_balancer_id : merge(module.network-load-balancers.*...)[each.value.network_load_balancer_id]["network_load_balancer_tf_id"] + port = each.value.port + protocol = each.value.protocol + ip_version = each.value.ip_version +} + +module "nlb-backend-sets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/networkloadbalancer/nlb-backendset?ref=v2024.4.0" + for_each = var.nlb_backend_sets != null ? var.nlb_backend_sets : {} + name = each.value.name + network_load_balancer_id = length(regexall("ocid1.networkloadbalancer.oc*", each.value.network_load_balancer_id)) > 0 ? each.value.network_load_balancer_id : merge(module.network-load-balancers.*...)[each.value.network_load_balancer_id]["network_load_balancer_tf_id"] + policy = each.value.policy + ip_version = each.value.ip_version + is_preserve_source = each.value.is_preserve_source + #healthcheck parameters + domain_name = each.value.domain_name + query_class = each.value.query_class + query_type = each.value.query_type + rcodes = each.value.rcodes + transport_protocol = each.value.transport_protocol + + protocol = each.value.protocol + interval_in_millis = each.value.interval_in_millis + port = each.value.port + request_data = each.value.request_data + response_body_regex = each.value.response_body_regex + response_data = each.value.response_data + retries = each.value.retries + return_code = each.value.return_code + timeout_in_millis = each.value.timeout_in_millis + url_path = each.value.url_path +} + +module "nlb-backends" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/networkloadbalancer/nlb-backend?ref=v2024.4.0" + # depends_on = [module.instances] # Uncomment to create Network and NLBs together + for_each = var.nlb_backends != null ? var.nlb_backends : {} + backend_set_name = merge(module.nlb-backend-sets.*...)[each.value.backend_set_name]["nlb_backend_set_tf_name"] + network_load_balancer_id = length(regexall("ocid1.loadbalancer.oc*", each.value.network_load_balancer_id)) > 0 ? each.value.network_load_balancer_id : merge(module.network-load-balancers.*...)[each.value.network_load_balancer_id]["network_load_balancer_tf_id"] + port = each.value.port + ip_address = each.value.ip_address + instance_compartment = each.value.instance_compartment != "" ? (length(regexall("ocid1.compartment.oc*", each.value.instance_compartment)) > 0 ? each.value.instance_compartment : var.compartment_ocids[each.value.instance_compartment]) : var.tenancy_ocid + #ip_address = each.value.ip_address != "" ? (length(regexall("IP:", each.value.ip_address)) > 0 ? split("IP:", each.value.ip_address)[1] : data.oci_core_instance.nlb_instance_ip[each.key].private_ip) : (length(regexall("NAME:", each.value.ip_address)) > 0 ? split("NAME:", each.value.ip_address)[1] : data.oci_core_instance.nlb_instance[each.key].private_ip) : null + + + is_drain = each.value.is_drain != "" ? each.value.is_drain : "false" + is_backup = each.value.is_backup != "" ? each.value.is_backup : "false" + is_offline = each.value.is_offline != "" ? each.value.is_offline : "false" + weight = each.value.weight != "" ? each.value.weight : "1" + + name = each.value.ip_address + target_id = each.value.ip_address + +} + +############################################ +# Module Block - Reserved IPs for NLBs +# Create Reserved IPs for NLBs +# Allowed Values: +# Lifetime Values can be one of EPHEMERAL or RESERVED +############################################ + +module "nlb-reserved-ips" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/ip/reserved-public-ip?ref=v2024.4.0" + for_each = var.nlb_reserved_ips != null && var.nlb_reserved_ips != {} ? var.nlb_reserved_ips : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + lifetime = each.value.lifetime + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + #private_ip_id = each.value.private_ip_id != "" ? (length(regexall("ocid1.privateip.oc*", each.value.private_ip_id)) > 0 ? each.value.private_ip_id : (length(regexall("\\.", each.value.private_ip_id)) == 3 ? local.private_ip_id[0][each.value.private_ip_id] : merge(module.private-ips.*...)[each.value.private_ip_id].private_ip_tf_id)) : null + #public_ip_pool_id = each.value.public_ip_pool_id != "" ? (length(regexall("ocid1.publicippool.oc*", each.value.public_ip_pool_id)) > 0 ? each.value.public_ip_pool_id : merge(module.public-ip-pools.*...)[each.value.public_ip_pool_id].public_ip_pool_tf_id) : null +} \ No newline at end of file diff --git a/examples/loadbalancer/oci-data.tf b/examples/loadbalancer/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/loadbalancer/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/loadbalancer/provider.tf b/examples/loadbalancer/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/loadbalancer/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/loadbalancer/sample_lb-backendset-backendserver.auto.tfvars b/examples/loadbalancer/sample_lb-backendset-backendserver.auto.tfvars new file mode 100644 index 0000000..b2faa59 --- /dev/null +++ b/examples/loadbalancer/sample_lb-backendset-backendserver.auto.tfvars @@ -0,0 +1,69 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Network +# Backend Sets - tfvars +# Allowed Values: +# load_balancer_id can be ocid or the key of load_balancers (map) +# protocols in ssl configuration defaults to "TLSv1","TLSv1.1","TLSv1.2" +# Sample import command for Backend Sets: +# terraform import "module.backend-sets[\"<>\"].oci_load_balancer_backend_set.backend_set" loadBalancers/<>/backendSets/<> +############################# +backend_sets = { + lb-1_bs2 = { + name = "bs2" + load_balancer_id = "lb-1" + policy = "ROUND_ROBIN" + protocol = "TCP" + interval_ms = "10000" + port = "0" + }, + lb-1_bs1 = { + name = "bs1" + load_balancer_id = "lb-1" + policy = "ROUND_ROBIN" + protocol = "HTTP" + interval_ms = "10000" + port = "80" + url_path = "/" + }, +##Add New Backend Sets for phoenix here## +} + +############################# +# Network +# Backends - tfvars +# Allowed Values: +# backendset_name must be the key of backend_sets (map) +# load_balancer_id can be ocid or the key of load_balancers (map) +# Sample import command for Backend Sets: +# terraform import "module.backends[\"<>\"].oci_load_balancer_backend.backend" loadBalancers/<>/backendSets/<>/backends/<>:<> +############################# +backends = { + lb-1_bs2_c172-16-0-37-1 = { + backendset_name = "lb-1_bs2" + load_balancer_id = "lb-1" + instance_compartment = "Network" + ip_address = "IP:172.16.0.37" # Format --> "IP:" or "NAME:" + port = "80" + backup = "false" + }, + lb-1_bs2_c10-1-1-0-2 = { + backendset_name = "lb-1_bs2" + load_balancer_id = "lb-1" + instance_compartment = "Network" + ip_address = "IP:10.1.1.0" # Format --> "IP:" or "NAME:" + port = "80" + backup = "false" + }, + lb-1_bs1_c10-110-1-54-1 = { + backendset_name = "lb-1_bs1" + load_balancer_id = "lb-1" + instance_compartment = "Network" + ip_address = "IP:10.110.1.54" # Format --> "IP:" or "NAME:" + port = "80" + backup = "false" + }, +##Add New Backends for phoenix here## +} \ No newline at end of file diff --git a/examples/loadbalancer/sample_lb-hostname-certs.auto.tfvars b/examples/loadbalancer/sample_lb-hostname-certs.auto.tfvars new file mode 100644 index 0000000..468d1dc --- /dev/null +++ b/examples/loadbalancer/sample_lb-hostname-certs.auto.tfvars @@ -0,0 +1,38 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Network +# Load Balancers - tfvars +# Allowed values: +# vcn_name and subnet_names must be the names of the VCN and Subnets as per OCI respectively +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# ip_mode can be one of IPV4 or IPV6 +# shape can be one of 100Mbps|10Mbps|10Mbps-Micro|400Mbps|8000Mbps|flexible +# reserved_ips_id accepts OCID (to use the existing reserved IP) or 'Y' to create a new Reserved IP or 'N' for Ephemeral IP; Defaults to "". +# Sample import command for Load Balancers: +# terraform import "module.load-balancers[\"<>\"].oci_load_balancer_load_balancer.load_balancer" <> +############################# +load_balancers = { + lb-1 = { + display_name = "lb-1" + compartment_id = "Network" + shape = "flexible" + shape_details = [{ + #Required + maximum_bandwidth_in_mbps = 10 + minimum_bandwidth_in_mbps = 10 + }] + network_compartment_id = "Network" + vcn_name = "prod-vcn" + subnet_ids = ["prod-web"] + is_private = true + reserved_ips_id = "N" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-07-24T10:52:20.872Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/suruchi.singla@oracle.com" + } + }, +##Add New Load Balancers for phoenix here## +} \ No newline at end of file diff --git a/examples/loadbalancer/sample_lb-listener.auto.tfvars b/examples/loadbalancer/sample_lb-listener.auto.tfvars new file mode 100644 index 0000000..0909619 --- /dev/null +++ b/examples/loadbalancer/sample_lb-listener.auto.tfvars @@ -0,0 +1,29 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Network +# Listeners - tfvars +# Allowed Values: +# HTTPS listener must have the protocol specified as HTTP +# protocols in ssl configuration defaults to "TLSv1.2" +# load_balancer_id can be the ocid or the key of load_balancers (map) +# default_backend_set_name,hostname_names,path_route_set_name,rule_set_names,cipher_suite_name,certificate_name must be the key of the respective maps +# Sample import command for Listeners: +# terraform import "module.listeners[\"<>\"].oci_load_balancer_listener.listener" loadBalancers/<>/listeners/<> +############################# +listeners = { + lb-1_listener_1 = { + name = "listener_1" + load_balancer_id = "lb-1" + port = "80" + protocol = "HTTP" + default_backend_set_name = "lb-1_bs2" + connection_configuration = [{ + idle_timeout_in_seconds = "60" + }] + hostname_names = [] + rule_set_names = [] + }, +##Add New Listeners for phoenix here## +} \ No newline at end of file diff --git a/examples/loadbalancer/sample_lb-routingpolicy.auto.tfvars b/examples/loadbalancer/sample_lb-routingpolicy.auto.tfvars new file mode 100644 index 0000000..a40fae1 --- /dev/null +++ b/examples/loadbalancer/sample_lb-routingpolicy.auto.tfvars @@ -0,0 +1,24 @@ +// Copyright (c) 2024, 2025, Oracle and/or its affiliates. +############################# +# Network +# Routing Policy - tfvars +# Allowed Values: +# load_balancer_id can be the ocid or the key of load_balancers (map) +# Sample import command for Routing Policy: +# terraform import "module.routing-policy\"<>\"].oci_load_balancer_load_balancer_routing_policy.load_balancer_routing_policy" <> +############################# +lb_routing_policies = { + lb-1_policy2 = { + condition_language_version = "V1" + load_balancer_id = "lb-1" + name = "policy2" + rules = [ + { + condition = "all(http.request.url.path eq (i 'pol2hello'))" + name = "rule_1" + backend_set_name = "bs2" + } + ] + }, +##Add New Routing Policy for phoenix here## +} \ No newline at end of file diff --git a/examples/loadbalancer/sample_nlb-backendsets-backendservers.auto.tfvars b/examples/loadbalancer/sample_nlb-backendsets-backendservers.auto.tfvars new file mode 100644 index 0000000..d928948 --- /dev/null +++ b/examples/loadbalancer/sample_nlb-backendsets-backendservers.auto.tfvars @@ -0,0 +1,45 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Network +# Network Load Balancers Backend Sets - tfvars +# Allowed Values: +# network_load_balancer_id can be ocid or the key of network_load_balancers (map) +# Sample import command for Network Load Balancer Backendset: +# terraform import "module.nlb-backend-sets[\"<>\"].oci_network_load_balancer_backend_set.backend_set" networkLoadBalancers/<>/backendSets/<> +############################# +nlb_backend_sets = { + nlb-1_backendset_1 = { + name = "backendset_1" + network_load_balancer_id = "nlb-1" + policy = "FIVE_TUPLE" + is_preserve_source = true + protocol = "HTTP" + interval_in_millis = "10000" + port = "0" + return_code = 200 + url_path = "/" + }, +##Add New Backend Sets for phoenix here## +} + +############################# +# Network +# Network Load Balancer Backends - tfvars +# Allowed Values: +# backend_set_name must be the key of backend_set_name (map) +# network_load_balancer_id can be ocid or the key of network_load_balancers (map) +# Sample import command for Network Load Balancer Backend: +# terraform import "module.nlb-backends[\"<>\"].oci_network_load_balancer_backend.backend" networkLoadBalancers/<>/backendSets/<>/backends/<> +############################# +nlb_backends = { + nlb-1_backendset_1_workvm-1 = { + backend_set_name = "nlb-1_backendset_1" + network_load_balancer_id = "nlb-1" + instance_compartment = "AppDev" + ip_address = "NAME:workvm" # Format --> "IP:" or "NAME:" + port = "8443" + }, +##Add New Backends for phoenix here## +} \ No newline at end of file diff --git a/examples/loadbalancer/sample_nlb-listeners.auto.tfvars b/examples/loadbalancer/sample_nlb-listeners.auto.tfvars new file mode 100644 index 0000000..172cb09 --- /dev/null +++ b/examples/loadbalancer/sample_nlb-listeners.auto.tfvars @@ -0,0 +1,56 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Network +# Network Load Balancers - tfvars +# Allowed values: +# vcn_name and subnet_names must be the names of the VCN and Subnets as per OCI respectively +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# ip_mode can be one of IPV4 or IPV6 +# reserved_ips_id accepts OCID (to use the existing reserved IP) or 'Y' to create a new Reserved IP or 'N' for Ephemeral IP; Defaults to "". +# Sample import command for Network LoadBalancers: +# terraform import "module.network-load-balancers[\"<>\"].oci_network_load_balancer_network_load_balancer.network_load_balancer" <> +############################# +network_load_balancers = { + nlb-1 = { + display_name = "nlb-1" + compartment_id = "Network" + network_compartment_id = "Network" + vcn_name = "nonprod-vcn" + subnet_id = "subnet-2" + is_private = true + reserved_ips_id = "N" + is_preserve_source_destination = false + assigned_private_ipv4 = "10.111.1.89" + defined_tags = { + "Oracle-Tags.CreatedOn"= "2024-09-03T10:29:18.327Z" , + "Oracle-Tags.CreatedBy"= "oracleidentitycloudservice/suruchi.singla@oracle.com" + } + freeform_tags = {} + }, +##Add New Network Load Balancers for phoenix here## +} +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Network +# Listeners - tfvars +# Allowed Values: +# Protocols - +# network_load_balancer_id can be the ocid or the key of load_balancers (map) +# Sample import command for Network Load Balancer Listener: +# terraform import "module.nlb-listeners[\"<>\"].oci_network_load_balancer_listener.listener" networkLoadBalancers/<>/listeners/<> +############################# +nlb_listeners = { + nlb-1_listener-1 = { + name = "listener-1" + network_load_balancer_id = "nlb-1" + port = "8443" + protocol = "TCP" + default_backend_set_name = "nlb-1_backendset_1" + }, +##Add New Listeners for phoenix here## +} \ No newline at end of file diff --git a/examples/loadbalancer/variables_phoenix.tf b/examples/loadbalancer/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/loadbalancer/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/managementservices/backend.tf b/examples/managementservices/backend.tf new file mode 100644 index 0000000..5564b32 --- /dev/null +++ b/examples/managementservices/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/managementservices/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/managementservices/managementservices.tf b/examples/managementservices/managementservices.tf new file mode 100644 index 0000000..2147ec1 --- /dev/null +++ b/examples/managementservices/managementservices.tf @@ -0,0 +1,141 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - ManagementServices +# Create Alarms +############################ + +module "alarms" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/alarm?ref=v2024.4.0" + + depends_on = [module.notifications-topics] + for_each = var.alarms != null ? var.alarms : {} + + alarm_name = each.value.alarm_name + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + destinations = [for tn in each.value.destinations : (length(regexall("ocid1.onstopic.oc*", tn)) > 0 ? tn : merge(module.notifications-topics.*...)[tn]["topic_tf_id"])] + is_enabled = each.value.is_enabled + metric_compartment_id = each.value.metric_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.metric_compartment_id)) > 0 ? each.value.metric_compartment_id : var.compartment_ocids[each.value.metric_compartment_id]) : null + namespace = each.value.namespace + query = each.value.query + severity = each.value.severity + body = each.value.body + message_format = each.value.message_format + trigger_delay_minutes = each.value.trigger_delay_minutes + repeat_notification_duration = each.value.repeat_notification_duration + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +/* +output "alarms_id" { + value = [ for k,v in merge(module.alarms.*...) : v.alarm_tf_id] +} +*/ + +############################ +# Module Block - ManagementServices +# Create Events +############################ + +module "events" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/event?ref=v2024.4.0" + depends_on = [module.notifications-topics] + for_each = var.events != null ? var.events : {} + + event_name = each.value.event_name + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + is_enabled = each.value.is_enabled + description = each.value.description + condition = each.value.condition + actions = var.events + key_name = each.key + topic_name = merge(module.notifications-topics.*...) + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +/* +output "events_id" { + value = [ for k,v in merge(module.events.*...) : v.event_tf_id] +} +*/ + +############################ +# Module Block - ManagementServices +# Create Notifications +############################ + +module "notifications-topics" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/notification-topic?ref=v2024.4.0" + for_each = var.notifications_topics != null ? var.notifications_topics : {} + + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + description = each.value.description + topic_name = each.value.topic_name + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +module "notifications-subscriptions" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/notification-subscription?ref=v2024.4.0" + for_each = var.notifications_subscriptions != null ? var.notifications_subscriptions : {} + + depends_on = [module.notifications-topics] + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + endpoint = each.value.endpoint + protocol = each.value.protocol + topic_id = length(regexall("ocid1.onstopic.oc*", each.value.topic_id)) > 0 ? each.value.topic_id : merge(module.notifications-topics.*...)[each.value.topic_id]["topic_tf_id"] + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +/* +output "notifications-topics" { + value = [ for k,v in merge(module.notifications-topics.*...) : v.topic_tf_id ] +} +*/ + +#################################### +## Module Block - Service Connector +## Create Service Connectors +#################################### + +module "service-connectors" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/service-connector?ref=v2024.4.0" + + for_each = var.service_connectors + + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + logs_compartment_id = var.tenancy_ocid + source_monitoring_details = each.value.source_details.source_kind == "monitoring" ? { for k, v in each.value.source_details.source_monitoring_details : lookup(var.compartment_ocids, k, "not_found") => v } : {} + target_monitoring_details = each.value.target_details.target_kind == "monitoring" ? { for k, v in each.value.target_details.target_monitoring_details : lookup(var.compartment_ocids, k, "not_found") => v } : {} + log_group_names = each.value.source_details.source_kind == "logging" ? flatten([for key in each.value.source_details.source_log_group_names : join("&", tolist([lookup(var.compartment_ocids, split("&", key)[0], "null"), split("&", key)[1], split("&", key)[2]]))]) : [] + display_name = each.value.display_name + description = each.value.description + source_kind = each.value.source_details.source_kind + target_kind = each.value.target_details.target_kind + + stream_id = each.value.target_details.target_kind == "streaming" ? { for k, v in each.value.target_details.target_stream_name : lookup(var.compartment_ocids, k, "null") => v } : {} + source_stream_id = each.value.source_details.source_kind == "streaming" ? { for k, v in each.value.source_details.source_stream_name : lookup(var.compartment_ocids, k, "null") => v } : {} + bucket_name = each.value.target_details.target_kind == "objectStorage" ? each.value.target_details.target_bucket_name : "" + object_name_prefix = each.value.target_details.target_kind == "objectStorage" ? each.value.target_details.target_object_name_prefix : "" + + topic_id = each.value.target_details.target_kind == "notifications" ? { for k, v in each.value.target_details.target_topic_name : lookup(var.compartment_ocids, k, "null") => v } : {} + enable_formatted_messaging = each.value.target_details.target_kind == "notifications" ? each.value.target_details.enable_formatted_messaging : false + destination_log_group_id = each.value.target_details.target_kind == "loggingAnalytics" ? { for k, v in each.value.target_details.target_log_group_name : lookup(var.compartment_ocids, k, "null") => v } : {} + target_log_source_identifier = each.value.source_details.source_kind == "streaming" && each.value.target_details.target_kind == "loggingAnalytics" ? each.value.target_details.target_log_source_identifier : "" + + function_details = each.value.target_details.target_kind == "functions" ? flatten([for key in each.value.target_details.target_function_details : join("@", tolist([lookup(var.compartment_ocids, split("@", key)[0], "null"), split("@", key)[1], split("@", key)[2]]))]) : [] + #Optional + defined_tags = try(each.value["defined_tags"], {}) + freeform_tags = try(each.value["freeform_tags"], {}) +} \ No newline at end of file diff --git a/examples/managementservices/oci-data.tf b/examples/managementservices/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/managementservices/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/managementservices/provider.tf b/examples/managementservices/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/managementservices/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/managementservices/sample_alarms.auto.tfvars b/examples/managementservices/sample_alarms.auto.tfvars new file mode 100644 index 0000000..ce3b81a --- /dev/null +++ b/examples/managementservices/sample_alarms.auto.tfvars @@ -0,0 +1,129 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# ManagementServices +# Alarms - tfvars +# Allowed Values: +# compartment_id and metric_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +############################ +alarms = { + Network_vpn-status-alarm = { + #Required + compartment_id = "Network" + destinations = ["NetworkTopic"] + alarm_name = "vpn-status-alarm" + is_enabled = true + metric_compartment_id = "Network" + namespace = "oci_vpn" + query = "TunnelState[1m].mean() == 0" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + Network_fast-connect-status-alarm = { + #Required + compartment_id = "Network" + destinations = ["NetworkTopic"] + alarm_name = "fast-connect-status-alarm" + is_enabled = true + metric_compartment_id = "Network" + namespace = "oci_fastconnect" + query = "ConnectionState[1m].mean() == 0" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + AppDev_bare-metal-unhealthy-alarm = { + #Required + compartment_id = "AppDev" + destinations = ["ComputeTopic"] + alarm_name = "bare-metal-unhealthy-alarm" + is_enabled = true + metric_compartment_id = "AppDev" + namespace = "oci_compute_infrastructure_health" + query = "health_status[1m].count() == 1" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + AppDev_instance-status-alarm = { + #Required + compartment_id = "AppDev" + destinations = ["ComputeTopic"] + alarm_name = "instance-status-alarm" + is_enabled = true + metric_compartment_id = "AppDev" + namespace = "oci_compute_infrastructure_health" + query = "instance_status[1m].count() == 1" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + AppDev_high-cpu-alarm = { + #Required + compartment_id = "AppDev" + destinations = ["ComputeTopic"] + alarm_name = "high-cpu-alarm" + is_enabled = true + metric_compartment_id = "AppDev" + namespace = "oci_computeagent" + query = "CpuUtilization[1m].mean() > 80" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + AppDev_high-memory-alarm = { + #Required + compartment_id = "AppDev" + destinations = ["ComputeTopic"] + alarm_name = "high-memory-alarm" + is_enabled = true + metric_compartment_id = "AppDev" + namespace = "oci_computeagent" + query = "MemoryUtilization[1m].mean() > 80" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + AppDev_vm-maintenance-alarm = { + #Required + compartment_id = "AppDev" + destinations = ["ComputeTopic"] + alarm_name = "vm-maintenance-alarm" + is_enabled = true + metric_compartment_id = "AppDev" + namespace = "oci_compute_infrastructure_health" + query = "maintenance_status[1m].count() == 1" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + Database_adb-storage-alarm = { + #Required + compartment_id = "Database" + destinations = ["DatabaseTopic"] + alarm_name = "adb-storage-alarm" + is_enabled = true + metric_compartment_id = "Database" + namespace = "oci_autonomous_database" + query = "StorageUtilization[1m].mean() > 80" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + Database_adb-cpu-alarm = { + #Required + compartment_id = "Database" + destinations = ["DatabaseTopic"] + alarm_name = "adb-cpu-alarm" + is_enabled = true + metric_compartment_id = "Database" + namespace = "oci_autonomous_database" + query = "CpuUtilization[1m].mean() > 80" + severity = "CRITICAL" + message_format = "PRETTY_JSON" + trigger_delay_minutes = "PT5M" + }, + } \ No newline at end of file diff --git a/examples/managementservices/sample_events.auto.tfvars b/examples/managementservices/sample_events.auto.tfvars new file mode 100644 index 0000000..18293c2 --- /dev/null +++ b/examples/managementservices/sample_events.auto.tfvars @@ -0,0 +1,117 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# ManagementServices +# Events - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +############################ +events = { + notify-on-iam-changes-rule = { + compartment_id = "root" + event_name = "notify-on-iam-changes-rule" + is_enabled = true + description = "events rule to detect when IAM resources are created, updated or deleted." + condition = "{\"eventType\":[\"com.oraclecloud.identitycontrolplane.createidentityprovider\",\"com.oraclecloud.identitycontrolplane.deleteidentityprovider\",\"com.oraclecloud.identitycontrolplane.updateidentityprovider\",\"com.oraclecloud.identitycontrolplane.createidpgroupmapping\",\"com.oraclecloud.identitycontrolplane.deleteidpgroupmapping\",\"com.oraclecloud.identitycontrolplane.updateidpgroupmapping\",\"com.oraclecloud.identitycontrolplane.addusertogroup\",\"com.oraclecloud.identitycontrolplane.creategroup\",\"com.oraclecloud.identitycontrolplane.deletegroup\",\"com.oraclecloud.identitycontrolplane.removeuserfromgroup\",\"com.oraclecloud.identitycontrolplane.updategroup\",\"com.oraclecloud.identitycontrolplane.createpolicy\",\"com.oraclecloud.identitycontrolplane.deletepolicy\",\"com.oraclecloud.identitycontrolplane.updatepolicy\",\"com.oraclecloud.identitycontrolplane.createuser\",\"com.oraclecloud.identitycontrolplane.deleteuser\",\"com.oraclecloud.identitycontrolplane.updateuser\",\"com.oraclecloud.identitycontrolplane.updateusercapabilities\",\"com.oraclecloud.identitycontrolplane.updateuserstate\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "SecurityTopic" + description = "Sends notification via ONS" + }, + ] + }, + notify-on-network-changes-rule = { + compartment_id = "root" + event_name = "notify-on-network-changes-rule" + is_enabled = true + description = "events rule to detect when networking resources are created, updated or deleted." + condition = "{\"eventType\":[\"com.oraclecloud.virtualnetwork.createvcn\",\"com.oraclecloud.virtualnetwork.deletevcn\",\"com.oraclecloud.virtualnetwork.updatevcn\",\"com.oraclecloud.virtualnetwork.createroutetable\",\"com.oraclecloud.virtualnetwork.deleteroutetable\",\"com.oraclecloud.virtualnetwork.updateroutetable\",\"com.oraclecloud.virtualnetwork.changeroutetablecompartment\",\"com.oraclecloud.virtualnetwork.createsecuritylist\",\"com.oraclecloud.virtualnetwork.deletesecuritylist\",\"com.oraclecloud.virtualnetwork.updatesecuritylist\",\"com.oraclecloud.virtualnetwork.changesecuritylistcompartment\",\"com.oraclecloud.virtualnetwork.createnetworksecuritygroup\",\"com.oraclecloud.virtualnetwork.deletenetworksecuritygroup\",\"com.oraclecloud.virtualnetwork.updatenetworksecuritygroup\",\"com.oraclecloud.virtualnetwork.updatenetworksecuritygroupsecurityrules\",\"com.oraclecloud.virtualnetwork.changenetworksecuritygroupcompartment\",\"com.oraclecloud.virtualnetwork.createdrg\",\"com.oraclecloud.virtualnetwork.deletedrg\",\"com.oraclecloud.virtualnetwork.updatedrg\",\"com.oraclecloud.virtualnetwork.createdrgattachment\",\"com.oraclecloud.virtualnetwork.deletedrgattachment\",\"com.oraclecloud.virtualnetwork.updatedrgattachment\",\"com.oraclecloud.virtualnetwork.createinternetgateway\",\"com.oraclecloud.virtualnetwork.deleteinternetgateway\",\"com.oraclecloud.virtualnetwork.updateinternetgateway\",\"com.oraclecloud.virtualnetwork.changeinternetgatewaycompartment\",\"com.oraclecloud.virtualnetwork.createlocalpeeringgateway\",\"com.oraclecloud.virtualnetwork.deletelocalpeeringgateway.end\",\"com.oraclecloud.virtualnetwork.updatelocalpeeringgateway\",\"com.oraclecloud.virtualnetwork.changelocalpeeringgatewaycompartment\",\"com.oraclecloud.natgateway.createnatgateway\",\"com.oraclecloud.natgateway.deletenatgateway\",\"com.oraclecloud.natgateway.updatenatgateway\",\"com.oraclecloud.natgateway.changenatgatewaycompartment\",\"com.oraclecloud.servicegateway.createservicegateway\",\"com.oraclecloud.servicegateway.deleteservicegateway.end\",\"com.oraclecloud.servicegateway.attachserviceid\",\"com.oraclecloud.servicegateway.detachserviceid\",\"com.oraclecloud.servicegateway.updateservicegateway\",\"com.oraclecloud.servicegateway.changeservicegatewaycompartment\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "NetworkTopic" + description = "Sends notification via ONS" + }, + ] + }, + notify-on-budget-changes-rule = { + compartment_id = "root" + event_name = "notify-on-budget-changes-rule" + is_enabled = true + description = "events rule to detect when cost resources such as budgets and financial tracking constructs are created, updated or deleted." + condition = "{\"eventType\":[\"com.oraclecloud.budgets.updatealertrule\",\"com.oraclecloud.budgets.deletealertrule\",\"com.oraclecloud.budgets.updatebudget\",\"com.oraclecloud.budgets.deletebudget\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "BudgetTopic" + description = "Sends notification via ONS" + }, + ] + }, + notify-on-compute-changes-rule = { + compartment_id = "AppDev" + event_name = "notify-on-compute-changes-rule" + is_enabled = true + description = "events rule to detect when compute related resources are created, updated or deleted." + condition = "{\"eventType\":[\"com.oraclecloud.computeapi.terminateinstance.begin\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "ComputeTopic" + description = "Sends notification via ONS" + }, + ] + }, + notify-on-storage-changes-rule = { + compartment_id = "AppDev" + event_name = "notify-on-storage-changes-rule" + is_enabled = true + description = "events rule to detect when storage resources are created, updated or deleted." + condition = "{\"eventType\":[\"com.oraclecloud.objectstorage.createbucket\",\"com.oraclecloud.objectstorage.deletebucket\",\"com.oraclecloud.blockvolumes.deletevolume.begin\",\"com.oraclecloud.filestorage.deletefilesystem\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "StorageTopic" + description = "Sends notification via ONS" + }, + ] + }, + notify-on-database-changes-rule = { + compartment_id = "Database" + event_name = "notify-on-database-changes-rule" + is_enabled = true + description = "events rule to detect when database resources are created, updated or deleted in the database compartment." + condition = "{\"eventType\":[\"com.oraclecloud.databaseservice.exadatainfrastructure.critical\",\"com.oraclecloud.databaseservice.autonomous.cloudautonomousvmcluster.critical\",\"com.oraclecloud.databaseservice.autonomous.database.critical\",\"com.oraclecloud.databaseservice.dbsystem.critical\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "DatabaseTopic" + description = "Sends notification via ONS" + }, + ] + }, + notify-on-cloudguard-events-rule = { + compartment_id = "root" + event_name = "notify-on-cloudguard-events-rule" + is_enabled = true + description = "Landing Zone events rule to notify when Cloud Guard problems are Detected, Dismissed or Resolved." + condition = "{\"eventType\":[\"com.oraclecloud.cloudguard.problemdetected\",\"com.oraclecloud.cloudguard.problemdismissed\",\"com.oraclecloud.cloudguard.problemremediated\"],\"data\":{}}" + actions = [ + { + action_type = "ONS" + is_enabled = true + topic_id = "CloudGuardTopic" + description = "Sends notification via ONS" + }, + ] + }, + } \ No newline at end of file diff --git a/examples/managementservices/sample_notifications-subscriptions.auto.tfvars b/examples/managementservices/sample_notifications-subscriptions.auto.tfvars new file mode 100644 index 0000000..127c73d --- /dev/null +++ b/examples/managementservices/sample_notifications-subscriptions.auto.tfvars @@ -0,0 +1,63 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# ManagementServices +# Notifications_Subscriptions - tfvars +# Allowed Values: +# topic_id can be ocid or the key of notifications_topics (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +############################ +notifications_subscriptions = { + NetworkTopic_sub1 = { + subscription_name = "NetworkTopic_sub1" + compartment_id = "Network" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "NetworkTopic" + }, + SecurityTopic_sub1 = { + subscription_name = "SecurityTopic_sub1" + compartment_id = "Security" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "SecurityTopic" + }, + StorageTopic_sub1 = { + subscription_name = "StorageTopic_sub1" + compartment_id = "AppDev" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "StorageTopic" + }, + ComputeTopic_sub1 = { + subscription_name = "ComputeTopic_sub1" + compartment_id = "AppDev" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "ComputeTopic" + }, + DatabaseTopic_sub1 = { + subscription_name = "DatabaseTopic_sub1" + compartment_id = "Database" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "DatabaseTopic" + }, + BudgetTopic_sub1 = { + subscription_name = "BudgetTopic_sub1" + compartment_id = "root" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "BudgetTopic" + }, + CloudGuardTopic_sub1 = { + subscription_name = "CloudGuardTopic_sub1" + compartment_id = "Security" + endpoint = "abc@oracle.com" + protocol = "EMAIL" + topic_id = "CloudGuardTopic" + }, +##Add New Subscriptions for phoenix here## +} \ No newline at end of file diff --git a/examples/managementservices/sample_notifications-topics.auto.tfvars b/examples/managementservices/sample_notifications-topics.auto.tfvars new file mode 100644 index 0000000..2d57eed --- /dev/null +++ b/examples/managementservices/sample_notifications-topics.auto.tfvars @@ -0,0 +1,48 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# ManagementServices +# Notifications_Topics - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +############################ +notifications_topics = { + NetworkTopic = { + compartment_id = "Network" + description = "Topic for network related notifications." + topic_name = "NetworkTopic" + }, + SecurityTopic = { + compartment_id = "Security" + description = "Topic for security related notifications." + topic_name = "SecurityTopic" + }, + StorageTopic = { + compartment_id = "AppDev" + description = "Topic for storage performance related notifications." + topic_name = "StorageTopic" + }, + ComputeTopic = { + compartment_id = "AppDev" + description = "Topic for compute performance related notifications." + topic_name = "ComputeTopic" + }, + DatabaseTopic = { + compartment_id = "Database" + description = "Topic for database performance related notifications." + topic_name = "DatabaseTopic" + }, + BudgetTopic = { + compartment_id = "root" + description = "Topic for budget related notifications." + topic_name = "BudgetTopic" + }, + CloudGuardTopic = { + compartment_id = "Security" + description = "Topic for Cloud Guard related notifications." + topic_name = "CloudGuardTopic" + }, +##Add New Topics for phoenix here## +} \ No newline at end of file diff --git a/examples/managementservices/sample_serviceconnectors.auto.tfvars b/examples/managementservices/sample_serviceconnectors.auto.tfvars new file mode 100644 index 0000000..a30ce17 --- /dev/null +++ b/examples/managementservices/sample_serviceconnectors.auto.tfvars @@ -0,0 +1,124 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# ManagementServices +# Service Connector Hub - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +# Sample import command for service connectors: +# terraform import "module.service-connectors[\"<>\"].oci_sch_service_connector.service_connector" <> +############################ +service_connectors= { + # Service Connector Hub map # + SCH-01 = { + compartment_id = "Security" + display_name = "SCH-01" + description = "logging to stream" + source_details = { + source_kind = "logging" + source_log_group_names = ["AppDev&Audit&all"] + } + target_details = { + target_kind = "streaming" + target_stream_name = {"Security": "log-Stream"} + } + defined_tags = {} + freeform_tags = {} + }, + SCH-02 = { + compartment_id = "Security" + display_name = "SCH-02" + description = "logging to stream" + source_details = { + source_kind = "logging" + source_log_group_names = ["Network&Audit_In_Subcompartment&all"] + } + target_details = { + target_kind = "streaming" + target_stream_name = {"Security": "log-Stream"} + } + defined_tags = {} + freeform_tags = {} + }, + SCH-03 = { + compartment_id = "Security" + display_name = "SCH-03" + description = "logging to bucket" + source_details = { + source_kind = "logging" + source_log_group_names = ["Network&nonprod_vcn&nonprod-web"] + } + target_details = { + target_kind = "objectStorage" + target_bucket_name = "log-bucket" + target_object_name_prefix = "" + } + defined_tags = {} + freeform_tags = {} + }, + SCH-04 = { + compartment_id = "Security" + display_name = "SCH-04" + description = "logging to notification" + source_details = { + source_kind = "logging" + source_log_group_names = ["Network&prod_vcn&all"] + } + target_details = { + target_kind = "notifications" + target_topic_name = {"Security": "log-notify"} + enable_formatted_messaging = true + } + defined_tags = {} + freeform_tags = {} + }, + SCH-06 = { + compartment_id = "Security" + display_name = "SCH-06" + description = "logging to monitoring" + source_details = { + source_kind = "logging" + source_log_group_names = ["Network&network-vcn-logs&all"] + } + target_details = { + target_kind = "monitoring" + target_monitoring_details = {"Network":["CpuUtilization","computeagent"]} + } + defined_tags = {} + freeform_tags = {} + }, + SCH-05 = { + compartment_id = "Security" + display_name = "SCH-05" + description = "stream to loganalytics" + source_details = { + source_kind = "streaming" + source_stream_name = {"Security": "source-stream"} + } + target_details = { + target_kind = "loggingAnalytics" + target_log_group_name = {"Network": "target-log"} + target_log_source_identifier = "AVDF Alert in Oracle Database" + } + defined_tags = {} + freeform_tags = {} + }, + SCH-07 = { + compartment_id = "Security" + display_name = "SCH-07" + description = "stream to function" + source_details = { + source_kind = "streaming" + source_stream_name = {"Security": "source-stream"} + } + target_details = { + target_kind = "functions" + target_function_details = ["Security@subnet-events@test-func"] + } + defined_tags = {} + freeform_tags = {} + }, +##Add New SCH for phoenix here## +} \ No newline at end of file diff --git a/examples/managementservices/variables_phoenix.tf b/examples/managementservices/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/managementservices/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/network/backend.tf b/examples/network/backend.tf new file mode 100644 index 0000000..2e24af7 --- /dev/null +++ b/examples/network/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/network/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/network/network.tf b/examples/network/network.tf new file mode 100644 index 0000000..8883336 --- /dev/null +++ b/examples/network/network.tf @@ -0,0 +1,686 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +################################ +# Data Block - Network +# DRG Route Rules and DRG Route Distributions +################################ + +locals { + all_route_tables = merge(var.route_tables, var.default_route_tables) + all_seclists = merge(var.seclists, var.default_seclists) + gateway_rt_status = { for k, v in local.all_route_tables : k => (v.gateway_route_table == null ? false : v.gateway_route_table) } +} + + +data "oci_core_drg_route_tables" "drg_route_tables" { + for_each = (var.data_drg_route_tables != null || var.data_drg_route_tables != {}) ? var.data_drg_route_tables : {} + + #Required + drg_id = length(regexall("ocid1.drg.oc*", each.value.drg_id)) > 0 ? each.value.drg_id : merge(module.drgs.*...)[each.value.drg_id]["drg_tf_id"] + filter { + name = "display_name" + values = [each.value.values] + } + +} + + +data "oci_core_drg_route_distributions" "drg_route_distributions" { + for_each = (var.data_drg_route_table_distributions != null || var.data_drg_route_table_distributions != {}) ? var.data_drg_route_table_distributions : {} + + #Required + drg_id = length(regexall("ocid1.drg.oc*", each.value.drg_id)) > 0 ? each.value.drg_id : merge(module.drgs.*...)[each.value.drg_id]["drg_tf_id"] + filter { + name = "display_name" + values = [each.value.values] + } + +} + +############################ +# Module Block - Network +# Create VCNs +############################ + +module "vcns" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/vcn?ref=v2024.4.0" + for_each = var.vcns != null ? var.vcns : {} + + #Required + #compartment_id = length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : try(zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.compartment_id], var.compartment_ocids[each.value.compartment_id]) + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + #Optional + cidr_blocks = each.value.cidr_blocks + display_name = each.value.display_name + byoipv6cidr_details = each.value.byoipv6cidr_details != null ? each.value.byoipv6cidr_details : [] + dns_label = (each.value.dns_label == "n") ? null : each.value.dns_label + is_ipv6enabled = each.value.is_ipv6enabled # Defaults to false by terraform hashicorp + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + ipv6private_cidr_blocks = each.value.ipv6private_cidr_blocks + is_oracle_gua_allocation_enabled = each.value.is_oracle_gua_allocation_enabled + +} + +/* +output "vcn_id_map" { + value = [ for k,v in merge(module.vcns.*...) : v.vcn_id ] +} +*/ + +############################ +# Module Block - Network +# Create Internet Gateways +############################ + +module "igws" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/igw?ref=v2024.4.0" + for_each = (var.igws != null || var.igws != {}) ? var.igws : {} + + depends_on = [module.vcns] #,module.route-tables] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + enabled = each.value.enable_igw # Defaults to true by terraform hashicorp + defined_tags = each.value.defined_tags + display_name = each.value.igw_name != null ? each.value.igw_name : null + freeform_tags = each.value.freeform_tags + route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.gateway-route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + +} + +/* +output "igw_id_map" { + value = [ for k,v in merge(module.igws.*...) : v.igw_id ] +} +*/ + +############################ +# Module Block - Network +# Create NAT Gateways +############################ + +module "ngws" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/ngw?ref=v2024.4.0" + for_each = (var.ngws != null || var.ngws != {}) ? var.ngws : {} + + depends_on = [module.vcns] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + block_traffic = each.value.block_traffic # Defaults to false by terraform hashicorp + public_ip_id = each.value.public_ip_id + route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.gateway-route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + + defined_tags = each.value.defined_tags + display_name = each.value.ngw_name + freeform_tags = each.value.freeform_tags +} + +/* +output "ngw_id_map" { + value = [ for k,v in merge(module.ngws.*...) : v.ngw_id ] +} +*/ + +############################ +# Module Block - Network +# Create Service Gateways +############################ + +module "sgws" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/sgw?ref=v2024.4.0" + for_each = (var.sgws != null || var.sgws != {}) ? var.sgws : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.sgw_name != null ? each.value.sgw_name : null + freeform_tags = each.value.freeform_tags + service = each.value.service != "" ? (contains(split("-", each.value.service), "all") == true ? "all" : "objectstorage") : "all" + route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.gateway-route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null +} + +/* +output "sgw_id_map" { + value = [ for k,v in merge(module.sgws.*...) : v.sgw_id ] +} +*/ + + +############################ +# Module Block - Networking +# Create Local Peering Gateways +############################ + +module "hub-lpgs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/lpg?ref=v2024.4.0" + for_each = (var.lpgs.hub-lpgs != null || var.lpgs.hub-lpgs != {}) ? var.lpgs.hub-lpgs : {} + + depends_on = [module.vcns, module.spoke-lpgs, module.none-lpgs, module.exported-lpgs, module.peer-lpgs] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + peer_id = each.value.peer_id != "" ? (length(regexall("##peer_id*", each.value.peer_id)) > 0 ? null : try(merge(module.spoke-lpgs.*...)[each.value.peer_id]["lpg_tf_id"], merge(module.exported-lpgs.*...)[each.value.peer_id]["lpg_tf_id"], merge(module.peer-lpgs.*...)[each.value.peer_id]["lpg_tf_id"], merge(module.none-lpgs.*...)[each.value.peer_id]["lpg_tf_id"])) : null + #route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + defined_tags = each.value.defined_tags + display_name = each.value.lpg_name != null ? each.value.lpg_name : null + freeform_tags = each.value.freeform_tags +} + +module "spoke-lpgs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/lpg?ref=v2024.4.0" + for_each = (var.lpgs.spoke-lpgs != null || var.lpgs.spoke-lpgs != {}) ? var.lpgs.spoke-lpgs : {} + + depends_on = [module.vcns] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + peer_id = (each.value.peer_id != "" && each.value.peer_id != null) ? (length(regexall("##peer_id*", each.value.peer_id)) > 0 ? null : each.value.peer_id) : null + #route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + defined_tags = each.value.defined_tags + display_name = each.value.lpg_name != null ? each.value.lpg_name : null + freeform_tags = each.value.freeform_tags +} + +module "peer-lpgs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/lpg?ref=v2024.4.0" + for_each = (var.lpgs.peer-lpgs != null || var.lpgs.peer-lpgs != {}) ? var.lpgs.peer-lpgs : {} + + depends_on = [module.vcns, module.none-lpgs] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + peer_id = each.value.peer_id != "" ? (length(regexall("##peer_id*", each.value.peer_id)) > 0 ? null : try(merge(module.spoke-lpgs.*...)[each.value.peer_id]["lpg_tf_id"], merge(module.exported-lpgs.*...)[each.value.peer_id]["lpg_tf_id"], merge(module.none-lpgs.*...)[each.value.peer_id]["lpg_tf_id"])) : null + #route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + defined_tags = each.value.defined_tags + display_name = each.value.lpg_name != null ? each.value.lpg_name : null + freeform_tags = each.value.freeform_tags +} + +module "none-lpgs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/lpg?ref=v2024.4.0" + for_each = (var.lpgs.none-lpgs != null || var.lpgs.none-lpgs != {}) ? var.lpgs.none-lpgs : {} + + depends_on = [module.vcns] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + peer_id = (each.value.peer_id != "" && each.value.peer_id != null) ? (length(regexall("##peer_id*", each.value.peer_id)) > 0 ? null : each.value.peer_id) : null + #route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + defined_tags = each.value.defined_tags + display_name = each.value.lpg_name != null ? each.value.lpg_name : null + freeform_tags = each.value.freeform_tags +} + +module "exported-lpgs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/lpg?ref=v2024.4.0" + for_each = (var.lpgs.exported-lpgs != null || var.lpgs.exported-lpgs != {}) ? var.lpgs.exported-lpgs : {} + + depends_on = [module.vcns] + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + #Optional + peer_id = (each.value.peer_id != "" && each.value.peer_id != null) ? (length(regexall("##peer_id*", each.value.peer_id)) > 0 ? null : each.value.peer_id) : null + #route_table_id = (each.value.route_table_id != "" && each.value.route_table_id != null) ? (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(module.route-tables.*...)[each.value.route_table_id]["route_table_ids"]) : null + defined_tags = each.value.defined_tags + display_name = each.value.lpg_name != null ? each.value.lpg_name : null + freeform_tags = each.value.freeform_tags +} + +/* +output "hub_lpg_id_map" { + value = [ for k,v in merge(module.hub-lpgs.*...) : v.lpg_id ] +} + +output "spoke_lpg_id_map" { + value = [ for k,v in merge(module.spoke-lpgs.*...) : v.lpg_id ] +} + +output "peer_lpg_id_map" { + value = [ for k,v in merge(module.peer-lpgs.*...) : v.lpg_id ] +} + +output "none_lpg_id_map" { + value = [ for k,v in merge(module.none-lpgs.*...) : v.lpg_id ] +} + +output "exported_lpg_id_map" { + value = [ for k,v in merge(module.exported-lpgs.*...) : v.lpg_id ] +} +*/ + +############################ +# Module Block - Network +# Create Dynamic Routing Gateways +############################ + +module "drgs" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/drg?ref=v2024.4.0" + for_each = (var.drgs != null || var.drgs != {}) ? var.drgs : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags +} + + +module "drg-attachments" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/drg-attachment?ref=v2024.4.0" + for_each = (var.drg_attachments != null || var.drg_attachments != {}) ? var.drg_attachments : {} + + drg_display_name = each.value.display_name + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + drg_id = length(regexall("ocid1.drg.oc*", each.value.drg_id)) > 0 ? each.value.drg_id : ((each.value.drg_id != "" && each.value.drg_id != null) ? merge(module.drgs.*...)[each.value.drg_id]["drg_tf_id"] : each.value.drg_id) + drg_route_table_id = length(regexall("ocid1.drgroutetable.oc*", each.value.drg_route_table_id)) > 0 ? each.value.drg_route_table_id : ((each.value.drg_route_table_id != "" && each.value.drg_route_table_id != null) ? merge(module.drg-route-tables.*...)[each.value.drg_route_table_id]["drg_route_table_tf_id"] : null) + vcns_tf_id = merge(module.vcns.*...) + route_table_tf_id = merge(module.route-tables.*...) + #default_route_table_tf_id = merge(module.default-route-tables.*...) + drg_attachments = var.drg_attachments + key_name = each.key +} + + +/* +output "drg_id_map" { + value = [ for k,v in merge(module.drg.*...) : v.drg_id ] +} + +output "drg_attachments_map" { + value = [ for k,v in merge(module.drg-attachments.*...) : v.drg_attachments_map ] +} +*/ + +############################ +# Module Block - Network +# Create Default DHCP +############################ + +module "default-dhcps" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/default-dhcp?ref=v2024.4.0" + for_each = (var.default_dhcps != null || var.default_dhcps != {}) ? var.default_dhcps : {} + + #Required + manage_default_resource_id = length(regexall("ocid1.dhcpoptions.oc*", each.value.manage_default_resource_id)) > 0 ? each.value.manage_default_resource_id : merge(module.vcns.*...)[each.value.manage_default_resource_id]["vcn_default_dhcp_id"] + server_type = each.value.server_type + custom_dns_servers = each.value.custom_dns_servers + search_domain_names = each.value.search_domain != null ? each.value.search_domain.names : [] + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} + +/* +output "default_dhcp_id" { + value = [ for k,v in merge(module.default-dhcps.*...) : v.default_dhcp_id ] +} +*/ + +############################ +# Module Block - Network +# Create Custom DHCP Options +############################ + +module "custom-dhcps" { + #Required + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/custom-dhcp?ref=v2024.4.0" + for_each = (var.custom_dhcps != null || var.custom_dhcps != {}) ? var.custom_dhcps : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + server_type = each.value.server_type + custom_dns_servers = each.value.custom_dns_servers != null ? each.value.custom_dns_servers : [] + search_domain_names = each.value.search_domain + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name + domain_name_type = each.value.domain_name_type + freeform_tags = each.value.freeform_tags +} + +/* +output "dhcp_options_id" { + value = [ for k,v in merge(module.custom-dhcps.*...) : v.custom_dhcp_id ] +} +*/ + +############################ +# Module Block - Network +# Create Default Security Lists +############################ + +/* +output "default_seclist_id_map" { + value = [ for k,v in merge(module.default-security-lists.*...) : v.default_seclist_id ] +} +*/ + +############################ +# Module Block - Network +# Create Custom Security Lists +############################ + +module "security-lists" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/sec-list?ref=v2024.4.0" + for_each = (local.all_seclists != null || local.all_seclists != {}) ? local.all_seclists : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + manage_default_resource_id = merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_security_list_id"] + default_seclist = var.default_seclists != {} ? contains(keys(var.default_seclists), each.key) ? true : false : false + + key_name = each.key + defined_tags = each.value.defined_tags + display_name = each.value.display_name != null ? each.value.display_name : null + freeform_tags = each.value.freeform_tags + seclist_details = local.all_seclists +} + +/* +output "seclist_id_map" { + value = [ for k,v in merge(module.security-lists.*...) : v.seclist_id ] +} +*/ + +############################ +# Module Block - Network +# Create Custom Route Tables +############################ + +module "route-tables" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/route-table?ref=v2024.4.0" + #for_each = {for k,v in local.all_route_tables : k => v if ! v.gateway_route_table} + for_each = { for k, v in local.all_route_tables : k => v if !local.gateway_rt_status[k] } + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + default_route_table = var.default_route_tables != {} ? contains(keys(var.default_route_tables), each.key) ? true : false : false + manage_default_resource_id = merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_route_table_id"] + + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name != null ? each.value.display_name : null + freeform_tags = each.value.freeform_tags + key_name = each.key + igw_id = merge(module.igws.*...) + ngw_id = merge(module.ngws.*...) + sgw_id = merge(module.sgws.*...) + drg_id = merge(module.drgs.*...) + hub_lpg_id = merge(module.hub-lpgs.*...) + spoke_lpg_id = merge(module.spoke-lpgs.*...) + peer_lpg_id = merge(module.peer-lpgs.*...) + none_lpg_id = merge(module.none-lpgs.*...) + exported_lpg_id = merge(module.exported-lpgs.*...) + rt_details = local.all_route_tables +} + + +module "gateway-route-tables" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/route-table?ref=v2024.4.0" + #for_each = {for k,v in local.all_route_tables : k => v if v.gateway_route_table } + for_each = { for k, v in local.all_route_tables : k => v if local.gateway_rt_status[k] } + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + + default_route_table = var.default_route_tables != {} ? contains(keys(var.default_route_tables), each.key) ? true : false : false + manage_default_resource_id = merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_route_table_id"] + #Optional + defined_tags = each.value.defined_tags + display_name = each.value.display_name != null ? each.value.display_name : null + freeform_tags = each.value.freeform_tags + key_name = each.key + drg_id = merge(module.drgs.*...) + rt_details = local.all_route_tables + gateway_route_table = each.value.gateway_route_table +} + +/* +output "route_id_map" { + value = [ for k,v in merge(module.route-tables.*...) : v.route_id ] +} +*/ + + +############################ +# Module Block - Network +# Create DRG Route Tables +############################ + +module "drg-route-tables" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/drg-route-table?ref=v2024.4.0" + for_each = (var.drg_route_tables != null || var.drg_route_tables != {}) ? var.drg_route_tables : {} + + #Required + drg_id = each.value.drg_id != null && each.value.drg_id != "" ? (length(regexall("ocid1.drg.oc*", each.value.drg_id)) > 0 ? each.value.drg_id : merge(module.drgs.*...)[each.value.drg_id]["drg_tf_id"]) : null + + #Optional + defined_tags = each.value.defined_tags == {} ? null : each.value.defined_tags + freeform_tags = each.value.freeform_tags == {} ? null : each.value.freeform_tags + display_name = each.value.display_name != null ? each.value.display_name : null + import_drg_route_distribution_id = each.value.import_drg_route_distribution_id != null && each.value.import_drg_route_distribution_id != "" ? (length(regexall("ocid1.drgroutedistribution.oc*", each.value.import_drg_route_distribution_id)) > 0 ? each.value.import_drg_route_distribution_id : (length(regexall(".Autogenerated-Import-Route-Distribution-for*", each.value.import_drg_route_distribution_id)) > 0 ? data.oci_core_drg_route_distributions.drg_route_distributions[each.value.import_drg_route_distribution_id].drg_route_distributions[0].id : merge(module.drg-route-distributions.*...)[each.value.import_drg_route_distribution_id]["drg_route_distribution_tf_id"])) : null + is_ecmp_enabled = each.value.is_ecmp_enabled != null ? each.value.is_ecmp_enabled : null +} + +/* +output "drg_route_id_map" { + value = [ for k,v in merge(module.drg-route-tables.*...) : v.drg_route_tf_id ] +} +*/ + +################################ +# Module Block - Network +# Create DRG Route Rules +################################ + +module "drg-route-rules" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/drg-route-rule?ref=v2024.4.0" + depends_on = [module.drg-attachments, module.drg-route-tables] + + for_each = (var.drg_route_rules != null || var.drg_route_rules != {}) ? var.drg_route_rules : {} + + #Required + drg_route_table_id = length(regexall("ocid1.drgroutetable.oc*", each.value.drg_route_table_id)) > 0 ? each.value.drg_route_table_id : ((each.value.drg_route_table_id != "" && each.value.drg_route_table_id != null) ? (length(regexall(".Autogenerated-Drg-Route-Table-for*", each.value.drg_route_table_id)) > 0 ? data.oci_core_drg_route_tables.drg_route_tables[each.value.drg_route_table_id].drg_route_tables[0].id : merge(module.drg-route-tables.*...)[each.value.drg_route_table_id]["drg_route_table_tf_id"]) : null) + destination = each.value.destination + destination_type = each.value.destination_type + next_hop_drg_attachment_id = length(regexall("ocid1.drgattachment.oc*", each.value.next_hop_drg_attachment_id)) > 0 ? each.value.next_hop_drg_attachment_id : (each.value.next_hop_drg_attachment_id != "" && each.value.next_hop_drg_attachment_id != null ? merge(module.drg-attachments.*...)[each.value.next_hop_drg_attachment_id]["drg_attachment_tf_id"] : null) + + +} + +/* +output "drg_route_rules_id_map" { + value = [ for k,v in merge(module.drg-route-rules.*...) : v.drg_route_rule_tf_id ] +} +*/ + + +################################ +# Module Block - Network +# Create DRG Route Distributions +################################ + +module "drg-route-distributions" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/drg-route-distribution?ref=v2024.4.0" + for_each = (var.drg_route_distributions != null || var.drg_route_distributions != {}) ? var.drg_route_distributions : {} + + #Required + distribution_type = each.value.distribution_type + drg_id = each.value.drg_id != null && each.value.drg_id != "" ? (length(regexall("ocid1.drg.oc*", each.value.drg_id)) > 0 ? each.value.drg_id : merge(module.drgs.*...)[each.value.drg_id]["drg_tf_id"]) : null + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + display_name = each.value.display_name +} + +/* +output "drg_route_distributions_id_map" { + value = [ for k,v in merge(module.drg-route-distributions.*...) : v.drg_route_distribution_tf_id ] +} +*/ + +########################################### +# Module Block - Network +# Create DRG Route Distribution Statements +########################################### + +module "drg-route-distribution-statements" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/drg-route-distribution-statement?ref=v2024.4.0" + for_each = (var.drg_route_distribution_statements != null || var.drg_route_distribution_statements != {}) ? var.drg_route_distribution_statements : {} + + #Required + key_name = each.key + drg_route_distribution_id = each.value.drg_route_distribution_id != null && each.value.drg_route_distribution_id != "" ? (length(regexall("ocid1.drgroutedistribution.oc*", each.value.drg_route_distribution_id)) > 0 ? each.value.drg_route_distribution_id : (length(regexall(".Autogenerated-Import-Route-Distribution-for*", each.value.drg_route_distribution_id)) > 0 ? data.oci_core_drg_route_distributions.drg_route_distributions[each.value.drg_route_distribution_id].drg_route_distributions[0].id : merge(module.drg-route-distributions.*...)[each.value.drg_route_distribution_id]["drg_route_distribution_tf_id"])) : null + priority = each.value.priority + action = each.value.action + drg_attachment_ids = merge(module.drg-attachments.*...) + drg_route_distribution_statements = var.drg_route_distribution_statements +} + +/* +output "drg_route_distribution_statements_id_map" { + value = [ for k,v in merge(module.drg-route-distribution-statements.*...) : v.drg_route_distribution_statement_tf_id ] +} +*/ + +############################# +# Module Block - Network +# Create Subnets +############################# + +module "subnets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/subnet?ref=v2024.4.0" + for_each = (var.subnets != null || var.subnets != {}) ? var.subnets : {} + + depends_on = [module.vcns, module.security-lists] + + #Required + tenancy_ocid = var.tenancy_ocid + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = length(regexall("ocid1.vcn.oc*", each.value.vcn_id)) > 0 ? each.value.vcn_id : merge(module.vcns.*...)[each.value.vcn_id]["vcn_tf_id"] + cidr_block = each.value.cidr_block + + #Optional + dns_label = each.value.dns_label + ipv6cidr_block = each.value.ipv6cidr_block + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags + prohibit_internet_ingress = each.value.prohibit_internet_ingress + prohibit_public_ip_on_vnic = each.value.prohibit_public_ip_on_vnic + availability_domain = each.value.availability_domain != "" && each.value.availability_domain != null ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + dhcp_options_id = each.value.dhcp_options_id == null || each.value.dhcp_options_id == "" ? merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_dhcp_id"] : (length(regexall("ocid1.dhcpoptions.oc*", each.value.dhcp_options_id)) > 0 ? each.value.dhcp_options_id : merge(module.custom-dhcps.*...)[each.value.dhcp_options_id]["custom_dhcp_tf_id"]) + #route_table_id = each.value.route_table_id == null || each.value.route_table_id == "" ? merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_route_table_id"] : (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : contains(keys(merge(module.gateway-route-tables.*...)), each.value.route_table_id) ? merge(module.gateway-route-tables.*...)[each.value.route_table_id] ["route_table_ids"] : merge(module.route-tables.*...)[each.value.route_table_id]["route_table_ids"]) + route_table_id = each.value.route_table_id == null || each.value.route_table_id == "" ? merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_route_table_id"] : (length(regexall("ocid1.routetable.oc*", each.value.route_table_id)) > 0 ? each.value.route_table_id : merge(merge(module.gateway-route-tables.*...), merge(module.route-tables.*...))[each.value.route_table_id]["route_table_ids"]) + + + security_list_ids = length(each.value.security_list_ids) == 0 ? [merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_security_list_id"]] : each.value.security_list_ids + vcn_default_security_list_id = merge(module.vcns.*...)[each.value.vcn_id]["vcn_default_security_list_id"] + custom_security_list_id = merge(module.security-lists.*...) +} + +/* +output "subnet_id_map" { + value = [ for k,v in merge(module.subnets.*...) : v.subnet_id ] +} +*/ + +############################# +# Module Block - Network Logging +# Create VCN Log Groups and Logs +############################# + +module "vcn-log-groups" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log-group?ref=v2024.4.0" + for_each = (var.vcn_log_groups != null || var.vcn_log_groups != {}) ? var.vcn_log_groups : {} + + # Log Groups + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + display_name = each.value.display_name + + #Optional + defined_tags = each.value.defined_tags + description = each.value.description + freeform_tags = each.value.freeform_tags +} + +/* +output "vcn_log_group_map" { + value = [ for k,v in merge(module.vcn-log-groups.*...) : v.log_group_tf_id ] +} +*/ + +module "vcn-logs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log?ref=v2024.4.0" + for_each = (var.vcn_logs != null || var.vcn_logs != {}) ? var.vcn_logs : {} + + # Logs + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + log_group_id = length(regexall("ocid1.loggroup.oc*", each.value.log_group_id)) > 0 ? each.value.log_group_id : merge(module.vcn-log-groups.*...)[each.value.log_group_id]["log_group_tf_id"] + + log_type = each.value.log_type + #Required + source_category = each.value.category + source_resource = length(regexall("ocid1.*", each.value.resource)) > 0 ? each.value.resource : merge(module.subnets.*...)[each.value.resource]["subnet_tf_id"] + source_service = each.value.service + source_type = each.value.source_type + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + log_is_enabled = (each.value.is_enabled == "" || each.value.is_enabled == null) ? true : each.value.is_enabled + log_retention_duration = (each.value.retention_duration == "" || each.value.retention_duration == null) ? 30 : each.value.retention_duration + +} + +/* +output "vcn_logs_id" { + value = [ for k,v in merge(module.vcn-logs.*...) : v.log_tf_id] +} +*/ \ No newline at end of file diff --git a/examples/network/oci-data.tf b/examples/network/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/network/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/network/provider.tf b/examples/network/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/network/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/network/sample_custom-dhcp.auto.tfvars b/examples/network/sample_custom-dhcp.auto.tfvars new file mode 100644 index 0000000..1babf01 --- /dev/null +++ b/examples/network/sample_custom-dhcp.auto.tfvars @@ -0,0 +1,60 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Custom DHCP - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for Custom DHCP: +# terraform import "module.custom-dhcps[\"<>\"].oci_core_dhcp_options.custom_dhcp_option" <> +############################ +custom_dhcps = { + fwl-vcn_dhcp-internal = { + compartment_id = "Network" + server_type = "VcnLocalPlusInternet" + display_name = "dhcp-internal" + vcn_id = "fwl-vcn" + search_domain = { + names = ["org.com"] + } + }, + prod-vcn_dhcp-external = { + compartment_id = "Network" + server_type = "VcnLocalPlusInternet" + display_name = "dhcp-external" + vcn_id = "prod-vcn" + search_domain = { + names = ["org.com"] + } + }, + prod-vcn_dhcp-internal = { + compartment_id = "Network" + server_type = "VcnLocalPlusInternet" + display_name = "dhcp-internal" + vcn_id = "prod-vcn" + search_domain = { + names = ["org.com"] + } + }, + nonprod-vcn_dhcp-external = { + compartment_id = "Network" + server_type = "VcnLocalPlusInternet" + display_name = "dhcp-external" + vcn_id = "nonprod-vcn" + search_domain = { + names = ["org.com"] + } + }, + nonprod-vcn_dhcp-internal = { + compartment_id = "Network" + server_type = "VcnLocalPlusInternet" + display_name = "dhcp-internal" + vcn_id = "nonprod-vcn" + search_domain = { + names = ["org.com"] + } + }, +} \ No newline at end of file diff --git a/examples/network/sample_default-routetables.auto.tfvars b/examples/network/sample_default-routetables.auto.tfvars new file mode 100644 index 0000000..595a109 --- /dev/null +++ b/examples/network/sample_default-routetables.auto.tfvars @@ -0,0 +1,125 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Major Objects - Default Route Table - tfvars +# Sample import command for Default Route Table: +# terraform import "module.default-route-tables[\"<>\"].oci_core_default_route_table.default_route_table" <> +############################ +default_route_tables = { + # Route Table map # + # Start of #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# # + fwl-vcn_Default-Route-Table-for-fwl-vcn = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + display_name = "Default Route Table for fwl-vcn" + ### gateway_route_table for #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# #### + ] + route_rules_sgw = [ + ####ADD_NEW_SGW_RULES #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# #### + ] + route_rules_drg = [ + ####ADD_NEW_DRG_RULES #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_fwl-vcn_Default-Route-Table-for-fwl-vcn# # + # Start of #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# # + prod-vcn_Default-Route-Table-for-prod-vcn = { + compartment_id = "Network" + vcn_id = "prod-vcn" + display_name = "Default Route Table for prod-vcn" + ### gateway_route_table for #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# #### + ] + route_rules_sgw = [ + ####ADD_NEW_SGW_RULES #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# #### + ] + route_rules_drg = [ + ####ADD_NEW_DRG_RULES #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_prod-vcn_Default-Route-Table-for-prod-vcn# # + # Start of #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# # + nonprod-vcn_Default-Route-Table-for-nonprod-vcn = { + compartment_id = "Network" + vcn_id = "nonprod-vcn" + display_name = "Default Route Table for nonprod-vcn" + ### gateway_route_table for #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# #### + ] + route_rules_sgw = [ + ####ADD_NEW_SGW_RULES #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# #### + ] + route_rules_drg = [ + ####ADD_NEW_DRG_RULES #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_nonprod-vcn_Default-Route-Table-for-nonprod-vcn# # + # Start of #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# # + exa-vcn_Default-Route-Table-for-exa-vcn = { + compartment_id = "Network" + vcn_id = "exa-vcn" + display_name = "Default Route Table for exa-vcn" + ### gateway_route_table for #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# #### + ] + route_rules_sgw = [ + ####ADD_NEW_SGW_RULES #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# #### + ] + route_rules_drg = [ + ####ADD_NEW_DRG_RULES #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_exa-vcn_Default-Route-Table-for-exa-vcn# # +##Add New Default Route Tables for phoenix here## +} \ No newline at end of file diff --git a/examples/network/sample_default-seclists.auto.tfvars b/examples/network/sample_default-seclists.auto.tfvars new file mode 100644 index 0000000..54216d3 --- /dev/null +++ b/examples/network/sample_default-seclists.auto.tfvars @@ -0,0 +1,189 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Major Objects - Default Security List - tfvars +# Sample import command for Default Security List: +# terraform import "module.default-security-lists[\"<>\"].oci_core_default_security_list.default_security_list" <> +############################ +default_seclists = { + # Seclist map # + # Start of #phoenix_fwl-vcn_Default-Security-List-for-fwl-vcn# # + fwl-vcn_Default-Security-List-for-fwl-vcn = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + display_name = "Default Security List for fwl-vcn" + ingress_sec_rules = [ + { #fwl-vcn_Default-Security-List-for-fwl-vcn_0.0.0.0/0# + protocol = "1" + source = "0.0.0.0/0" + options = { + icmp = [] + } + }, + { #fwl-vcn_Default-Security-List-for-fwl-vcn_0.0.0.0/0# + protocol = "6" + source = "0.0.0.0/0" + options = { + tcp= [{ + destination_port_range_max = "22" + destination_port_range_min = "22" + }] + } + }, + { #fwl-vcn_Default-Security-List-for-fwl-vcn_10.110.0.0/16# + protocol = "1" + source = "10.110.0.0/16" + options = { + icmp = [] + } + }, +####ADD_NEW_INGRESS_SEC_RULES #phoenix_fwl-vcn_Default-Security-List-for-fwl-vcn# #### + ] + egress_sec_rules = [ + { + protocol = "all" + destination = "0.0.0.0/0" + options = { + all = [] + } + }, +####ADD_NEW_EGRESS_SEC_RULES #phoenix_fwl-vcn_Default-Security-List-for-fwl-vcn# #### + ] + }, + # End of #phoenix_fwl-vcn_Default-Security-List-for-fwl-vcn# # + # Start of #phoenix_prod-vcn_Default-Security-List-for-prod-vcn# # + prod-vcn_Default-Security-List-for-prod-vcn = { + compartment_id = "Network" + vcn_id = "prod-vcn" + display_name = "Default Security List for prod-vcn" + ingress_sec_rules = [ + { #prod-vcn_Default-Security-List-for-prod-vcn_0.0.0.0/0# + protocol = "1" + source = "0.0.0.0/0" + options = { + icmp = [] + } + }, + { #prod-vcn_Default-Security-List-for-prod-vcn_0.0.0.0/0# + protocol = "6" + source = "0.0.0.0/0" + options = { + tcp= [{ + destination_port_range_max = "22" + destination_port_range_min = "22" + }] + } + }, + { #prod-vcn_Default-Security-List-for-prod-vcn_10.111.0.0/16# + protocol = "1" + source = "10.111.0.0/16" + options = { + icmp = [] + } + }, +####ADD_NEW_INGRESS_SEC_RULES #phoenix_prod-vcn_Default-Security-List-for-prod-vcn# #### + ] + egress_sec_rules = [ + { + protocol = "all" + destination = "0.0.0.0/0" + options = { + all = [] + } + }, +####ADD_NEW_EGRESS_SEC_RULES #phoenix_prod-vcn_Default-Security-List-for-prod-vcn# #### + ] + }, + # End of #phoenix_prod-vcn_Default-Security-List-for-prod-vcn# # + # Start of #phoenix_nonprod-vcn_Default-Security-List-for-nonprod-vcn# # + nonprod-vcn_Default-Security-List-for-nonprod-vcn = { + compartment_id = "Network" + vcn_id = "nonprod-vcn" + display_name = "Default Security List for nonprod-vcn" + ingress_sec_rules = [ + { #nonprod-vcn_Default-Security-List-for-nonprod-vcn_0.0.0.0/0# + protocol = "1" + source = "0.0.0.0/0" + options = { + icmp = [] + } + }, + { #nonprod-vcn_Default-Security-List-for-nonprod-vcn_0.0.0.0/0# + protocol = "6" + source = "0.0.0.0/0" + options = { + tcp= [{ + destination_port_range_max = "22" + destination_port_range_min = "22" + }] + } + }, + { #nonprod-vcn_Default-Security-List-for-nonprod-vcn_10.112.0.0/16# + protocol = "1" + source = "10.112.0.0/16" + options = { + icmp = [] + } + }, +####ADD_NEW_INGRESS_SEC_RULES #phoenix_nonprod-vcn_Default-Security-List-for-nonprod-vcn# #### + ] + egress_sec_rules = [ + { + protocol = "all" + destination = "0.0.0.0/0" + options = { + all = [] + } + }, +####ADD_NEW_EGRESS_SEC_RULES #phoenix_nonprod-vcn_Default-Security-List-for-nonprod-vcn# #### + ] + }, + # End of #phoenix_nonprod-vcn_Default-Security-List-for-nonprod-vcn# # + # Start of #phoenix_exa-vcn_Default-Security-List-for-exa-vcn# # + exa-vcn_Default-Security-List-for-exa-vcn = { + compartment_id = "Network" + vcn_id = "exa-vcn" + display_name = "Default Security List for exa-vcn" + ingress_sec_rules = [ + { #exa-vcn_Default-Security-List-for-exa-vcn_0.0.0.0/0# + protocol = "1" + source = "0.0.0.0/0" + options = { + icmp = [] + } + }, + { #exa-vcn_Default-Security-List-for-exa-vcn_0.0.0.0/0# + protocol = "6" + source = "0.0.0.0/0" + options = { + tcp= [{ + destination_port_range_max = "22" + destination_port_range_min = "22" + }] + } + }, + { #exa-vcn_Default-Security-List-for-exa-vcn_10.113.0.0/24# + protocol = "1" + source = "10.113.0.0/24" + options = { + icmp = [] + } + }, +####ADD_NEW_INGRESS_SEC_RULES #phoenix_exa-vcn_Default-Security-List-for-exa-vcn# #### + ] + egress_sec_rules = [ + { + protocol = "all" + destination = "0.0.0.0/0" + options = { + all = [] + } + }, +####ADD_NEW_EGRESS_SEC_RULES #phoenix_exa-vcn_Default-Security-List-for-exa-vcn# #### + ] + }, + # End of #phoenix_exa-vcn_Default-Security-List-for-exa-vcn# # +##Add New Default Seclists for phoenix here## +} \ No newline at end of file diff --git a/examples/network/sample_drg-data.auto.tfvars b/examples/network/sample_drg-data.auto.tfvars new file mode 100644 index 0000000..78ffd11 --- /dev/null +++ b/examples/network/sample_drg-data.auto.tfvars @@ -0,0 +1,33 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +################################ +# Network +# Major Objects - DRG Route Rules and DRG Route Distributions +# Allowed Values: +# drg_id can be ocid or the key of drgs (map) +################################ +data_drg_route_tables = { + DRG_Autogenerated-Drg-Route-Table-for-VCN-attachments = { + #Required + drg_id = "DRG" + values = "Autogenerated Drg Route Table for VCN attachments" + }, + DRG_Autogenerated-Drg-Route-Table-for-RPC--VC--and-IPSec-attachments = { + #Required + drg_id = "DRG" + values = "Autogenerated Drg Route Table for RPC, VC, and IPSec attachments" + }, +} +data_drg_route_table_distributions = { + DRG_Autogenerated-Import-Route-Distribution-for-ALL-routes = { + #Required + drg_id = "DRG" + values = "Autogenerated Import Route Distribution for ALL routes" + }, + DRG_Autogenerated-Import-Route-Distribution-for-VCN-Routes = { + #Required + drg_id = "DRG" + values = "Autogenerated Import Route Distribution for VCN Routes" + }, +} \ No newline at end of file diff --git a/examples/network/sample_drg-distributions.auto.tfvars b/examples/network/sample_drg-distributions.auto.tfvars new file mode 100644 index 0000000..b59ba4c --- /dev/null +++ b/examples/network/sample_drg-distributions.auto.tfvars @@ -0,0 +1,44 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +################################# +# Network +# DRG Route Distributions - tfvars +# Allowed Values: +# drg_id can be the ocid or the key of drgs (map) +# Sample import command for drg route distribution: +# terraform import "module.drg-route-distributions[\"<>\"].oci_core_drg_route_distribution.drg_route_distribution" <> +################################# +drg_route_distributions = { +# DRG Distribution for Region - phoenix + DRG_import-spoke-routes = { + distribution_type = "IMPORT" + drg_id = "DRG" + display_name = "import-spoke-routes" +}, +###Add DRG Distribution here for phoenix ### +} + +########################################## +# Module Block - Network +# Create DRG Route Distribution Statements +# Allowed Values: +# drg_route_distribution_id can be the ocid or the key of drg_route_distributions (map) +# Sample import command for DRG Route Distribution Statements: +# terraform import "module.drg-route-distribution-statements[\"<>\"].oci_core_drg_route_distribution_statement.drg_route_distribution_statement" drgRouteDistributions/<>/statements/<> +########################################## +drg_route_distribution_statements = { +# DRG Distribution Statement for Region - phoenix + DRG_import-spoke-routes_statement1 = { + drg_route_distribution_id = "DRG_import-spoke-routes" + match_criteria = [ + { + match_type = "DRG_ATTACHMENT_TYPE" + attachment_type = "VCN" + }, + ] + priority = "1" + action = "ACCEPT" +}, +###Add DRG Distribution Statement here for phoenix ### +} \ No newline at end of file diff --git a/examples/network/sample_drg-routetables.auto.tfvars b/examples/network/sample_drg-routetables.auto.tfvars new file mode 100644 index 0000000..631920f --- /dev/null +++ b/examples/network/sample_drg-routetables.auto.tfvars @@ -0,0 +1,32 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +################################# +# Network +# DRG Route Tables - tfvars +# Allowed Values: +# drg_id can be ocid or the key of drgs (map) +# Sample import command for Default Route Table: +# terraform import "module.drg-route-tables[\"<>\"].oci_core_drg_route_table.drg_route_table" <> +################################# +drg_route_tables = { +# DRG Route Tables for Region - phoenix +# Start of #phoenix_DRG_rt-from-fwl# # + DRG_rt-from-fwl = { + drg_id = "DRG" + display_name = "rt-from-fwl" + import_drg_route_distribution_id = "DRG_import-spoke-routes" + defined_tags = {} + freeform_tags = {} +}, +# End of #phoenix_DRG_rt-from-fwl# # +# Start of #phoenix_DRG_rt-to-fwl# # + DRG_rt-to-fwl = { + drg_id = "DRG" + display_name = "rt-to-fwl" + defined_tags = {} + freeform_tags = {} +}, +# End of #phoenix_DRG_rt-to-fwl# # +###Add route tables here for phoenix ### +} \ No newline at end of file diff --git a/examples/network/sample_major-objects.auto.tfvars b/examples/network/sample_major-objects.auto.tfvars new file mode 100644 index 0000000..0169464 --- /dev/null +++ b/examples/network/sample_major-objects.auto.tfvars @@ -0,0 +1,251 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Major Objects - VCNs, IGW, NGW, SGW, LPG, DRG - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for VCN: +# terraform import "module.vcns[\"<>\"].oci_core_vcn.vcn" <> +############################ +vcns = { + fwl-vcn = { + compartment_id = "Network" + cidr_blocks = ["10.110.0.0/16"] + display_name = "fwl-vcn" + dns_label = "fwlvcn" + }, + prod-vcn = { + compartment_id = "Network" + cidr_blocks = ["10.111.0.0/16"] + display_name = "prod-vcn" + dns_label = "prodvcn" + }, + nonprod-vcn = { + compartment_id = "Network" + cidr_blocks = ["10.112.0.0/16"] + display_name = "nonprod-vcn" + dns_label = "nonprodvcn" + }, + exa-vcn = { + compartment_id = "Network" + cidr_blocks = ["10.113.0.0/24"] + display_name = "exa-vcn" + dns_label = "exavcn" + }, +} + +############################ +# Network +# Major Objects - IGW - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for IGW: +# terraform import "module.igws[\"<>\"].oci_core_internet_gateway.internet_gateway" <> +############################ +igws = { + fwl-vcn_igw = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + igw_name = "igw" + }, + prod-vcn_prod-vcn_igw = { + compartment_id = "Network" + vcn_id = "prod-vcn" + igw_name = "prod-vcn_igw" + }, +} + +############################ +# Network +# Major Objects - NGW - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for NGW: +# terraform import "module.ngws[\"<>\"].oci_core_nat_gateway.nat_gateway" <> +############################ +ngws = { + fwl-vcn_fwl-vcn_ngw = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + ngw_name = "fwl-vcn_ngw" + }, +} + +############################ +# Network +# Major Objects - SGW - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for SGW: +# terraform import "module.sgws[\"<>\"].oci_core_service_gateway.service_gateway" <> +############################ +sgws = { + fwl-vcn_fwl-vcn_sgw = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + sgw_name = "fwl-vcn_sgw" + # Possible values for service: "", "all", "objectstorage" + service = "" + }, + prod-vcn_prod-vcn_sgw = { + compartment_id = "Network" + vcn_id = "prod-vcn" + sgw_name = "prod-vcn_sgw" + # Possible values for service: "", "all", "objectstorage" + service = "" + }, + nonprod-vcn_nonprod-vcn_sgw = { + compartment_id = "Network" + vcn_id = "nonprod-vcn" + sgw_name = "nonprod-vcn_sgw" + # Possible values for service: "", "all", "objectstorage" + service = "" + }, + exa-vcn_exa-vcn_sgw = { + compartment_id = "Network" + vcn_id = "exa-vcn" + sgw_name = "exa-vcn_sgw" + # Possible values for service: "", "all", "objectstorage" + service = "" + }, +} + +############################ +# Network +# Major Objects - LPG - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for LPG: +# terraform import "module.hub-lpgs[\"<>\"].oci_core_local_peering_gateway.local_peering_gateway" <> +# terraform import "module.spoke-lpgs[\"<>\"].oci_core_local_peering_gateway.local_peering_gateway" <> +# terraform import "module.peer-lpgs[\"<>\"].oci_core_local_peering_gateway.local_peering_gateway" <> +# terraform import "module.none-lpgs[\"<>\"].oci_core_local_peering_gateway.local_peering_gateway" <> +# terraform import "module.exported-lpgs[\"<>\"].oci_core_local_peering_gateway.local_peering_gateway" <> +############################ +lpgs = { + hub-lpgs = { + }, + spoke-lpgs = { + }, + peer-lpgs = { + }, + none-lpgs = { + fwl-vcn_fwl-vcn_lpg0 = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + lpg_name = "fwl-vcn_lpg0" + route_table_id = "" + peer_id = "##peer_id for lpg fwl-vcn_fwl-vcn_lpg0##" + defined_tags = {} + freeform_tags = {} + }, + }, + exported-lpgs = { + }, +} + +############################ +# Network +# Major Objects - DRG - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network--Prod" where "Network" is the parent of "Prod" compartment +# Sample import command for DRG: +# terraform import "module.drgs[\"<>\"].oci_core_drg.drg" <> +############################ +drgs = { + DRG = { + compartment_id = "Network" + display_name = "DRG" + }, +} + +############################ +# Network +# Major Objects - DRG Attachment - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# Sample import command for DRG Attachment: +# terraform import "module.drg-attachments[\"<>\"].oci_core_drg_attachment.drg_attachment" <> +############################ +drg_attachments = { + DRG_fwl-vcn_attach = { + drg_id = "DRG" + display_name = "DRG_fwl-vcn_attach" + #DRG v2 + drg_route_table_id = "DRG_rt-from-fwl" + #Required + network_details = [{ + id = "fwl-vcn" + type = "VCN" + vcn_route_table_id = "" + }] + #set DRGv1 params to null + route_table_id ="" + vcn_id = "" + defined_tags = {} + freeform_tags = {} + }, + DRG_prod-vcn_attach = { + drg_id = "DRG" + display_name = "DRG_prod-vcn_attach" + #DRG v2 + drg_route_table_id = "DRG_rt-to-fwl" + #Required + network_details = [{ + id = "prod-vcn" + type = "VCN" + vcn_route_table_id = "" + }] + #set DRGv1 params to null + route_table_id ="" + vcn_id = "" + defined_tags = {} + freeform_tags = {} + }, + DRG_nonprod-vcn_attach = { + drg_id = "DRG" + display_name = "DRG_nonprod-vcn_attach" + #DRG v2 + drg_route_table_id = "DRG_rt-to-fwl" + #Required + network_details = [{ + id = "nonprod-vcn" + type = "VCN" + vcn_route_table_id = "" + }] + #set DRGv1 params to null + route_table_id ="" + vcn_id = "" + defined_tags = {} + freeform_tags = {} + }, + DRG_exa-vcn_attach = { + drg_id = "DRG" + display_name = "DRG_exa-vcn_attach" + #DRG v2 + drg_route_table_id = "DRG_rt-to-fwl" + #Required + network_details = [{ + id = "exa-vcn" + type = "VCN" + vcn_route_table_id = "" + }] + #set DRGv1 params to null + route_table_id ="" + vcn_id = "" + defined_tags = {} + freeform_tags = {} + }, +} \ No newline at end of file diff --git a/examples/network/sample_routetables.auto.tfvars b/examples/network/sample_routetables.auto.tfvars new file mode 100644 index 0000000..f0a98af --- /dev/null +++ b/examples/network/sample_routetables.auto.tfvars @@ -0,0 +1,554 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Major Objects - Route Table - tfvars +# Allowed Values: +# vcn_id can be the ocid or the key of vcns (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# Sample import command for Route Table: +# terraform import "module.route-tables[\"<>\"].oci_core_route_table.route_table" <> +############################ +route_tables = { + # Route Table map # + # Start of #phoenix_fwl-vcn_fwl-mgmt-rt# # + fwl-vcn_fwl-mgmt-rt = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + display_name = "fwl-mgmt-rt" + ### gateway_route_table for #phoenix_fwl-vcn_fwl-mgmt-rt# ## + route_rules_igw = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-mgmt-rt_fwl-vcn_igw_0.0.0.0/0 + { + network_entity_id = "fwl-vcn_igw" + description = "" + destination = "0.0.0.0/0" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-mgmt-rt_fwl-vcn_igw_0.0.0.0/0 +####ADD_NEW_IGW_RULES #phoenix_fwl-vcn_fwl-mgmt-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-mgmt-rt_fwl-vcn_fwl-vcn_sgw_objectstorage + { + network_entity_id = "fwl-vcn_fwl-vcn_sgw" + description = "" + destination = "objectstorage" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-mgmt-rt_fwl-vcn_fwl-vcn_sgw_objectstorage +####ADD_NEW_SGW_RULES #phoenix_fwl-vcn_fwl-mgmt-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_fwl-vcn_fwl-mgmt-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-mgmt-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-mgmt-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_fwl-vcn_fwl-mgmt-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_fwl-vcn_fwl-mgmt-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_fwl-vcn_fwl-mgmt-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_fwl-vcn_fwl-mgmt-rt# # + # Start of #phoenix_fwl-vcn_fwl-pub-rt# # + fwl-vcn_fwl-pub-rt = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + display_name = "fwl-pub-rt" + ### gateway_route_table for #phoenix_fwl-vcn_fwl-pub-rt# ## + route_rules_igw = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-pub-rt_fwl-vcn_igw_0.0.0.0/0 + { + network_entity_id = "fwl-vcn_igw" + description = "" + destination = "0.0.0.0/0" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-pub-rt_fwl-vcn_igw_0.0.0.0/0 +####ADD_NEW_IGW_RULES #phoenix_fwl-vcn_fwl-pub-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-pub-rt_fwl-vcn_fwl-vcn_sgw_objectstorage + { + network_entity_id = "fwl-vcn_fwl-vcn_sgw" + description = "" + destination = "objectstorage" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-pub-rt_fwl-vcn_fwl-vcn_sgw_objectstorage +####ADD_NEW_SGW_RULES #phoenix_fwl-vcn_fwl-pub-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_fwl-vcn_fwl-pub-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-pub-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-pub-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_fwl-vcn_fwl-pub-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_fwl-vcn_fwl-pub-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_fwl-vcn_fwl-pub-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_fwl-vcn_fwl-pub-rt# # + # Start of #phoenix_fwl-vcn_fwl-priv-rt# # + fwl-vcn_fwl-priv-rt = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + display_name = "fwl-priv-rt" + ### gateway_route_table for #phoenix_fwl-vcn_fwl-priv-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_fwl-vcn_fwl-priv-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-priv-rt_fwl-vcn_fwl-vcn_sgw_objectstorage + { + network_entity_id = "fwl-vcn_fwl-vcn_sgw" + description = "" + destination = "objectstorage" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-priv-rt_fwl-vcn_fwl-vcn_sgw_objectstorage +####ADD_NEW_SGW_RULES #phoenix_fwl-vcn_fwl-priv-rt# #### + ] + route_rules_ngw = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-priv-rt_fwl-vcn_fwl-vcn_ngw_0.0.0.0/0 + { + network_entity_id = "fwl-vcn_fwl-vcn_ngw" + description = "" + destination = "0.0.0.0/0" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-priv-rt_fwl-vcn_fwl-vcn_ngw_0.0.0.0/0 +####ADD_NEW_NGW_RULES #phoenix_fwl-vcn_fwl-priv-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_fwl-vcn_fwl-priv-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_fwl-vcn_fwl-priv-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_fwl-vcn_fwl-priv-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_fwl-vcn_fwl-priv-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_fwl-vcn_fwl-priv-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_fwl-vcn_fwl-priv-rt# # + # Start of #phoenix_fwl-vcn_fwl-ha-rt# # + fwl-vcn_fwl-ha-rt = { + compartment_id = "Network" + vcn_id = "fwl-vcn" + display_name = "fwl-ha-rt" + ### gateway_route_table for #phoenix_fwl-vcn_fwl-ha-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_fwl-vcn_fwl-ha-rt# #### + ] + route_rules_sgw = [ + ####ADD_NEW_SGW_RULES #phoenix_fwl-vcn_fwl-ha-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_fwl-vcn_fwl-ha-rt# #### + ] + route_rules_drg = [ + ####ADD_NEW_DRG_RULES #phoenix_fwl-vcn_fwl-ha-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_fwl-vcn_fwl-ha-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_fwl-vcn_fwl-ha-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_fwl-vcn_fwl-ha-rt# # + # Start of #phoenix_prod-vcn_prod-web-rt# # + prod-vcn_prod-web-rt = { + compartment_id = "Network" + vcn_id = "prod-vcn" + display_name = "prod-web-rt" + ### gateway_route_table for #phoenix_prod-vcn_prod-web-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_prod-vcn_prod-web-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_prod-vcn_prod-web-rt_prod-vcn_prod-vcn_sgw_all + { + network_entity_id = "prod-vcn_prod-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_prod-vcn_prod-web-rt_prod-vcn_prod-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_prod-vcn_prod-web-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_prod-vcn_prod-web-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_prod-vcn_prod-web-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_prod-vcn_prod-web-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_prod-vcn_prod-web-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_prod-vcn_prod-web-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_prod-vcn_prod-web-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_prod-vcn_prod-web-rt# # + # Start of #phoenix_prod-vcn_prod-app-rt# # + prod-vcn_prod-app-rt = { + compartment_id = "Network" + vcn_id = "prod-vcn" + display_name = "prod-app-rt" + ### gateway_route_table for #phoenix_prod-vcn_prod-app-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_prod-vcn_prod-app-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_prod-vcn_prod-app-rt_prod-vcn_prod-vcn_sgw_all + { + network_entity_id = "prod-vcn_prod-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_prod-vcn_prod-app-rt_prod-vcn_prod-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_prod-vcn_prod-app-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_prod-vcn_prod-app-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_prod-vcn_prod-app-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_prod-vcn_prod-app-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_prod-vcn_prod-app-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_prod-vcn_prod-app-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_prod-vcn_prod-app-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_prod-vcn_prod-app-rt# # + # Start of #phoenix_prod-vcn_prod-db-rt# # + prod-vcn_prod-db-rt = { + compartment_id = "Network" + vcn_id = "prod-vcn" + display_name = "prod-db-rt" + ### gateway_route_table for #phoenix_prod-vcn_prod-db-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_prod-vcn_prod-db-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_prod-vcn_prod-db-rt_prod-vcn_prod-vcn_sgw_all + { + network_entity_id = "prod-vcn_prod-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_prod-vcn_prod-db-rt_prod-vcn_prod-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_prod-vcn_prod-db-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_prod-vcn_prod-db-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_prod-vcn_prod-db-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_prod-vcn_prod-db-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_prod-vcn_prod-db-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_prod-vcn_prod-db-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_prod-vcn_prod-db-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_prod-vcn_prod-db-rt# # + # Start of #phoenix_nonprod-vcn_nonprod-web-rt# # + nonprod-vcn_nonprod-web-rt = { + compartment_id = "Network" + vcn_id = "nonprod-vcn" + display_name = "nonprod-web-rt" + ### gateway_route_table for #phoenix_nonprod-vcn_nonprod-web-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_nonprod-vcn_nonprod-web-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_nonprod-vcn_nonprod-web-rt_nonprod-vcn_nonprod-vcn_sgw_all + { + network_entity_id = "nonprod-vcn_nonprod-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_nonprod-vcn_nonprod-web-rt_nonprod-vcn_nonprod-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_nonprod-vcn_nonprod-web-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_nonprod-vcn_nonprod-web-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_nonprod-vcn_nonprod-web-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_nonprod-vcn_nonprod-web-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_nonprod-vcn_nonprod-web-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_nonprod-vcn_nonprod-web-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_nonprod-vcn_nonprod-web-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_nonprod-vcn_nonprod-web-rt# # + # Start of #phoenix_nonprod-vcn_nonprod-app-rt# # + nonprod-vcn_nonprod-app-rt = { + compartment_id = "Network" + vcn_id = "nonprod-vcn" + display_name = "nonprod-app-rt" + ### gateway_route_table for #phoenix_nonprod-vcn_nonprod-app-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_nonprod-vcn_nonprod-app-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_nonprod-vcn_nonprod-app-rt_nonprod-vcn_nonprod-vcn_sgw_all + { + network_entity_id = "nonprod-vcn_nonprod-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_nonprod-vcn_nonprod-app-rt_nonprod-vcn_nonprod-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_nonprod-vcn_nonprod-app-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_nonprod-vcn_nonprod-app-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_nonprod-vcn_nonprod-app-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_nonprod-vcn_nonprod-app-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_nonprod-vcn_nonprod-app-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_nonprod-vcn_nonprod-app-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_nonprod-vcn_nonprod-app-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_nonprod-vcn_nonprod-app-rt# # + # Start of #phoenix_nonprod-vcn_nonprod-db-rt# # + nonprod-vcn_nonprod-db-rt = { + compartment_id = "Network" + vcn_id = "nonprod-vcn" + display_name = "nonprod-db-rt" + ### gateway_route_table for #phoenix_nonprod-vcn_nonprod-db-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_nonprod-vcn_nonprod-db-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_nonprod-vcn_nonprod-db-rt_nonprod-vcn_nonprod-vcn_sgw_all + { + network_entity_id = "nonprod-vcn_nonprod-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_nonprod-vcn_nonprod-db-rt_nonprod-vcn_nonprod-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_nonprod-vcn_nonprod-db-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_nonprod-vcn_nonprod-db-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_nonprod-vcn_nonprod-db-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_nonprod-vcn_nonprod-db-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_nonprod-vcn_nonprod-db-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_nonprod-vcn_nonprod-db-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_nonprod-vcn_nonprod-db-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_nonprod-vcn_nonprod-db-rt# # + # Start of #phoenix_exa-vcn_exa-clnt-rt# # + exa-vcn_exa-clnt-rt = { + compartment_id = "Network" + vcn_id = "exa-vcn" + display_name = "exa-clnt-rt" + ### gateway_route_table for #phoenix_exa-vcn_exa-clnt-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_exa-vcn_exa-clnt-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_exa-vcn_exa-clnt-rt_exa-vcn_exa-vcn_sgw_all + { + network_entity_id = "exa-vcn_exa-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_exa-vcn_exa-clnt-rt_exa-vcn_exa-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_exa-vcn_exa-clnt-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_exa-vcn_exa-clnt-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_exa-vcn_exa-clnt-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_exa-vcn_exa-clnt-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_exa-vcn_exa-clnt-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_exa-vcn_exa-clnt-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_exa-vcn_exa-clnt-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_exa-vcn_exa-clnt-rt# # + # Start of #phoenix_exa-vcn_exa-bkup-rt# # + exa-vcn_exa-bkup-rt = { + compartment_id = "Network" + vcn_id = "exa-vcn" + display_name = "exa-bkup-rt" + ### gateway_route_table for #phoenix_exa-vcn_exa-bkup-rt# ## + route_rules_igw = [ + ####ADD_NEW_IGW_RULES #phoenix_exa-vcn_exa-bkup-rt# #### + ] + route_rules_sgw = [ + ## Start Route Rule phoenix_exa-vcn_exa-bkup-rt_exa-vcn_exa-vcn_sgw_all + { + network_entity_id = "exa-vcn_exa-vcn_sgw" + description = "" + destination = "all" + destination_type = "SERVICE_CIDR_BLOCK" + }, + ## End Route Rule phoenix_exa-vcn_exa-bkup-rt_exa-vcn_exa-vcn_sgw_all +####ADD_NEW_SGW_RULES #phoenix_exa-vcn_exa-bkup-rt# #### + ] + route_rules_ngw = [ + ####ADD_NEW_NGW_RULES #phoenix_exa-vcn_exa-bkup-rt# #### + ] + route_rules_drg = [ + ## Start Route Rule phoenix_exa-vcn_exa-bkup-rt_DRG_10.0.0.0/8 + { + network_entity_id = "DRG" + description = "" + destination = "10.0.0.0/8" + destination_type = "CIDR_BLOCK" + }, + ## End Route Rule phoenix_exa-vcn_exa-bkup-rt_DRG_10.0.0.0/8 +####ADD_NEW_DRG_RULES #phoenix_exa-vcn_exa-bkup-rt# #### + ] + route_rules_lpg = [ + ####ADD_NEW_LPG_RULES #phoenix_exa-vcn_exa-bkup-rt# #### + ] + route_rules_ip = [ + ####ADD_NEW_IP_RULES #phoenix_exa-vcn_exa-bkup-rt# #### + ] + defined_tags = {} + freeform_tags = {} + }, + # End of #phoenix_exa-vcn_exa-bkup-rt# # +##Add New Route Tables for phoenix here## +##Add New Route Tables for phoenix here## +} \ No newline at end of file diff --git a/examples/network/variables_phoenix.tf b/examples/network/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/network/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/nsg/backend.tf b/examples/nsg/backend.tf new file mode 100644 index 0000000..56cb442 --- /dev/null +++ b/examples/nsg/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/nsg/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/nsg/nsg.tf b/examples/nsg/nsg.tf new file mode 100644 index 0000000..6cac6c5 --- /dev/null +++ b/examples/nsg/nsg.tf @@ -0,0 +1,55 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Module Block - Network +# Create Network Security Groups +############################# + +data "oci_core_vcns" "oci_vcns_nsgs" { + # depends_on = [module.vcns] # Uncomment to create Network and NSGs together + for_each = var.nsgs != null ? var.nsgs : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + display_name = each.value.vcn_name +} + + + +module "nsgs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/nsg?ref=v2024.4.0" + for_each = (var.nsgs != null || var.nsgs != {}) ? var.nsgs : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + vcn_id = flatten(data.oci_core_vcns.oci_vcns_nsgs[each.key].virtual_networks.*.id)[0] + defined_tags = each.value.defined_tags + display_name = each.value.display_name + freeform_tags = each.value.freeform_tags +} + +/* +output "nsg_id_map" { + value = [ for k,v in merge(module.nsgs.*...) : v.nsg_tf_id ] +} +*/ + +module "nsg-rules" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/network/nsg-rule?ref=v2024.4.0" + for_each = (var.nsg_rules != null || var.nsg_rules != {}) ? var.nsg_rules : {} + depends_on = [module.nsgs] + + #Required + nsg_id = length(regexall("ocid1.networksecuritygroup.oc*", each.value.nsg_id)) > 0 ? each.value.nsg_id : merge(module.nsgs.*...)[each.value.nsg_id]["nsg_tf_id"] + direction = (each.value.direction == "" && each.value.direction == null) ? "INGRESS" : each.value.direction + protocol = each.value.protocol + + #Optional + description = each.value.description + destination_addr = (each.value.destination_type == "NETWORK_SECURITY_GROUP") ? merge(module.nsgs.*...)[each.value.destination]["nsg_tf_id"] : each.value.destination + destination_type = each.value.destination_type + source_addr = each.value.source_type == "NETWORK_SECURITY_GROUP" ? merge(module.nsgs.*...)[each.value.source]["nsg_tf_id"] : each.value.source + source_type = each.value.source_type + stateless = (each.value.stateless != "" && each.value.stateless != null) ? each.value.stateless : false + key_name = each.key + nsg_rules_details = var.nsg_rules +} \ No newline at end of file diff --git a/examples/nsg/oci-data.tf b/examples/nsg/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/nsg/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/nsg/provider.tf b/examples/nsg/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/nsg/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/nsg/sample_nsg-rules.auto.tfvars b/examples/nsg/sample_nsg-rules.auto.tfvars new file mode 100644 index 0000000..03ce5b8 --- /dev/null +++ b/examples/nsg/sample_nsg-rules.auto.tfvars @@ -0,0 +1,41 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Network Security Group Rules +# Sample import command for Network Security Group Rules: +# terraform import "module.nsg-rules[\"<>\"].oci_core_network_security_group_security_rule.nsg_rule" networkSecurityGroups/<>/securityRules/<> +############################ +nsg_rules = { + # NSG Rule map # + prod-vcn_prod-vcn-app-nsg_security_rule1 = { + nsg_id = "prod-vcn_prod-vcn-app-nsg" + direction = "INGRESS" + protocol = "6" + description = "Allows HTTP connections from bastion." + source_type = "NETWORK_SECURITY_GROUP" + source = "prod-vcn_prod-vcn-bastion-nsg" + options = { + tcp = [{ + destination_port_range_max = "80" + destination_port_range_min = "80" + }] + } + }, + prod-vcn_prod-vcn-bastion-nsg_security_rule1 = { + nsg_id = "prod-vcn_prod-vcn-bastion-nsg" + direction = "EGRESS" + protocol = "6" + description = "Allows SSH connections from bastion." + destination_type = "NETWORK_SECURITY_GROUP" + destination = "prod-vcn_prod-vcn-app-nsg" + options = { + tcp = [{ + destination_port_range_max = "22" + destination_port_range_min = "22" + }] + } + }, +##Add New NSG Rules for phoenix here## +} \ No newline at end of file diff --git a/examples/nsg/sample_nsgs.auto.tfvars b/examples/nsg/sample_nsgs.auto.tfvars new file mode 100644 index 0000000..eb1824d --- /dev/null +++ b/examples/nsg/sample_nsgs.auto.tfvars @@ -0,0 +1,34 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Network +# Network Security Group - tfvars +# Allowed Values: +# vcn_id can be the ocid or vcns map key +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# network_compartment_id is the compartment where VCN resides. +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# Sample import command for Network Security Group: +# terraform import "module.nsgs[\"<>\"].oci_core_network_security_group.network_security_group" <> +############################ +nsgs = { + # NSG map # + # Start of phoenix_prod-vcn_prod-vcn-app-nsg # + prod-vcn_prod-vcn-app-nsg = { + compartment_id = "Network" + network_compartment_id = "Network" + vcn_name = "prod-vcn" + display_name = "prod-vcn-app-nsg" + }, + # End of phoenix_prod-vcn_prod-vcn-app-nsg # + # Start of phoenix_prod-vcn_prod-vcn-bastion-nsg # + prod-vcn_prod-vcn-bastion-nsg = { + compartment_id = "Network" + network_compartment_id = "Network" + vcn_name = "prod-vcn" + display_name = "prod-vcn-bastion-nsg" + }, + # End of phoenix_prod-vcn_prod-vcn-bastion-nsg # +##Add New NSGs for phoenix here## +} \ No newline at end of file diff --git a/examples/nsg/variables_phoenix.tf b/examples/nsg/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/nsg/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/nsg/variables_phoenix.tf_backup b/examples/nsg/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 diff --git a/examples/ocvs/backend.tf b/examples/ocvs/backend.tf new file mode 100644 index 0000000..bfd3ee1 --- /dev/null +++ b/examples/ocvs/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/ocvs/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/ocvs/oci-data.tf b/examples/ocvs/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/ocvs/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/ocvs/provider.tf b/examples/ocvs/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/ocvs/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/ocvs/sample_sddcs.auto.tfvars b/examples/ocvs/sample_sddcs.auto.tfvars new file mode 100644 index 0000000..dd61b3f --- /dev/null +++ b/examples/ocvs/sample_sddcs.auto.tfvars @@ -0,0 +1,49 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# SDDCs +# SDDC - tfvars +# Allowed Values: +# vcn_name must be the name of the VCN as in OCI +# vlan_name must be the name of the vlan as in OCI +# subnet_id can be the ocid of the subnet or the name as in OCI +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for SDDC: +# terraform import "module.sddc[\"<>\"].oci_ocvp_sddc.sddc" <> +############################ +sddcs = { + SDDC-1--MANAGEMENT = { + compartment_id = "AppDev" + display_name = "SDDC-1" + initial_cluster_display_name = "MANAGEMENT" + availability_domain = 0 + is_hcx_enabled = "true" + vmware_software_version = "7.0 update 3" + initial_commitment = "HOUR" + initial_host_shape_name = "BM.Standard3.64" + management_datastore = ["AppDev@management_cluster_block"] + workload_datastore = ["AppDev@workload_cluster_block"] + initial_host_ocpu_count = "16" + esxi_hosts_count = 3 + instance_display_name_prefix = "mgmt" + is_shielded_instance_enabled = "false" + ssh_authorized_keys = "SDDC-1-key" + network_compartment_id = "Network" + vcn_name = "sddc-depoyment-vcn" + provisioning_subnet_id = "snet-sddc-mgmt" + nsx_edge_uplink1vlan_id = "sddc_nsxedgeuplink1_vlan" + nsx_edge_uplink2vlan_id = "sddc_nsxedgeuplink2_vlan" + nsx_edge_vtep_vlan_id = "sddc_nsxedgevtep_vlan" + nsx_vtep_vlan_id = "sddc_nsxvtep_vlan" + vmotion_vlan_id = "sddc_vmotion_vlan" + vsan_vlan_id = "sddc_vsan_vlan" + vsphere_vlan_id = "sddc_vsphere_vlan" + hcx_vlan_id = "sddc_hcx_vlan" + replication_vlan_id = "sddc_replication_vlan" + provisioning_vlan_id = "sddc_provisioning_vlan" + workload_network_cidr = "192.168.16.0/24" + }, +##Add New SDDCs for phoenix here## +} \ No newline at end of file diff --git a/examples/ocvs/sample_sddcs_cluster.auto.tfvars b/examples/ocvs/sample_sddcs_cluster.auto.tfvars new file mode 100644 index 0000000..a28773f --- /dev/null +++ b/examples/ocvs/sample_sddcs_cluster.auto.tfvars @@ -0,0 +1,45 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# SDDC cluster +# SDDC cluster - tfvars +# Allowed Values: +# vcn_name must be the name of the VCN as in OCI +# vlan_name must be the name of the vlan as in OCI +# subnet_id can be the ocid of the subnet or the name as in OCI +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# Sample import command for SDDC Workload Cluster: +# terraform import "module.sddc-clusters[\"<>\"].oci_ocvp_cluster.sddc_cluster" <> +############################ +sddc-clusters = { + SDDC-1--CLUSTER-1 = { + compartment_id = "AppDev" + sddc_id = "SDDC-1" + display_name = "CLUSTER-1" + availability_domain = 0 + vmware_software_version = "7.0 update 3" + initial_commitment = "HOUR" + initial_host_shape_name = "BM.DenseIO2.52" + initial_host_ocpu_count = "52" + esxi_hosts_count = 3 + instance_display_name_prefix = "wrkld" + is_shielded_instance_enabled = "false" + network_compartment_id = "Network" + vcn_name = "sddc-depoyment-vcn" + provisioning_subnet_id = "snet-sddc-mgmt" + nsx_edge_uplink1vlan_id = "sddc_nsxedgeuplink1_vlan" + nsx_edge_uplink2vlan_id = "" + nsx_edge_vtep_vlan_id = "sddc_nsxedgevtep_vlan" + nsx_vtep_vlan_id = "sddc_nsxvtep_vlan" + vmotion_vlan_id = "sddc_vmotion_vlan" + vsan_vlan_id = "sddc_vsan_vlan" + vsphere_vlan_id = "sddc_vsphere_vlan" + hcx_vlan_id = "sddc_hcx_vlan" + replication_vlan_id = "sddc_replication_vlan" + provisioning_vlan_id = "sddc_provisioning_vlan" + workload_network_cidr = "192.168.19.0/24" + }, +##Add New SDDCs for phoenix here## +} \ No newline at end of file diff --git a/examples/ocvs/sddc.tf b/examples/ocvs/sddc.tf new file mode 100644 index 0000000..c5fd56f --- /dev/null +++ b/examples/ocvs/sddc.tf @@ -0,0 +1,243 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################################ +# Module Block SDDC +# Create SDDC +############################################ + +locals { + vlan_ids = ["nsx_edge_uplink1vlan_id", "nsx_edge_uplink2vlan_id", "nsx_edge_vtep_vlan_id", "nsx_vtep_vlan_id", "vmotion_vlan_id", "vsan_vlan_id", "vsphere_vlan_id", "replication_vlan_id", "provisioning_vlan_id", "hcx_vlan_id"] + vlan_config = flatten([for index in local.vlan_ids : [ + for key, val in var.sddcs : { + #(index) = lookup(val, index, 0) + compartment_id = val.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", val.network_compartment_id)) > 0 ? val.network_compartment_id : var.compartment_ocids[val.network_compartment_id]) : null + display_name = lookup(val, index, 0) + vcn_id = data.oci_core_vcns.oci_vcns_sddc[key].virtual_networks.*.id[0] + } + ]]) + + ds_vols = flatten([for key, val in var.sddcs : [ + for item in concat(local.mgmt_vols[val.display_name], local.wkld_vols[val.display_name]) : { + volume_display_name = item.volume_display_name + volume_compartment_id = item.volume_compartment_id + } + ]]) + + mgmt_vols = { for key, val in var.sddcs : + val.display_name => try([for item in val.management_datastore : { + volume_compartment_id = try(split("@", item)[0], null) + volume_display_name = try(split("@", item)[1], null) + }], []) } + + wkld_vols = { for key, val in var.sddcs : + val.display_name => try([for item in val.workload_datastore : + { + volume_compartment_id = try(split("@", item)[0], null) + volume_display_name = try(split("@", item)[1], null) + }], []) } + + management_datastores = { for key, val in var.sddcs : key => (val.management_datastore != null ? [for value in val.management_datastore : data.oci_core_volumes.ds_volumes[split("@", value)[1]].volumes.*.id[0]] : []) + } + + workload_datastores = { for key, val in var.sddcs : key => (val.workload_datastore != null ? [for value in val.workload_datastore : data.oci_core_volumes.ds_volumes[split("@", value)[1]].volumes.*.id[0]] : []) + } +} + +data "oci_core_volumes" "ds_volumes" { + for_each = { for value in local.ds_vols : value.volume_display_name => value.volume_compartment_id if value.volume_display_name != null } + compartment_id = each.value != null ? (length(regexall("ocid1.compartment.oc1*", each.value)) > 0 ? each.value : var.compartment_ocids[each.value]) : var.compartment_ocids[each.value] + display_name = each.key + state = "AVAILABLE" + +} + +data "oci_core_vcns" "oci_vcns_sddc" { + # depends_on = [module.vcns] # Uncomment to create Network and Instances together + for_each = var.sddcs != null ? var.sddcs : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +data "oci_core_subnets" "oci_subnets_sddc" { + # depends_on = [module.subnets] # Uncomment to create Network and Instances together + for_each = var.sddcs != null ? var.sddcs : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.provisioning_subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_sddc[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vlans" "sddc_vlan_id" { + #Required + for_each = { for vlan in local.vlan_config : vlan.display_name => vlan if vlan.display_name != null } + compartment_id = each.value.compartment_id + display_name = each.key + vcn_id = each.value.vcn_id +} + +module "sddcs" { + #depends_on = [module.vlans] + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/sddc/sddc?ref=v2024.4.0" + for_each = var.sddcs != null ? var.sddcs : {} + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + compute_availability_domain = each.value.availability_domain == "multi-AD" ? each.value.availability_domain : (each.value.availability_domain != "" && each.value.availability_domain != null) ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + esxi_hosts_count = each.value.esxi_hosts_count != "" ? each.value.esxi_hosts_count : null + nsx_edge_uplink1vlan_id = each.value.nsx_edge_uplink1vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_edge_uplink1vlan_id)) > 0 ? each.value.nsx_edge_uplink1vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.nsx_edge_uplink1vlan_id].vlans[0].id) : null + nsx_edge_uplink2vlan_id = each.value.nsx_edge_uplink2vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_edge_uplink2vlan_id)) > 0 ? each.value.nsx_edge_uplink2vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.nsx_edge_uplink2vlan_id].vlans[0].id) : null + nsx_edge_vtep_vlan_id = each.value.nsx_edge_vtep_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_edge_vtep_vlan_id)) > 0 ? each.value.nsx_edge_vtep_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.nsx_edge_vtep_vlan_id].vlans[0].id) : null + nsx_vtep_vlan_id = each.value.nsx_vtep_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_vtep_vlan_id)) > 0 ? each.value.nsx_vtep_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.nsx_vtep_vlan_id].vlans[0].id) : null + provisioning_subnet_id = each.value.provisioning_subnet_id != "" ? (length(regexall("ocid1.subnet.oc1*", each.value.provisioning_subnet_id)) > 0 ? each.value.provisioning_subnet_id : data.oci_core_subnets.oci_subnets_sddc[each.key].subnets.*.id[0]) : null + ssh_authorized_keys = each.value.ssh_authorized_keys != null ? (length(regexall("ssh-rsa*", each.value.ssh_authorized_keys)) > 0 ? each.value.ssh_authorized_keys : lookup(var.sddc_ssh_keys, each.value.ssh_authorized_keys, null)) : null + vmotion_vlan_id = each.value.vmotion_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.vmotion_vlan_id)) > 0 ? each.value.vmotion_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.vmotion_vlan_id].vlans[0].id) : null + vmware_software_version = each.value.vmware_software_version != "" ? each.value.vmware_software_version : null + vsan_vlan_id = each.value.vsan_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.vsan_vlan_id)) > 0 ? each.value.vsan_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.vsan_vlan_id].vlans[0].id) : null + vsphere_vlan_id = each.value.vsphere_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.vsphere_vlan_id)) > 0 ? each.value.vsphere_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.vsphere_vlan_id].vlans[0].id) : null + #Optional + initial_host_ocpu_count = each.value.initial_host_ocpu_count != "" ? each.value.initial_host_ocpu_count : null + initial_host_shape_name = each.value.initial_host_shape_name != "" ? each.value.initial_host_shape_name : null + capacity_reservation_id = each.value.capacity_reservation_id != "" ? each.value.capacity_reservation_id : null + initial_cluster_display_name = each.value.initial_cluster_display_name != "" ? each.value.initial_cluster_display_name : null #new addition + display_name = each.value.display_name != "" ? each.value.display_name : null #edited + defined_tags = each.value.defined_tags != {} ? each.value.defined_tags : {} + freeform_tags = each.value.freeform_tags != {} ? each.value.freeform_tags : {} + hcx_action = each.value.hcx_action != "" ? each.value.hcx_action : null + hcx_vlan_id = each.value.hcx_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.hcx_vlan_id)) > 0 ? each.value.hcx_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.hcx_vlan_id].vlans[0].id) : null + initial_commitment = each.value.initial_commitment != "" ? each.value.initial_commitment : null + instance_display_name_prefix = each.value.instance_display_name_prefix != "" ? each.value.instance_display_name_prefix : null + is_hcx_enabled = each.value.is_hcx_enabled != "" ? each.value.is_hcx_enabled : null + is_shielded_instance_enabled = each.value.is_shielded_instance_enabled != "" ? each.value.is_shielded_instance_enabled : null + is_single_host_sddc = each.value.is_single_host_sddc != "" ? each.value.is_single_host_sddc : null + provisioning_vlan_id = each.value.provisioning_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.provisioning_vlan_id)) > 0 ? each.value.provisioning_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.provisioning_vlan_id].vlans[0].id) : null + refresh_hcx_license_status = each.value.refresh_hcx_license_status != "" ? each.value.refresh_hcx_license_status : null + replication_vlan_id = each.value.replication_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.replication_vlan_id)) > 0 ? each.value.replication_vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.replication_vlan_id].vlans[0].id) : null + reserving_hcx_on_premise_license_keys = each.value.reserving_hcx_on_premise_license_keys != "" ? each.value.reserving_hcx_on_premise_license_keys : null + workload_network_cidr = each.value.workload_network_cidr != "" ? each.value.workload_network_cidr : null + management_datastore = local.management_datastores[each.key] != null ? local.management_datastores[each.key] : [] + workload_datastore = local.workload_datastores[each.key] != null ? local.workload_datastores[each.key] : [] + +} + +############################################ +# Module Block SDDC-Cluster +# Create additional SDDC-Cluster +############################################ + +locals { + vlan_ids_sddc_cluster = ["nsx_edge_uplink1vlan_id", "nsx_edge_uplink2vlan_id", "nsx_edge_vtep_vlan_id", "nsx_vtep_vlan_id", "vmotion_vlan_id", "vsan_vlan_id", "vsphere_vlan_id", "replication_vlan_id", "provisioning_vlan_id", "hcx_vlan_id"] + vlan_config_sddc_cluster = flatten([for index in local.vlan_ids_sddc_cluster : [ + for key, val in var.sddc-clusters : { + #(index) = lookup(val, index, 0) + compartment_id = val.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", val.network_compartment_id)) > 0 ? val.network_compartment_id : var.compartment_ocids[val.network_compartment_id]) : null + display_name = lookup(val, index, 0) + vcn_id = data.oci_core_vcns.oci_vcns_sddc_cluster[key].virtual_networks.*.id[0] + } + ]]) + + ##grouping by display name + group_display_name = { + for item in local.vlan_config_sddc_cluster : item.display_name => item... + } + #removing duplicate entry + deduplicated_vlan_config = { + for key, value in local.group_display_name : key => value[0] + } + #converting map to a list + deduplicated_vlan_list = values(local.deduplicated_vlan_config) + + + ds_vols_sddc_cluster = flatten([for key, val in var.sddc-clusters : [ + #for item in concat(local.mgmt_vols_sddc_cluster[val.display_name],local.wkld_vols_sddc_cluster[val.display_name]): { + for item in local.wkld_vols_sddc_cluster[val.display_name] : { + volume_display_name = item.volume_display_name + volume_compartment_id = item.volume_compartment_id + } + ]]) + + wkld_vols_sddc_cluster = { for key, val in var.sddc-clusters : + val.display_name => try([for item in val.workload_datastore : + { + volume_compartment_id = try(split("@", item)[0], null) + volume_display_name = try(split("@", item)[1], null) + }], []) } + + + workload_datastores_sddc_cluster = { for key, val in var.sddc-clusters : key => (val.workload_datastore != null ? [for value in val.workload_datastore : data.oci_core_volumes.ds_volumes_sddc_cluster[split("@", value)[1]].volumes.*.id[0]] : []) + } +} + +data "oci_core_volumes" "ds_volumes_sddc_cluster" { + for_each = { for value in local.ds_vols_sddc_cluster : value.volume_display_name => value.volume_compartment_id if value.volume_display_name != null } + compartment_id = each.value != null ? (length(regexall("ocid1.compartment.oc1*", each.value)) > 0 ? each.value : var.compartment_ocids[each.value]) : var.compartment_ocids[each.value] + display_name = each.key + state = "AVAILABLE" + +} + +data "oci_core_vcns" "oci_vcns_sddc_cluster" { + #depends_on = [module.vcns] # Uncomment to create Network and Instances together + for_each = var.sddc-clusters != null ? var.sddc-clusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +data "oci_core_subnets" "oci_subnets_sddc_cluster" { + #depends_on = [module.subnets] # Uncomment to create Network and Instances together + for_each = var.sddc-clusters != null ? var.sddc-clusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.provisioning_subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_sddc_cluster[each.key].virtual_networks.*.id[0] +} + +data "oci_core_vlans" "sddc_cluster_vlan_id" { + #depends_on = [module.vlans] + #Required + for_each = { for vlan in local.deduplicated_vlan_list : vlan.display_name => vlan if vlan.display_name != null } + compartment_id = each.value.compartment_id + display_name = each.key + vcn_id = each.value.vcn_id +} + +data "oci_ocvp_sddcs" "oci_sddcs" { + depends_on = [module.sddcs] + for_each = var.sddc-clusters != null ? var.sddc-clusters : {} + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.sddc_id + state = "ACTIVE" +} + +module "sddc-clusters" { + #depends_on = [module.nsgs, module.vcns, module.route-tables, module.vlans, module.sddcs] + depends_on = [module.sddcs] + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/sddc/sddc-cluster?ref=v2024.4.0" + for_each = var.sddc-clusters != null ? var.sddc-clusters : {} + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc1*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + compute_availability_domain = each.value.availability_domain == "multi-AD" ? each.value.availability_domain : (each.value.availability_domain != "" && each.value.availability_domain != null) ? data.oci_identity_availability_domains.availability_domains.availability_domains[each.value.availability_domain].name : "" + display_name = each.value.display_name != "" ? each.value.display_name : null + vmware_software_version = each.value.vmware_software_version != "" ? each.value.vmware_software_version : null + initial_commitment = each.value.initial_commitment != "" ? each.value.initial_commitment : null + initial_host_ocpu_count = each.value.initial_host_ocpu_count != "" ? each.value.initial_host_ocpu_count : null + initial_host_shape_name = each.value.initial_host_shape_name != "" ? each.value.initial_host_shape_name : null + esxi_hosts_count = each.value.esxi_hosts_count != "" ? each.value.esxi_hosts_count : null + instance_display_name_prefix = each.value.instance_display_name_prefix != "" ? each.value.instance_display_name_prefix : null + is_shielded_instance_enabled = each.value.is_shielded_instance_enabled != "" ? each.value.is_shielded_instance_enabled : null + nsx_edge_uplink1vlan_id = each.value.nsx_edge_uplink1vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_edge_uplink1vlan_id)) > 0 ? each.value.nsx_edge_uplink1vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.nsx_edge_uplink1vlan_id].vlans[0].id) : null + nsx_edge_uplink2vlan_id = each.value.nsx_edge_uplink2vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_edge_uplink2vlan_id)) > 0 ? each.value.nsx_edge_uplink2vlan_id : data.oci_core_vlans.sddc_vlan_id[each.value.nsx_edge_uplink2vlan_id].vlans[0].id) : null + nsx_edge_vtep_vlan_id = each.value.nsx_edge_vtep_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_edge_vtep_vlan_id)) > 0 ? each.value.nsx_edge_vtep_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.nsx_edge_vtep_vlan_id].vlans[0].id) : null + nsx_vtep_vlan_id = each.value.nsx_vtep_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.nsx_vtep_vlan_id)) > 0 ? each.value.nsx_vtep_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.nsx_vtep_vlan_id].vlans[0].id) : null + provisioning_subnet_id = each.value.provisioning_subnet_id != "" ? (length(regexall("ocid1.subnet.oc1*", each.value.provisioning_subnet_id)) > 0 ? each.value.provisioning_subnet_id : data.oci_core_subnets.oci_subnets_sddc_cluster[each.key].subnets.*.id[0]) : null + vmotion_vlan_id = each.value.vmotion_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.vmotion_vlan_id)) > 0 ? each.value.vmotion_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.vmotion_vlan_id].vlans[0].id) : null + vsan_vlan_id = each.value.vsan_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.vsan_vlan_id)) > 0 ? each.value.vsan_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.vsan_vlan_id].vlans[0].id) : null + vsphere_vlan_id = each.value.vsphere_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.vsphere_vlan_id)) > 0 ? each.value.vsphere_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.vsphere_vlan_id].vlans[0].id) : null + replication_vlan_id = each.value.replication_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.replication_vlan_id)) > 0 ? each.value.replication_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.replication_vlan_id].vlans[0].id) : null + hcx_vlan_id = each.value.hcx_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.hcx_vlan_id)) > 0 ? each.value.hcx_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.hcx_vlan_id].vlans[0].id) : null + provisioning_vlan_id = each.value.provisioning_vlan_id != null ? (length(regexall("ocid1.vlan.oc1*", each.value.provisioning_vlan_id)) > 0 ? each.value.provisioning_vlan_id : data.oci_core_vlans.sddc_cluster_vlan_id[each.value.provisioning_vlan_id].vlans[0].id) : null + workload_network_cidr = each.value.workload_network_cidr != "" ? each.value.workload_network_cidr : null + sddc_id = each.value.sddc_id != null ? (length(regexall("ocid1.vmwaresddc.oc1*", each.value.sddc_id)) > 0 ? each.value.sddc_id : data.oci_ocvp_sddcs.oci_sddcs[each.key].sddc_collection[0].id) : null + workload_datastore = local.workload_datastores_sddc_cluster[each.key] != null ? local.workload_datastores_sddc_cluster[each.key] : [] + defined_tags = each.value.defined_tags != {} ? each.value.defined_tags : {} + freeform_tags = each.value.freeform_tags != {} ? each.value.freeform_tags : {} + esxi_software_version = each.value.esxi_software_version != "" ? each.value.esxi_software_version : null + ssh_authorized_keys = each.value.ssh_authorized_keys != null ? (length(regexall("ssh-rsa*", each.value.ssh_authorized_keys)) > 0 ? each.value.ssh_authorized_keys : lookup(var.sddc_ssh_keys, each.value.ssh_authorized_keys, null)) : null +} \ No newline at end of file diff --git a/examples/ocvs/variables_phoenix.tf b/examples/ocvs/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/ocvs/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/ocvs/variables_phoenix.tf_backup b/examples/ocvs/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 diff --git a/examples/oke/backend.tf b/examples/oke/backend.tf new file mode 100644 index 0000000..f7cc5b5 --- /dev/null +++ b/examples/oke/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/oke/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/oke/oci-data.tf b/examples/oke/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/oke/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/oke/oke.tf b/examples/oke/oke.tf new file mode 100644 index 0000000..3527e8d --- /dev/null +++ b/examples/oke/oke.tf @@ -0,0 +1,161 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +####################################### +# Module Block - OKE +# Create OKE clusters and Nodepools +####################################### + + +data "oci_core_subnets" "oci_subnets_endpoint" { + # depends_on = [module.subnets] # Uncomment to create Network and OKE together + for_each = var.clusters != null ? var.clusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.endpoint_subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_cluster[each.key].virtual_networks.*.id[0] +} + + +data "oci_core_subnets" "oci_subnets_worker" { + # depends_on = [module.subnets] # Uncomment to create Network and OKE together + for_each = var.nodepools != null ? var.nodepools : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_nodepool[each.key].virtual_networks.*.id[0] +} + +data "oci_core_subnets" "oci_subnets_pod" { + # depends_on = [module.subnets] # Uncomment to create Network and OKE together + for_each = var.nodepools != null ? var.nodepools : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.pod_subnet_ids + vcn_id = data.oci_core_vcns.oci_vcns_nodepool[each.key].virtual_networks.*.id[0] +} + +data "oci_core_subnets" "oci_subnets_virtual_worker" { + # depends_on = [module.subnets] # Uncomment to create Network and OKE together + for_each = var.virtual-nodepools != null ? var.virtual-nodepools : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_virtual_nodepool[each.key].virtual_networks.*.id[0] +} + +data "oci_core_subnets" "oci_subnets_virtual_pod" { + # depends_on = [module.subnets] # Uncomment to create Network and OKE together + for_each = var.virtual-nodepools != null ? var.virtual-nodepools : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.pod_subnet_id + vcn_id = data.oci_core_vcns.oci_vcns_virtual_nodepool[each.key].virtual_networks.*.id[0] +} + + +data "oci_core_vcns" "oci_vcns_cluster" { + # depends_on = [module.vcns] # Uncomment to create Network and OKE together + for_each = var.clusters != null ? var.clusters : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +data "oci_core_vcns" "oci_vcns_nodepool" { + # depends_on = [module.vcns] # Uncomment to create Network and OKE together + for_each = var.nodepools != null ? var.nodepools : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +data "oci_core_vcns" "oci_vcns_virtual_nodepool" { + # depends_on = [module.vcns] # Uncomment to create Network and OKE together + for_each = var.virtual-nodepools != null ? var.virtual-nodepools : {} + compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.network_compartment_id] + display_name = each.value.vcn_name +} + +module "clusters" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/oke/cluster?ref=v2024.4.0" + for_each = var.clusters + display_name = each.value.display_name + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id] + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : var.compartment_ocids[each.value.compartment_id] + vcn_names = [each.value.vcn_name] + type = each.value.cluster_type + is_policy_enabled = each.value.is_policy_enabled + policy_kms_key_id = each.value.policy_kms_key_id + kubernetes_version = each.value.kubernetes_version + is_kubernetes_dashboard_enabled = each.value.is_kubernetes_dashboard_enabled + is_tiller_enabled = each.value.is_tiller_enabled + cni_type = each.value.cni_type + is_public_ip_enabled = each.value.is_public_ip_enabled + nsg_ids = each.value.nsg_ids + endpoint_subnet_id = length(regexall("ocid1.subnet.oc*", each.value.endpoint_subnet_id)) > 0 ? each.value.endpoint_subnet_id : data.oci_core_subnets.oci_subnets_endpoint[each.key].subnets.*.id[0] + is_pod_security_policy_enabled = each.value.is_pod_security_policy_enabled + pods_cidr = each.value.pods_cidr + services_cidr = each.value.services_cidr + service_lb_subnet_ids = each.value.service_lb_subnet_ids + kms_key_id = each.value.cluster_kms_key_id + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + volume_defined_tags = each.value.volume_defined_tags + volume_freeform_tags = each.value.volume_freeform_tags + lb_defined_tags = each.value.lb_defined_tags + lb_freeform_tags = each.value.lb_freeform_tags +} + +module "nodepools" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/oke/nodepool?ref=v2024.4.0" + for_each = var.nodepools + tenancy_ocid = var.tenancy_ocid + display_name = each.value.display_name + availability_domain = each.value.availability_domain + fault_domains = each.value.fault_domains + cluster_name = length(regexall("ocid1.cluster.oc*", each.value.cluster_name)) > 0 ? each.value.cluster_name : merge(module.clusters.*...)[each.value.cluster_name]["cluster_tf_id"] + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + vcn_names = [each.value.vcn_name] + node_shape = each.value.node_shape + initial_node_labels = each.value.initial_node_labels + kubernetes_version = each.value.kubernetes_version + subnet_id = length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_subnets_worker[each.key].subnets.*.id[0] + size = each.value.size + is_pv_encryption_in_transit_enabled = each.value.is_pv_encryption_in_transit_enabled + cni_type = each.value.cni_type + max_pods_per_node = each.value.max_pods_per_node + pod_nsg_ids = each.value.pod_nsg_ids + pod_subnet_ids = each.value.pod_subnet_ids != null ? (length(regexall("ocid1.subnet.oc*", each.value.pod_subnet_ids)) > 0 ? each.value.pod_subnet_ids : data.oci_core_subnets.oci_subnets_pod[each.key].subnets.*.id[0]) : null + worker_nsg_ids = each.value.worker_nsg_ids + memory_in_gbs = each.value.memory_in_gbs + ocpus = each.value.ocpus + image_id = length(regexall("ocid1.image.oc*", each.value.image_id)) > 0 ? each.value.image_id : var.oke_source_ocids[each.value.image_id] + source_type = each.value.source_type + boot_volume_size_in_gbs = each.value.boot_volume_size_in_gbs + ssh_public_key = each.value.ssh_public_key != null ? (length(regexall("ssh-rsa*", each.value.ssh_public_key)) > 0 ? each.value.ssh_public_key : lookup(var.oke_ssh_keys, each.value.ssh_public_key, null)) : null + kms_key_id = each.value.nodepool_kms_key_id + node_defined_tags = each.value.node_defined_tags + node_freeform_tags = each.value.node_freeform_tags + nodepool_defined_tags = each.value.nodepool_defined_tags + nodepool_freeform_tags = each.value.nodepool_freeform_tags +} + +module "virtual-nodepools" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/oke/virtual-nodepool?ref=v2024.4.0" + for_each = var.virtual-nodepools + tenancy_ocid = var.tenancy_ocid + display_name = each.value.display_name + availability_domain = each.value.availability_domain + fault_domains = each.value.fault_domains + cluster_name = length(regexall("ocid1.cluster.oc*", each.value.cluster_name)) > 0 ? each.value.cluster_name : merge(module.clusters.*...)[each.value.cluster_name]["cluster_tf_id"] + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + network_compartment_id = each.value.network_compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.network_compartment_id)) > 0 ? each.value.network_compartment_id : var.compartment_ocids[each.value.network_compartment_id]) : null + vcn_names = [each.value.vcn_name] + node_shape = each.value.node_shape + initial_virtual_node_labels = each.value.initial_virtual_node_labels + taints = each.value.taints + subnet_id = length(regexall("ocid1.subnet.oc*", each.value.subnet_id)) > 0 ? each.value.subnet_id : data.oci_core_subnets.oci_subnets_virtual_worker[each.key].subnets.*.id[0] + size = each.value.size + pod_nsg_ids = each.value.pod_nsg_ids + pod_subnet_id = (length(regexall("ocid1.subnet.oc*", each.value.pod_subnet_id)) > 0 ? each.value.pod_subnet_id : data.oci_core_subnets.oci_subnets_virtual_pod[each.key].subnets.*.id[0]) + worker_nsg_ids = each.value.worker_nsg_ids + node_defined_tags = each.value.node_defined_tags + node_freeform_tags = each.value.node_freeform_tags + nodepool_defined_tags = each.value.nodepool_defined_tags + nodepool_freeform_tags = each.value.nodepool_freeform_tags +} \ No newline at end of file diff --git a/examples/oke/provider.tf b/examples/oke/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/oke/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/oke/sample_oke_clusters.auto.tfvars b/examples/oke/sample_oke_clusters.auto.tfvars new file mode 100644 index 0000000..5feff76 --- /dev/null +++ b/examples/oke/sample_oke_clusters.auto.tfvars @@ -0,0 +1,47 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Developer Services +# OKE Cluster - tfvars +# Allowed Values: +# vcn_name must be the name of the VCN as in OCI +# endpoint_subnet_id and service_lb_subnet_ids can be the ocid of the subnet or the name as in OCI +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# nsg_ids can be the ocid of the nsg or the name in OCI +# Sample import command for cluster: +# terraform import "module.clusters[\"<>\"].oci_containerengine_cluster.cluster" <> +############################# +clusters = { + cluster1 = { + display_name = "cluster1" + compartment_id = "AppDev" + network_compartment_id = "Network" + vcn_name = "prod-vcn" + cluster_type = "BASIC_CLUSTER" + kubernetes_version = "v1.28.2" + cni_type = "FLANNEL_OVERLAY" + is_public_ip_enabled = "false" + nsg_ids = ["prod-vcn-lbr-nsg"] + endpoint_subnet_id = "prod-web" + is_pod_security_policy_enabled = "true" + pods_cidr = "10.244.0.0/16" + services_cidr = "10.96.0.0/16" + service_lb_subnet_ids = ["prod-web"] + }, + cluster2 = { + display_name = "cluster2" + compartment_id = "AppDev" + network_compartment_id = "Network" + vcn_name = "prod-vcn" + cluster_type = "ENHANCED_CLUSTER" + kubernetes_version = "v1.28.2" + cni_type = "OCI_VCN_IP_NATIVE" + is_public_ip_enabled = "false" + endpoint_subnet_id = "prod-web" + is_pod_security_policy_enabled = "false" + service_lb_subnet_ids = ["prod-web"] + }, +##Add New Cluster for phoenix here## +} \ No newline at end of file diff --git a/examples/oke/sample_oke_nodepools.auto.tfvars b/examples/oke/sample_oke_nodepools.auto.tfvars new file mode 100644 index 0000000..0a2d6da --- /dev/null +++ b/examples/oke/sample_oke_nodepools.auto.tfvars @@ -0,0 +1,66 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Developer Services +# OKE Nodepool - tfvars +# Allowed Values: +# vcn_name must be the name of the VCN as in OCI +# subnet_id and pod_subnet_ids can be the ocid of the subnet or the name as in OCI +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# pod_nsg_ids and worker_nsg_ids can be the ocids of the nsgs or the name in OCI +# Sample import command for nodepool: +# terraform import "module.nodepools[\"<>\"].oci_containerengine_node_pool.nodepool" <> +############################# +nodepools = { + cluster1_nodepool1 = { + display_name = "nodepool1" + cluster_name = "cluster1" + compartment_id = "AppDev" + kubernetes_version = "v1.28.2" + node_shape = "VM.Standard3.Flex" + memory_in_gbs = 32 + ocpus = 2 + image_id = "Linux" + source_type = "IMAGE" + boot_volume_size_in_gbs = 32 + initial_node_labels = { + "label" = "node1" , + "application" = "app1" + } + availability_domain = 2 + fault_domains = ["FAULT-DOMAIN-1"] + network_compartment_id = "Network" + vcn_name = "prod-vcn" + subnet_id = "prod-app" + size = 1 + cni_type = "FLANNEL_OVERLAY" + worker_nsg_ids = ["prod-vcn-app-nsg"] + ssh_public_key = "ssh_public_key" + }, + cluster1_nodepool2 = { + display_name = "nodepool2" + cluster_name = "cluster1" + compartment_id = "AppDev" + kubernetes_version = "v1.28.2" + node_shape = "VM.Standard.E3.Flex" + memory_in_gbs = 16 + ocpus = 1 + image_id = "Linux" + source_type = "IMAGE" + boot_volume_size_in_gbs = 32 + initial_node_labels = { + "label" = "node2" + } + availability_domain = 1 + fault_domains = ["FAULT-DOMAIN-1","FAULT-DOMAIN-2"] + network_compartment_id = "Network" + vcn_name = "prod-vcn" + subnet_id = "prod-app" + size = 2 + cni_type = "FLANNEL_OVERLAY" + ssh_public_key = "ssh_public_key" + }, +##Add New Nodepool for phoenix here## +} \ No newline at end of file diff --git a/examples/oke/sample_oke_virtual-nodepools.auto.tfvars b/examples/oke/sample_oke_virtual-nodepools.auto.tfvars new file mode 100644 index 0000000..c6c8206 --- /dev/null +++ b/examples/oke/sample_oke_virtual-nodepools.auto.tfvars @@ -0,0 +1,44 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################# +# Developer Services +# OKE Nodepool - tfvars +# Allowed Values: +# vcn_name must be the name of the VCN as in OCI +# subnet_id and pod_subnet_ids can be the ocid of the subnet or the name as in OCI +# compartment_id and network_compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "AppDev--Prod" where "AppDev" is the parent of "Prod" compartment +# pod_nsg_ids and worker_nsg_ids can be the ocids of the nsgs or the name in OCI +# Sample import command for nodepool: +# terraform import "module.nodepools[\"<>\"].oci_containerengine_node_pool.nodepool" <> +############################# +virtual-nodepools = { + cluster2_nodepool1 = { + display_name = "nodepool1" + cluster_name = "cluster2" + compartment_id = "AppDev" + node_shape = "Pod.Standard.E4.Flex" + taints = [ + { + "key" = "testkey1" + "value" = "testval1" + "effect" = "NoSchedule" + }, + { + "key" = "testkey2" + "value" = "testval2" + "effect" = "NoExecute" + }, + ] + availability_domain = 2 + fault_domains = ["FAULT-DOMAIN-1","FAULT-DOMAIN-2"] + network_compartment_id = "Network" + vcn_name = "prod-vcn" + subnet_id = "prod-app" + size = 1 + pod_subnet_id = "prod-app" + worker_nsg_ids = ["prod-vcn-app-nsg"] + }, +##Add New Virtual Nodepool for phoenix here## +} \ No newline at end of file diff --git a/examples/oke/variables_phoenix.tf b/examples/oke/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/oke/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/oke/variables_phoenix.tf_backup b/examples/oke/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 diff --git a/examples/oss/backend.tf b/examples/oss/backend.tf new file mode 100644 index 0000000..f052794 --- /dev/null +++ b/examples/oss/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/oss/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/oss/object-storage.tf b/examples/oss/object-storage.tf new file mode 100644 index 0000000..e693db6 --- /dev/null +++ b/examples/oss/object-storage.tf @@ -0,0 +1,130 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - Object Storage +# Create Object Storage Policies +############################ + +data "oci_objectstorage_namespace" "bucket_namespace" { + #Optional + compartment_id = var.tenancy_ocid +} + +module "oss-policies" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/identity/iam-policy?ref=v2024.4.0" + for_each = var.oss_policies != null ? var.oss_policies : {} + + tenancy_ocid = var.tenancy_ocid + policy_name = each.value.name + policy_compartment_id = each.value.compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + policy_description = each.value.policy_description + policy_statements = each.value.policy_statements + + #Optional + defined_tags = each.value.defined_tags != {} ? each.value.defined_tags : {} + freeform_tags = each.value.freeform_tags != {} ? each.value.freeform_tags : {} + policy_version_date = each.value.policy_version_date != null ? each.value.policy_version_date : null +} + +/* +output "oss_policies_id_map" { + value = [ for k,v in merge(module.oss-policies.*...) : v.policies_id_map] +} +*/ + +############################# +# Module Block - Object Storage +# Create Object Storage +############################# + +module "oss-buckets" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/storage/object-storage?ref=v2024.4.0" + for_each = var.buckets != null ? var.buckets : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + name = each.value.name + namespace = data.oci_objectstorage_namespace.bucket_namespace.namespace + + #Optional + access_type = each.value.access_type != "" ? each.value.access_type : null # Defaults to 'NoPublicAccess' as per hashicorp terraform + auto_tiering = each.value.auto_tiering != "" ? each.value.auto_tiering : null # Defaults to 'Disabled' as per hashicorp terraform + defined_tags = each.value.defined_tags != {} ? each.value.defined_tags : {} + freeform_tags = each.value.freeform_tags != {} ? each.value.freeform_tags : {} + kms_key_id = each.value.kms_key_id != "" ? each.value.kms_key_id : null + #metadata = each.value.metadata != {} ? each.value.metadata : {} + object_events_enabled = each.value.object_events_enabled != "" ? each.value.object_events_enabled : null # Defaults to 'false' as per hashicorp terraform + storage_tier = each.value.storage_tier != "" ? each.value.storage_tier : null # Defaults to 'Standard' as per hashicorp terraform + versioning = each.value.versioning != "" ? each.value.versioning : null + retention_rules = each.value.retention_rules + bucket = each.value.name + replication_policy = coalesce(each.value.replication_policy, null) + lifecycle_policy = each.value.lifecycle_policy + rules = each.value.lifecycle_policy.rules + +} + +############################# +# Module Block - OSS Logging +# Create Object Storage Log Groups and Logs +############################# + +data "oci_objectstorage_bucket" "buckets" { + depends_on = [module.oss-buckets] + for_each = var.oss_logs != null ? var.oss_logs : {} + #Required + name = each.value.resource + namespace = data.oci_objectstorage_namespace.bucket_namespace.namespace +} + +module "oss-log-groups" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log-group?ref=v2024.4.0" + for_each = var.oss_log_groups != null ? var.oss_log_groups : {} + + # Log Groups + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + + display_name = each.value.display_name + + #Optional + defined_tags = each.value.defined_tags + description = each.value.description + freeform_tags = each.value.freeform_tags +} + +/* +output "oss_log_group_map" { + value = [ for k,v in merge(module.oss-log-groups.*...) : v.log_group_tf_id ] +} +*/ + +module "oss-logs" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/managementservices/log?ref=v2024.4.0" + for_each = var.oss_logs != null ? var.oss_logs : {} + + # Logs + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + display_name = each.value.display_name + log_group_id = length(regexall("ocid1.loggroup.oc*", each.value.log_group_id)) > 0 ? each.value.log_group_id : merge(module.oss-log-groups.*...)[each.value.log_group_id]["log_group_tf_id"] + + log_type = each.value.log_type + #Required + source_category = each.value.category + source_resource = length(regexall("ocid1.*", each.value.resource)) > 0 ? each.value.resource : data.oci_objectstorage_bucket.buckets[each.key].name + source_service = each.value.service + source_type = each.value.source_type + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + log_is_enabled = (each.value.is_enabled == "" || each.value.is_enabled == null) ? true : each.value.is_enabled + log_retention_duration = (each.value.retention_duration == "" || each.value.retention_duration == null) ? 30 : each.value.retention_duration + +} + +/* +output "oss_logs_id" { + value = [ for k,v in merge(module.oss-logs.*...) : v.log_tf_id] +} +*/ \ No newline at end of file diff --git a/examples/oss/oci-data.tf b/examples/oss/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/oss/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/oss/provider.tf b/examples/oss/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/oss/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/oss/sample_buckets.auto.tfvars b/examples/oss/sample_buckets.auto.tfvars new file mode 100644 index 0000000..9e46d96 --- /dev/null +++ b/examples/oss/sample_buckets.auto.tfvars @@ -0,0 +1,35 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Object Storage Service +# Object Storage - tfvars +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Network-root-cpt--Network" where "Network-root-cpt" is the parent of "Network" compartment +# Sample import commands: +# importCommands[region.lower()].write(f'\nterraform import "module.oss-buckets[\\"{variable name of the bucket}\\"].oci_objectstorage_bucket.bucket" 'f'n/{namespace name}/b/{bucket name}') +# importCommands[region.lower()].write(f'\nterraform import "module.oss-buckets[\\"{variable name of the bucket}\\"].oci_objectstorage_replication_policy.replication_policy[0]" 'f'n/{namespace name}/b/{bucket name}/replicationPolicies/{replication policy id}') +# importCommands[region.lower()].write(f'\nterraform import "module.oss-buckets[\\"{variable name of the bucket}\\"].oci_objectstorage_object_lifecycle_policy.lifecycle_policy" 'f'n/{namespace name}/b/{bucket name}/l') +############################ +buckets = { + svc-bucket = { + compartment_id = "CD3Demo" + name = "svc-bucket" + access_type = "NoPublicAccess" + kms_key_id = null + auto_tiering = "Disabled" + object_events_enabled = "true" + storage_tier = "Standard" + retention_rules = [] + replication_policy = {} + lifecycle_policy = { + rules = [ + ] + } + versioning = "Enabled" + defined_tags = {} + freeform_tags = {} + }, + ##Add New OSS Buckets for phoenix here## +} \ No newline at end of file diff --git a/examples/oss/variables_phoenix.tf b/examples/oss/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/oss/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/quota/backend.tf b/examples/quota/backend.tf new file mode 100644 index 0000000..d5808a8 --- /dev/null +++ b/examples/quota/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/quota/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/quota/oci-data.tf b/examples/quota/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/quota/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/quota/provider.tf b/examples/quota/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/quota/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/quota/quota.tf b/examples/quota/quota.tf new file mode 100644 index 0000000..51af55d --- /dev/null +++ b/examples/quota/quota.tf @@ -0,0 +1,18 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +####################################### +# Module Block - QUOTA POLICIES +# Create Quota policies +####################################### + +module "quota_policies" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/governance/quota-policy?ref=v2024.4.0" + for_each = var.quota_policies + tenancy_ocid = var.tenancy_ocid + quota_description = each.value.quota_description + quota_name = each.value.quota_name + quota_statements = each.value.quota_statements + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags +} \ No newline at end of file diff --git a/examples/quota/sample_quotas.auto.tfvars b/examples/quota/sample_quotas.auto.tfvars new file mode 100644 index 0000000..a0696cf --- /dev/null +++ b/examples/quota/sample_quotas.auto.tfvars @@ -0,0 +1,14 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Quota-Policy - tfvars +# Allowed Values: +############################ +quota_policies = { + OracleAnalyticsQuota = { + quota_name = "OracleAnalyticsQuota" + quota_description = "Quota for Oracle Analytics Cloud" + quota_statements = ["zero analytics quota ee-ocpu-count in tenancy", "zero analytics quota se-ocpu-count in tenancy", "zero analytics quota ee-user-count in tenancy", "zero analytics quota se-user-count in tenancy", "set analytics quota ee-ocpu-count to 8 in tenancy where any{request.region = 'us-ashburn-1', request.region = 'us-phoenix-1'}"] + }, +} \ No newline at end of file diff --git a/examples/quota/variables_phoenix.tf b/examples/quota/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/quota/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/quota/variables_phoenix.tf_backup b/examples/quota/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 diff --git a/examples/tagging/backend.tf b/examples/tagging/backend.tf new file mode 100644 index 0000000..0b6cfa0 --- /dev/null +++ b/examples/tagging/backend.tf @@ -0,0 +1,24 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +/*This line will be removed when using remote state +# !!! WARNING !!! Terraform State Lock is not supported with OCI Object Storage. +# Pre-Requisite: Create a version enabled object storage bucket to store the state file. +# End Point Format: https://.compat.objectstorage..oraclecloud.com +# Please look at the below doc for information about shared_credentials_file and other parameters: +# Reference: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformUsingObjectStore.htm + +terraform { + backend "s3" { + key = "phoenix/tagging/terraform.tfstate" + bucket = "" + region = "" + endpoint = "" + shared_credentials_file = "~/.aws/credentials" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + force_path_style = true + } +} +This line will be removed when using remote state*/ \ No newline at end of file diff --git a/examples/tagging/oci-data.tf b/examples/tagging/oci-data.tf new file mode 100644 index 0000000..bc2bbfb --- /dev/null +++ b/examples/tagging/oci-data.tf @@ -0,0 +1,43 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Resource Block - Identity +# Fetch Compartments +############################ + +#Fetch Compartment Details +data "oci_identity_compartments" "compartments" { + #Required + compartment_id = var.tenancy_ocid + + #Optional + #name = var.compartment_name + access_level = "ANY" + compartment_id_in_subtree = true + state = "ACTIVE" +} + + +############################ +# Data Block - Network +# Fetch ADs +############################ + +data "oci_identity_availability_domains" "availability_domains" { + #Required + compartment_id = var.tenancy_ocid +} + + +/* +output "compartment_id_map" { + description = "Compartment ocid" + // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. + value = zipmap(data.oci_identity_compartments.compartments.compartments.*.name,data.oci_identity_compartments.compartments.compartments.*.id) +} + +output "ads" { + value = data.oci_identity_availability_domains.availability_domains.availability_domains.*.name +} +*/ \ No newline at end of file diff --git a/examples/tagging/provider.tf b/examples/tagging/provider.tf new file mode 100644 index 0000000..35a8e93 --- /dev/null +++ b/examples/tagging/provider.tf @@ -0,0 +1,25 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Provider Block +# OCI +############################ + +provider "oci" { + tenancy_ocid = var.tenancy_ocid + user_ocid = var.user_ocid + fingerprint = var.fingerprint + private_key_path = var.private_key_path + region = var.region + ignore_defined_tags = ["Oracle-Tags.CreatedBy", "Oracle-Tags.CreatedOn"] +} + +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = "6.3.0" + } + } +} \ No newline at end of file diff --git a/examples/tagging/sample_tags-defaults.auto.tfvars b/examples/tagging/sample_tags-defaults.auto.tfvars new file mode 100644 index 0000000..c3dc2e5 --- /dev/null +++ b/examples/tagging/sample_tags-defaults.auto.tfvars @@ -0,0 +1,22 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Governance +# Create Default Tags +# Allowed Values: +# tag_definition_id can be the ocid or the key of tag_definitions (map) +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +# Sample import command for Default Tags: +# terraform import "module.tag-defaults[\"<>\"].oci_identity_tag_default.tag_default" <> +######################################################## +tag_defaults = { + Application_department_Network-default = { + tag_definition_id = "Application_department" + compartment_id = "Network" + value = "Networking" + is_required = false + }, +##Add New Tag Defaults for phoenix here## +} \ No newline at end of file diff --git a/examples/tagging/sample_tags-keys.auto.tfvars b/examples/tagging/sample_tags-keys.auto.tfvars new file mode 100644 index 0000000..6f28598 --- /dev/null +++ b/examples/tagging/sample_tags-keys.auto.tfvars @@ -0,0 +1,40 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Governance +# Create Tag Keys +# Allowed Values: +# tag_namespace_id can be the ocid or the key of tag_namespaces (map) +# Sample import command for Tag Keys: +# terraform import "module.tag-keys[\"<>\"].oci_identity_tag.tag" tagNamespaces/<>/tags/"<>" +############################ +tag_keys = { + Application_department = { + tag_namespace_id = "Application" + description = "department" + name = "department" + is_cost_tracking = true + validator = [{ + validator_type = "ENUM" + validator_values = ["EBS","Finance","Networking"] + }] + }, + Application_env = { + tag_namespace_id = "Application" + description = "environment" + name = "env" + is_cost_tracking = false + validator = [{ + validator_type = "ENUM" + validator_values = ["dev","qa","prod"] + }] + }, + Application_CostCenter = { + tag_namespace_id = "Application" + description = "CostCenter" + name = "CostCenter" + is_cost_tracking = false + }, +##Add New Tag Keys for phoenix here## +} \ No newline at end of file diff --git a/examples/tagging/sample_tags-namespaces.auto.tfvars b/examples/tagging/sample_tags-namespaces.auto.tfvars new file mode 100644 index 0000000..ea2a980 --- /dev/null +++ b/examples/tagging/sample_tags-namespaces.auto.tfvars @@ -0,0 +1,20 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Governance +# Create Tag Namespaces +# Allowed Values: +# compartment_id can be the ocid or the name of the compartment hierarchy delimited by double hiphens "--" +# Example : compartment_id = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3c" or compartment_id = "Security--Prod" where "Security" is the parent of "Prod" compartment +# Sample import command for Tag Namespaces: +# terraform terraform import "module.tag-namespaces[\"<>\"].oci_identity_tag_namespace.tag_namespace" <> +############################ +tag_namespaces = { + Application = { + compartment_id = "root" + description = "Namespace for Application" + name = "Application" + }, +##Add New Tag Namespaces for phoenix here## +} \ No newline at end of file diff --git a/examples/tagging/tagging.tf b/examples/tagging/tagging.tf new file mode 100644 index 0000000..4b8c64f --- /dev/null +++ b/examples/tagging/tagging.tf @@ -0,0 +1,54 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# Module Block - Storage +# Create Tag Namespaces, Tag Keys and Default Tags +############################ + +module "tag-namespaces" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/governance/tagging/tag-namespace?ref=v2024.4.0" + for_each = (var.tag_namespaces != null || var.tag_namespaces != {}) ? var.tag_namespaces : {} + + #Required + compartment_id = each.value.compartment_id != null ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : null + description = each.value.description != "" ? each.value.description : each.value.name + name = each.value.name + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + is_retired = each.value.is_retired + +} + +module "tag-keys" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/governance/tagging/tag-key?ref=v2024.4.0" + for_each = (var.tag_keys != null || var.tag_keys != {}) ? var.tag_keys : {} + + #Required + tag_namespace_id = length(regexall("ocid1.tagnamespace.oc*", each.value.tag_namespace_id)) > 0 ? each.value.tag_namespace_id : merge(module.tag-namespaces.*...)[each.value.tag_namespace_id]["namespace_tf_id"] + description = each.value.description != "" ? each.value.description : each.value.name + name = each.value.name + + #Optional + defined_tags = each.value.defined_tags + freeform_tags = each.value.freeform_tags + is_cost_tracking = each.value.is_cost_tracking + key_name = each.key + is_retired = each.value.is_retired + tag_keys = var.tag_keys +} + +module "tag-defaults" { + source = "git::https://github.com/oracle-devrel/terraform-oci-cd3.git//modules/governance/tagging/tag-default?ref=v2024.4.0" + for_each = (var.tag_defaults != null || var.tag_defaults != {}) ? var.tag_defaults : {} + + #Required + compartment_id = length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : try(zipmap(data.oci_identity_compartments.compartments.compartments.*.name, data.oci_identity_compartments.compartments.compartments.*.id)[each.value.compartment_id], var.compartment_ocids[each.value.compartment_id]) + tag_definition_id = length(regexall("ocid1.tagdefinition.oc*", each.value.tag_definition_id)) > 0 ? each.value.tag_definition_id : merge(module.tag-keys.*...)[each.value.tag_definition_id]["tag_key_tf_id"] + value = each.value.value + + #Optional + is_required = each.value.is_required +} \ No newline at end of file diff --git a/examples/tagging/variables_phoenix.tf b/examples/tagging/variables_phoenix.tf new file mode 100644 index 0000000..678f076 --- /dev/null +++ b/examples/tagging/variables_phoenix.tf @@ -0,0 +1,2485 @@ +# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved. +# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. +# +############################ +# +# Variables Block +# OCI +# +############################ + +variable "tenancy_ocid" { + type = string + default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" +} + +variable "user_ocid" { + type = string + default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" +} + +variable "fingerprint" { + type = string + default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" +} + +variable "private_key_path" { + type = string + default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" +} + +variable "region" { + type = string + default = "us-phoenix-1" +} + +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# + } +} + +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } +} +variable "sddc_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_sddc_ssh_keys# + #sddc_ssh_keys_END# + } +} + +variable "exacs_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_exacs_ssh_keys# + # exported exacs ssh keys + #exacs_ssh_keys_END# + } +} + +variable "dbsystem_ssh_keys" { + type = map(any) + default = { + ssh_public_key = [""] + # Use ',' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] + #START_dbsystem_ssh_keys# + # exported dbsystem ssh keys + #dbsystem_ssh_keys_END# + } +} + +################################# +# Platform Image OCIDs and +# Market Place Images +################################# + +variable "instance_source_ocids" { + type = map(any) + default = { + Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" + Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" + PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" + #START_instance_source_ocids# + # exported instance image ocids + #instance_source_ocids_END# + } +} + +variable "blockvolume_source_ocids" { + type = map(any) + default = { + block1 = "" + #blockvolume_source_ocid = "" + #START_blockvolume_source_ocids# + # exported block volume source ocids + #blockvolume_source_ocids_END# + } +} + +variable "fss_source_ocids" { + type = map(any) + default = { + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# + } +} + +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } +} + +################################# +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# + +########################## +## Fetch Compartments #### +########################## + +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" + ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" + ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" + ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" + latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" + latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" + latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" + latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" + ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" + ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" + ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" + ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" + ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" + ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" + ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" + Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" + Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" + Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" + Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" + cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" + cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" + cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" + cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" + Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" + ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" + Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" + appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" + Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" + TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" + SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" + snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" + Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" + SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" + santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" + Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" + Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" + Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" + Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" + Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" + Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" + Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" + Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" + pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" + PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" + Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" + Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" + Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" + VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" + NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" + ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" + VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" + NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" + ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" + VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" + NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" + ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" + Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" + NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" + NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" + Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" + OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" + OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" + OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" + OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" + OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" + Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" + OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" + Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" + Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" + OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" + jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" + jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" + jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" + jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" + OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" + new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" + new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" + new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" + NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" + Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" + Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" + NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" + Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" + my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" + MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" + Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" + MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" + MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" + Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" + may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" + may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" + may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" + may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" + ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" + LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" + LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" + LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" + Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" + jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" + jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" + jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" + jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" + jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" + jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" + jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" + jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" + jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" + jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" + opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" + opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" + opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" + Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" + Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" + Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" + Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" + Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" + Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" + dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" + CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" + Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" + Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" + informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" + DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" + DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" + DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" + DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" + DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" + Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" + CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" + app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" + csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" + cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" + cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" + cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" + cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" + cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" + cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" + CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" + Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" + aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" + aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" + aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" + aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" + aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" + aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" + aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" + aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" + aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" + aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" + AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" + AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" + AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" + AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" + test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" + network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" + Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #compartment_ocids_END# + } +} + +######################### +##### Identity ########## +######################### + +variable "compartments" { + type = object({ + root = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level1 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level2 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level3 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level4 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + compartment_level5 = optional(map(object({ + tenancy_ocid = optional(string) + parent_compartment_id = string + name = string + description = optional(string) + enable_delete = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + }))) + }) + default = { + root = {}, + compartment_level1 = {}, + compartment_level2 = {}, + compartment_level3 = {}, + compartment_level4 = {}, + compartment_level5 = {}, + } +} + +variable "policies" { + type = map(object({ + name = string + compartment_id = string + policy_description = string + policy_statements = list(string) + policy_version_date = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "groups" { + type = map(object({ + group_name = string + group_description = string + members = optional(list(string), []) + matching_rule = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_groups" { + type = map(object({ + group_name = string + group_description = string + idcs_endpoint = string + compartment_id = string + matching_rule = optional(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + members = optional(list(string)) + })) + default = {} +} + + +variable "users" { + type = map(object({ + name = string + description = string + email = string + enabled_capabilities = optional(list(string)) + group_membership = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "identity_domain_users" { + type = map(object({ + family_name = string + idcs_endpoint = string + user_name = string + description = optional(string) + compartment_id = string + groups = optional(list(string)) + email = string + enabled_capabilities = list(string) + defined_tags = optional(list(map(any))) + freeform_tags = optional(list(map(any))) + })) + default = {} +} + + +variable "networkSources" { + type = map(object({ + name = string + description = string + public_source_list = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + virtual_source_list = optional(list(map(list(string)))) + + })) + default = {} +} + +######################### +####### Governance ######### +######################### + +variable "tag_namespaces" { + description = "To provision Namespaces" + type = map(object({ + compartment_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_retired = optional(bool) + })) + default = {} +} + +variable "tag_keys" { + description = "To provision Tag Keys" + type = map(object({ + tag_namespace_id = string + description = string + name = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_cost_tracking = optional(bool) + is_retired = optional(bool) + validator = optional(list(object({ + validator_type = optional(string) + validator_values = optional(list(any)) + }))) + })) + default = {} +} + +variable "tag_defaults" { + description = "To make the Tag keys as default to compartments" + type = map(object({ + compartment_id = string + tag_definition_id = string + value = string + is_required = optional(bool) + })) + default = {} +} + +variable "quota_policies" { + type = map(object({ + quota_name = string + quota_description = string + quota_statements = list(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### Network ########## +######################### + +variable "default_dhcps" { + type = map(object({ + server_type = string + manage_default_resource_id = optional(string) + custom_dns_servers = optional(list(any)) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "custom_dhcps" { + type = map(object({ + compartment_id = string + server_type = string + vcn_id = string + custom_dns_servers = optional(list(any)) + domain_name_type = optional(string) + display_name = optional(string) + search_domain = optional(map(list(any))) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcns" { + type = map(object({ + compartment_id = string + cidr_blocks = optional(list(string)) + byoipv6cidr_details = optional(list(map(any))) + display_name = optional(string) + dns_label = optional(string) + is_ipv6enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ipv6private_cidr_blocks = optional(list(string)) + is_oracle_gua_allocation_enabled = optional(bool) + })) + default = {} +} + +variable "igws" { + type = map(object({ + compartment_id = string + vcn_id = string + enable_igw = optional(bool) + igw_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_table_id = optional(string) + })) + default = {} +} + +variable "sgws" { + type = map(object({ + compartment_id = string + vcn_id = string + service = optional(string) + sgw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "ngws" { + type = map(object({ + compartment_id = string + vcn_id = string + block_traffic = optional(bool) + public_ip_id = optional(string) + ngw_name = optional(string) + route_table_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lpgs" { + type = map(any) + default = { + hub-lpgs = {}, + spoke-lpgs = {}, + peer-lpgs = {}, + none-lpgs = {}, + exported-lpgs = {}, + } +} + +variable "drgs" { + type = map(object({ + compartment_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "default_seclists" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + ingress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + source = optional(string) + source_type = optional(string) + options = optional(map(any)) + }))) + egress_sec_rules = optional(list(object({ + protocol = optional(string) + stateless = optional(string) + description = optional(string) + destination = optional(string) + destination_type = optional(string) + options = optional(map(any)) + }))) + })) + default = {} +} + +variable "route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + + })) + default = {} +} + +variable "default_route_tables" { + type = map(object({ + compartment_id = string + vcn_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + route_rules_igw = list(map(any)) + route_rules_ngw = list(map(any)) + route_rules_sgw = list(map(any)) + route_rules_drg = list(map(any)) + route_rules_lpg = list(map(any)) + route_rules_ip = list(map(any)) + gateway_route_table = optional(bool) + default_route_table = optional(bool) + })) + default = {} +} + +variable "nsgs" { + type = map(object({ + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nsg_rules" { + type = map(object({ + nsg_id = string + direction = string + protocol = string + description = optional(string) + stateless = optional(string) + source_type = optional(string) + destination_type = optional(string) + destination = optional(string) + source = optional(string) + options = optional(map(any)) + })) + default = {} +} + +variable "subnets" { + type = map(object({ + compartment_id = string + vcn_id = string + cidr_block = string + display_name = optional(string) + dns_label = optional(string) + ipv6cidr_block = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + prohibit_internet_ingress = optional(string) + prohibit_public_ip_on_vnic = optional(string) + availability_domain = optional(string) + dhcp_options_id = optional(string) + route_table_id = optional(string) + security_list_ids = optional(list(string)) + })) + default = {} +} + +variable "vlans" { + type = map(object({ + cidr_block = string + compartment_id = string + network_compartment_id = string + vcn_name = string + display_name = optional(string) + nsg_ids = optional(list(string)) + route_table_name = optional(string) + vlan_tag = optional(string) + availability_domain = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "drg_attachments" { + type = map(any) + default = {} +} + +variable "drg_other_attachments" { + type = map(any) + default = {} +} + +variable "drg_route_tables" { + type = map(object({ + drg_id = string + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_ecmp_enabled = optional(bool) + import_drg_route_distribution_id = optional(string) + })) + default = {} +} + +variable "drg_route_rules" { + type = map(any) + default = {} +} + +variable "drg_route_distributions" { + type = map(object({ + distribution_type = string + drg_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + })) + default = {} +} + +variable "drg_route_distribution_statements" { + type = map(object({ + drg_route_distribution_id = string + action = string + match_criteria = optional(list(object({ + match_type = string + attachment_type = optional(string) + drg_attachment_id = optional(string) + }))) + priority = optional(string) + })) + default = {} +} + +variable "data_drg_route_tables" { + type = map(any) + default = {} +} + +variable "data_drg_route_table_distributions" { + type = map(any) + default = {} +} + +#################### +####### DNS ####### +#################### + +variable "zones" { + type = map(object({ + compartment_id = string + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "views" { + type = map(object({ + compartment_id = string + display_name = string + scope = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +variable "rrsets" { + type = map(object({ + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) + })) + default = {} +} + +variable "resolvers" { + type = map(object({ + network_compartment_id = string + vcn_name = string + display_name = optional(string) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + +######################### +## Instances/Block Volumes ## +######################### + +variable "blockvolumes" { + description = "To provision block volumes" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) + })) + default = {} +} + +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} +} + +variable "instances" { + description = "Map of instances to be provisioned" + type = map(object({ + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} +} + +######################### +####### Database ######## +######################### + +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} +} + +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} +} + +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} +} + +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} +} + +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} +} + +#################################### +####### Autonomous Database ######## +#################################### + +variable "adb" { + type = map(object({ + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### MySql Database ######## +#################################### +variable "mysql_db_system" { + type = map(object({ + compartment_id = string + network_compartment_id = string + mysql_db_system_display_name = string + configuration_id = string + mysql_shape_name = string + mysql_db_system_admin_username = optional(string) + mysql_db_system_admin_password = optional(string) + mysql_db_system_availability_domain = optional(string) + subnet_id = string + mysql_db_system_data_storage_size_in_gb = number + mysql_db_system_hostname_label = string + vcn_names = string + mysql_db_system_backup_policy_is_enabled = bool + mysql_db_system_backup_policy_pitr_policy_is_enabled = bool + mysql_db_system_backup_policy_retention_in_days = number + mysql_db_system_backup_policy_window_start_time = string + mysql_db_system_crash_recovery = string + mysql_db_system_database_management = string + mysql_db_system_deletion_policy_automatic_backup_retention = string + mysql_db_system_deletion_policy_final_backup = string + mysql_db_system_deletion_policy_is_delete_protected = bool + mysql_db_system_description = string + mysql_db_system_fault_domain = string + mysql_db_system_ip_address = optional(string) + mysql_db_system_is_highly_available = bool + mysql_db_system_maintenance_window_start_time = string + mysql_db_system_port = number + mysql_db_system_port_x = number + mysql_db_system_source_source_type = optional(string) + backup_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + + + })) + default = {} +} + + +variable "mysql_configuration" { + type = map(object({ + compartment_id = string + mysql_configuration_shape_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + mysql_configuration_description = optional(string) + mysql_configuration_display_name = optional(string) + mysql_configuration_init_variables_lower_case_table_names = optional(string) + mysql_configuration_variables_autocommit = optional(string) + mysql_configuration_variables_big_tables = optional(string) + mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) + mysql_configuration_variables_binlog_row_metadata = optional(string) + mysql_configuration_variables_binlog_row_value_options = optional(string) + mysql_configuration_variables_binlog_transaction_compression = optional(string) + mysql_configuration_variables_connection_memory_chunk_size = optional(string) + mysql_configuration_variables_connect_timeout = optional(string) + mysql_configuration_variables_completion_type = optional(string) + mysql_configuration_variables_connection_memory_limit = optional(string) + mysql_configuration_variables_cte_max_recursion_depth = optional(string) + mysql_configuration_variables_default_authentication_plugin = optional(string) + mysql_configuration_variables_foreign_key_checks = optional(string) + mysql_configuration_variables_global_connection_memory_limit = optional(string) + mysql_configuration_variables_global_connection_memory_tracking = optional(string) + mysql_configuration_variables_group_replication_consistency = optional(string) + mysql_configuration_variables_information_schema_stats_expiry = optional(string) + mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) + mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) + mysql_configuration_variables_innodb_buffer_pool_size = optional(string) + mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) + mysql_configuration_variables_innodb_ddl_threads = optional(string) + mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) + mysql_configuration_variables_innodb_ft_max_token_size = optional(string) + mysql_configuration_variables_innodb_ft_min_token_size = optional(string) + mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) + mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) + mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) + mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) + mysql_configuration_variables_innodb_log_writer_threads = optional(string) + mysql_configuration_variables_innodb_max_purge_lag = optional(string) + mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) + mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) + mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) + mysql_configuration_variables_interactive_timeout = optional(string) + mysql_configuration_variables_local_infile = optional(string) + mysql_configuration_variables_mandatory_roles = optional(string) + mysql_configuration_variables_max_allowed_packet = optional(string) + mysql_configuration_variables_max_binlog_cache_size = optional(string) + mysql_configuration_variables_max_connect_errors = optional(string) + mysql_configuration_variables_max_connections = optional(string) + mysql_configuration_variables_max_execution_time = optional(string) + mysql_configuration_variables_max_heap_table_size = optional(string) + mysql_configuration_variables_max_prepared_stmt_count = optional(string) + mysql_configuration_variables_mysql_firewall_mode = optional(string) + mysql_configuration_variables_mysqlx_connect_timeout = optional(string) + mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) + mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) + mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) + mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) + mysql_configuration_variables_mysqlx_read_timeout = optional(string) + mysql_configuration_variables_mysqlx_wait_timeout = optional(string) + mysql_configuration_variables_mysqlx_write_timeout = optional(string) + mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) + mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) + mysql_configuration_variables_net_read_timeout = optional(string) + mysql_configuration_variables_net_write_timeout = optional(string) + mysql_configuration_variables_parser_max_mem_size = optional(string) + mysql_configuration_variables_regexp_time_limit = optional(string) + mysql_configuration_variables_sort_buffer_size = optional(string) + mysql_configuration_variables_sql_mode = optional(string) + mysql_configuration_variables_sql_require_primary_key = optional(string) + mysql_configuration_variables_sql_warnings = optional(string) + mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) + mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) + mysql_configuration_variables_time_zone = optional(string) + mysql_configuration_variables_tmp_table_size = optional(string) + mysql_configuration_variables_transaction_isolation = optional(string) + mysql_configuration_variables_wait_timeout = optional(string) + + })) + default = {} +} +######################### +######### FSS ########### +######################### + +variable "mount_targets" { + description = "To provision Mount Targets" + type = map(object({ + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fss" { + description = "To provision File System Services" + type = map(object({ + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_export_options" { + description = "To provision Export Sets" + type = map(object({ + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) + })) + default = {} +} + +variable "fss_replication" { + description = "To provision File System Replication" + type = map(object({ + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +####### FSS Logs ######## +######################### + +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nfs_logs" { + description = "To provision Logs for Mount Target" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + + +######################### +#### Load Balancers ##### +######################### + +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} +} + +variable "hostnames" { + description = "To provision Load Balancer Hostnames" + type = map(object({ + load_balancer_id = string + hostname = string + name = string + })) + default = {} +} + +variable "certificates" { + description = "To provision Load Balancer Certificates" + type = map(object({ + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) + })) + default = {} +} + +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" + type = map(object({ + ciphers = list(string) + name = string + load_balancer_id = optional(string) + })) + default = {} +} + +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" + type = map(object({ + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "backends" { + description = "To provision Load Balancer Backends" + type = map(object({ + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) + })) + default = {} +} + +variable "listeners" { + description = "To provision Load Balancer Listeners" + type = map(object({ + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) + })) + default = {} +} + +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" + type = map(object({ + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) + })) + default = {} +} + +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" + type = map(object({ + name = string + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) + }))) + })) + default = {} +} + +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" + type = map(object({ + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) + })) + default = {} +} + +################################### +####### Load Balancer Logs ######## +################################### + +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +## Network Load Balancers ## +######################### + +variable "network_load_balancers" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "nlb_listeners" { + type = map(object({ + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) + })) + default = {} +} + +variable "nlb_backend_sets" { + type = map(object({ + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) + })) + default = {} +} +variable "nlb_backends" { + type = map(object({ + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) + })) + default = {} +} +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" + type = map(object({ + compartment_id = string + lifetime = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + })) + default = {} +} + + +######################### +##### IP Management ##### +######################### + +variable "public_ip_pools" { + type = map(any) + default = {} +} + +variable "private_ips" { + type = map(any) + default = {} +} + +variable "reserved_ips" { + type = map(any) + default = {} +} + +variable "vnic_attachments" { + type = map(any) + default = {} +} + +######################### +##### VCN Logs ########## +######################### + +variable "vcn_log_groups" { + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "vcn_logs" { + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +###### OSS Buckets ###### +######################### + +variable "buckets" { + type = map(any) + default = {} +} + +######################### +####### OSS Logs ######## +######################### + +variable "oss_log_groups" { + description = "To provision Log Groups for OSS" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "oss_logs" { + description = "To provision Logs for OSS" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +######################### +### OSS IAM Policies #### +######################### + +variable "oss_policies" { + type = map(any) + default = {} +} + +######################### +## Management Services ## +######################### + +variable "alarms" { + type = map(object({ + compartment_id = string + destinations = list(string) + alarm_name = string + is_enabled = bool + metric_compartment_id = string + namespace = string + query = string + severity = string + body = optional(string) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_notifications_per_metric_dimension_enabled = optional(bool) + metric_compartment_id_in_subtree = optional(string) + trigger_delay_minutes = optional(string) + repeat_notification_duration = optional(string) + resolution = optional(string) + resource_group = optional(string) + suppression = optional(map(any)) + })) + default = {} +} + +variable "events" { + type = map(object({ + event_name = string + compartment_id = string + description = string + is_enabled = bool + condition = string + actions = optional(list(object({ + action_type = string + is_enabled = string + description = optional(string) + function_id = optional(string) + stream_id = optional(string) + topic_id = optional(string) + }))) + message_format = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_topics" { + type = map(object({ + compartment_id = string + topic_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "notifications_subscriptions" { + type = map(object({ + compartment_id = string + endpoint = string + protocol = string + topic_id = string + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "service_connectors" { + type = any + default = {} + description = "To provision service connector hub resources" +} + +######################### +## Developer Services ## +######################### + +## OKE + +variable "clusters" { + type = map(object({ + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + kubernetes_version = string + cni_type = string + cluster_type = string + is_policy_enabled = optional(bool) + policy_kms_key_id = optional(string) + is_kubernetes_dashboard_enabled = optional(bool) + is_tiller_enabled = optional(bool) + is_public_ip_enabled = optional(bool) + nsg_ids = optional(list(string)) + endpoint_subnet_id = string + is_pod_security_policy_enabled = optional(bool) + pods_cidr = optional(string) + services_cidr = optional(string) + service_lb_subnet_ids = optional(list(string)) + cluster_kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + lb_defined_tags = optional(map(any)) + lb_freeform_tags = optional(map(any)) + volume_defined_tags = optional(map(any)) + volume_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_node_labels = optional(map(any)) + kubernetes_version = string + is_pv_encryption_in_transit_enabled = optional(bool) + availability_domain = number + fault_domains = optional(list(string)) + subnet_id = string + size = number + cni_type = string + max_pods_per_node = optional(number) + pod_nsg_ids = optional(list(string)) + pod_subnet_ids = optional(string) + worker_nsg_ids = optional(list(string)) + memory_in_gbs = optional(number) + ocpus = optional(number) + image_id = string + source_type = string + boot_volume_size_in_gbs = optional(number) + ssh_public_key = optional(string) + nodepool_kms_key_id = optional(string) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "virtual-nodepools" { + type = map(object({ + display_name = string + cluster_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + node_shape = string + initial_virtual_node_labels = optional(map(any)) + availability_domain = number + fault_domains = list(string) + subnet_id = string + size = number + pod_nsg_ids = optional(list(string)) + pod_subnet_id = string + worker_nsg_ids = optional(list(string)) + taints = optional(list(any)) + node_defined_tags = optional(map(any)) + node_freeform_tags = optional(map(any)) + nodepool_defined_tags = optional(map(any)) + nodepool_freeform_tags = optional(map(any)) + })) + default = {} +} + + +################################## +############## SDDCs ############# +################################## +variable "sddcs" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = string + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = string + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + initial_cluster_display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + management_datastore = optional(list(string)) + workload_datastore = optional(list(string)) + + })) + default = {} + +} + +variable "sddc-clusters" { + type = map(object({ + compartment_id = string + availability_domain = string + network_compartment_id = string + vcn_name = string + esxi_hosts_count = number + nsx_edge_uplink1vlan_id = string + nsx_edge_uplink2vlan_id = optional(string) + nsx_edge_vtep_vlan_id = string + nsx_vtep_vlan_id = string + provisioning_subnet_id = string + ssh_authorized_keys = optional(string) + vmotion_vlan_id = string + vmware_software_version = string + vsan_vlan_id = string + vsphere_vlan_id = string + capacity_reservation_id = optional(string) + defined_tags = optional(map(any)) + display_name = optional(string) + freeform_tags = optional(map(any)) + hcx_action = optional(string) + hcx_vlan_id = optional(string) + initial_host_ocpu_count = optional(number) + initial_host_shape_name = optional(string) + initial_commitment = optional(string) + instance_display_name_prefix = optional(string) + is_hcx_enabled = optional(bool) + is_shielded_instance_enabled = optional(bool) + is_single_host_sddc = optional(bool) + provisioning_vlan_id = optional(string) + refresh_hcx_license_status = optional(bool) + replication_vlan_id = optional(string) + reserving_hcx_on_premise_license_keys = optional(string) + workload_network_cidr = optional(string) + workload_datastore = optional(list(string)) + sddc_id = optional(string) + esxi_software_version = optional(string) + + })) + default = {} + +} + + +############################ +## Key Management Service ## +############################ + +variable "vaults" { + type = map(object({ + compartment_id = string + display_name = string + vault_type = string + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + replica_region = optional(string) + })) + default = {} +} + +variable "keys" { + type = map(object({ + compartment_id = string + display_name = string + vault_name = string + algorithm = optional(string) + length = optional(string) + curve_id = optional(string) + protection_mode = optional(string) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + is_auto_rotation_enabled = optional(bool) + rotation_interval_in_days = optional(string) + + })) + default = {} +} + +########################### +######### Budgets ######### +########################### + +variable "budgets" { + type = map(object({ + amount = string + compartment_id = string + reset_period = string + budget_processing_period_start_offset = optional(string) + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + processing_period_type = optional(string) + budget_end_date = optional(string) + budget_start_date = optional(string) + target_type = optional(string) + targets = optional(list(any)) + })) + default = {} +} + +variable "budget_alert_rules" { + type = map(object({ + budget_id = string + threshold = string + threshold_type = string + type = string + defined_tags = optional(map(any)) + description = optional(string) + display_name = optional(string) + freeform_tags = optional(map(any)) + message = optional(string) + recipients = optional(string) + })) + default = {} +} + +########################### +####### Cloud Guard ####### +########################### + +variable "cloud_guard_configs" { + type = map(object({ + compartment_id = string + reporting_region = string + status = string + self_manage_resources = optional(string) + + })) + default = {} +} + +variable "cloud_guard_targets" { + type = map(object({ + compartment_id = string + display_name = string + target_resource_id = string + target_resource_type = string + prefix = string + description = optional(string) + state = optional(string) + target_detector_recipes = optional(list(any)) + target_responder_recipes = optional(list(any)) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + })) + default = {} +} + +#################################### +####### Custom Backup Policy ####### +#################################### + +variable "custom_backup_policies" { + type = map(any) + default = {} +} + +variable "capacity_reservation_ocids" { + type = map(any) + default = { + "AD1" : "", + "AD2" : "", + "AD3" : "" + } +} + +##################################### +####### Firewall as a Service ####### +##################################### +variable "firewalls" { + type = map(object({ + compartment_id = string + network_compartment_id = string + network_firewall_policy_id = string + subnet_id = string + vcn_name = string + display_name = string + ipv4address = optional(string) + nsg_id = optional(list(string)) + ipv6address = optional(string) + availability_domain = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw-policies" { + type = map(object({ + compartment_id = optional(string) + display_name = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} +variable "services" { + type = map(object({ + service_name = string + service_type = string + network_firewall_policy_id = string + port_ranges = list(object({ + minimum_port = string + maximum_port = optional(string) + })) + })) + default = {} +} +variable "url_lists" { + type = map(object({ + urllist_name = string + network_firewall_policy_id = string + urls = list(object({ + pattern = string + type = string + })) + })) + default = {} +} +variable "service_lists" { + type = map(object({ + service_list_name = string + network_firewall_policy_id = string + services = list(string) + })) + default = {} +} + +variable "address_lists" { + type = map(object({ + address_list_name = string + network_firewall_policy_id = string + address_type = string + addresses = list(string) + })) + default = {} +} + +variable "applications" { + type = map(object({ + app_list_name = string + network_firewall_policy_id = string + app_type = string + icmp_type = number + icmp_code = optional(number) + })) + default = {} +} + +variable "application_groups" { + type = map(object({ + app_group_name = string + network_firewall_policy_id = string + apps = list(string) + + })) + default = {} +} + +variable "security_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + application = optional(list(string)) + destination_address = optional(list(string)) + service = optional(list(string)) + source_address = optional(list(string)) + url = optional(list(string)) + }))) + inspection = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +variable "secrets" { + type = map(object({ + secret_name = string + network_firewall_policy_id = string + secret_source = string + secret_type = string + vault_secret_id = string + version_number = number + vault_name = string + vault_compartment_id = string + })) + default = {} +} + +variable "decryption_profiles" { + type = map(object({ + profile_name = string + profile_type = string + network_firewall_policy_id = string + are_certificate_extensions_restricted = optional(bool) + is_auto_include_alt_name = optional(bool) + is_expired_certificate_blocked = optional(bool) + is_out_of_capacity_blocked = optional(bool) + is_revocation_status_timeout_blocked = optional(bool) + is_unknown_revocation_status_blocked = optional(bool) + is_unsupported_cipher_blocked = optional(bool) + is_unsupported_version_blocked = optional(bool) + is_untrusted_issuer_blocked = optional(bool) + })) + default = {} +} + +variable "decryption_rules" { + type = map(object({ + action = string + rule_name = string + network_firewall_policy_id = string + condition = optional(list(object({ + + destination_address = optional(list(string)) + + source_address = optional(list(string)) + + }))) + decryption_profile = optional(string) + secret = optional(string) + after_rule = optional(string) + before_rule = optional(string) + + })) + default = {} +} + +######################### +####### Firewall Logs ######## +######################### + +variable "fw_log_groups" { + description = "To provision Log Groups for Network Firewall" + type = map(object({ + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +variable "fw_logs" { + description = "To provision Logs for Network Firewall" + type = map(object({ + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + })) + default = {} +} + +########################## +# Add new variables here # +########################## +######################### END ######################### \ No newline at end of file diff --git a/examples/tagging/variables_phoenix.tf_backup b/examples/tagging/variables_phoenix.tf_backup new file mode 100644 index 0000000..e69de29 From 944621e6fe896b3b41dc796633c3bb8cbe84efc7 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:38:49 +0530 Subject: [PATCH 04/35] examples folder --- examples/budget/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/budget/variables_phoenix.tf_backup diff --git a/examples/budget/variables_phoenix.tf_backup b/examples/budget/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From 66eefc9020637f076cb49bda8537346f6951345e Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:42:53 +0530 Subject: [PATCH 05/35] examples folder --- examples/budget/variables_phoenix.tf | 2433 +------------------------- 1 file changed, 20 insertions(+), 2413 deletions(-) diff --git a/examples/budget/variables_phoenix.tf b/examples/budget/variables_phoenix.tf index 678f076..ca648b5 100644 --- a/examples/budget/variables_phoenix.tf +++ b/examples/budget/variables_phoenix.tf @@ -10,2185 +10,48 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) +########################## +## Fetch Compartments #### +########################## - })) - default = {} +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + compartment1 = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# + } } - ########################### ######### Budgets ######### ########################### @@ -2227,259 +90,3 @@ variable "budget_alert_rules" { })) default = {} } - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From b61914458fc5ab9fc6800e741854756825e5a37a Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:44:28 +0530 Subject: [PATCH 06/35] examples folder --- examples/budget/variables_phoenix.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/budget/variables_phoenix.tf b/examples/budget/variables_phoenix.tf index ca648b5..69e55d3 100644 --- a/examples/budget/variables_phoenix.tf +++ b/examples/budget/variables_phoenix.tf @@ -48,6 +48,7 @@ variable "compartment_ocids" { type = map(any) default = { #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" compartment1 = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } From 7963918dbd0982e7d0b9ac45074c7264cf43d5ad Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:47:08 +0530 Subject: [PATCH 07/35] examples folder --- examples/compute/variables_phoenix.tf | 2511 ++----------------------- 1 file changed, 117 insertions(+), 2394 deletions(-) diff --git a/examples/compute/variables_phoenix.tf b/examples/compute/variables_phoenix.tf index 678f076..43383f7 100644 --- a/examples/compute/variables_phoenix.tf +++ b/examples/compute/variables_phoenix.tf @@ -10,89 +10,65 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# ################################# -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} +########################## +## Fetch Compartments #### +########################## -variable "oke_ssh_keys" { +variable "compartment_ocids" { type = map(any) default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Network = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# } } -variable "sddc_ssh_keys" { +################################# +# SSH Keys +################################# + +variable "instance_ssh_keys" { type = map(any) default = { ssh_public_key = "" # Use '\n' as the delimiter to add multiple ssh keys. # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# + #START_instance_ssh_keys# + # exported instance ssh keys + #instance_ssh_keys_END# } } -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} ################################# # Platform Image OCIDs and @@ -122,2364 +98,111 @@ variable "blockvolume_source_ocids" { } } -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - ######################### -###### Network ########## +## Instances/Block Volumes ## ######################### -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { +variable "blockvolumes" { + description = "To provision block volumes" type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + availability_domain = string + compartment_id = string + display_name = string + size_in_gbs = optional(string) + is_auto_tune_enabled = optional(string) + vpus_per_gb = optional(string) + kms_key_id = optional(string) + attach_to_instance = optional(string) + attachment_type = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + device = optional(string) + encryption_in_transit_type = optional(string) + attachment_display_name = optional(string) + is_read_only = optional(bool) + is_pv_encryption_in_transit_enabled = optional(bool) + is_shareable = optional(bool) + use_chap = optional(bool) + is_agent_auto_iscsi_login_enabled = optional(bool) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + source_details = optional(list(map(any))) + block_volume_replicas = optional(list(map(any))) + block_volume_replicas_deletion = optional(bool) + autotune_policies = optional(list(map(any))) })) default = {} } -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } +variable "block_backup_policies" { + type = map(any) + description = "To create block volume back policy" + default = {} } -variable "drgs" { +variable "instances" { + description = "Map of instances to be provisioned" type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + availability_domain = string + compartment_id = string + shape = string + source_id = string + source_type = string + vcn_name = string + subnet_id = string + network_compartment_id = string + display_name = optional(string) + assign_public_ip = optional(bool) + boot_volume_size_in_gbs = optional(string) + fault_domain = optional(string) + dedicated_vm_host_id = optional(string) + private_ip = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(string)) + ocpus = optional(string) + memory_in_gbs = optional(number) + capacity_reservation_id = optional(string) + create_is_pv_encryption_in_transit_enabled = optional(bool) + remote_execute = optional(string) + bastion_ip = optional(string) + cloud_init_script = optional(string) + ssh_authorized_keys = optional(string) + backup_policy = optional(string) + policy_compartment_id = optional(string) + network_type = optional(string) + #extended_metadata = optional(string) + skip_source_dest_check = optional(bool) + baseline_ocpu_utilization = optional(string) + #preemptible_instance_config = optional(string) + all_plugins_disabled = optional(bool) + is_management_disabled = optional(bool) + is_monitoring_disabled = optional(bool) + assign_private_dns_record = optional(string) + plugins_details = optional(map(any)) + is_live_migration_preferred = optional(bool) + recovery_action = optional(string) + are_legacy_imds_endpoints_disabled = optional(bool) + boot_volume_type = optional(string) + firmware = optional(string) + is_consistent_volume_naming_enabled = optional(bool) + remote_data_volume_type = optional(string) + platform_config = optional(list(map(any))) + launch_options = optional(list(map(any))) + ipxe_script = optional(string) + preserve_boot_volume = optional(bool) + vlan_id = optional(string) + kms_key_id = optional(string) + vnic_display_name = optional(string) + vnic_defined_tags = optional(map(any)) + vnic_freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} +variable "boot_backup_policies" { + type = map(any) + description = "Map of boot volume backup policies to be provisioned" + default = {} } - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From a261392abaff6188f5739c48c20f87635ca7d53f Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:48:15 +0530 Subject: [PATCH 08/35] examples folder --- examples/database/sample_dbsystems-vm-bm.auto.tfvars | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/database/sample_dbsystems-vm-bm.auto.tfvars b/examples/database/sample_dbsystems-vm-bm.auto.tfvars index f17d33d..d450b02 100644 --- a/examples/database/sample_dbsystems-vm-bm.auto.tfvars +++ b/examples/database/sample_dbsystems-vm-bm.auto.tfvars @@ -14,11 +14,11 @@ dbsystems_vm_bm = { DBSYSSERESEERE = { availability_domain = 0 - compartment_id = "Hari" + compartment_id = "CD3Demo" shape = "VM.Standard.E5.Flex" - network_compartment_id = "Hari" - vcn_name = "hari_test_vcn1" - subnet_id = "hari_test_publicsubnet" + network_compartment_id = "CD3Demo" + vcn_name = "test_vcn1" + subnet_id = "test_publicsubnet" hostname = "otfdsferess" cpu_core_count = 1 database_edition = "ENTERPRISE_EDITION" @@ -48,4 +48,4 @@ dbsystems_vm_bm = { } freeform_tags = {} }, -} \ No newline at end of file +} From 71df0c063ddd766960f4d8ed90b348a6ed6d5a73 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:49:32 +0530 Subject: [PATCH 09/35] examples folder --- examples/database/variables_phoenix.tf | 2469 +----------------------- 1 file changed, 65 insertions(+), 2404 deletions(-) diff --git a/examples/database/variables_phoenix.tf b/examples/database/variables_phoenix.tf index 5a47bfc..42050e4 100644 --- a/examples/database/variables_phoenix.tf +++ b/examples/database/variables_phoenix.tf @@ -10,66 +10,53 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# ################################# -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} +########################## +## Fetch Compartments #### +########################## -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { +variable "compartment_ocids" { type = map(any) default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# } } +################################# +# SSH Keys +################################# variable "exacs_ssh_keys" { type = map(any) default = { @@ -94,2392 +81,66 @@ variable "dbsystem_ssh_keys" { } } -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - ######################### -###### Network ########## +####### Database ######## ######################### -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} +variable "exa_infra" { + description = "To provision exadata infrastructure" + type = map(any) + default = {} } -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} +variable "exa_vmclusters" { + description = "To provision exadata cloud VM cluster" + type = map(any) + default = {} } -variable "drg_attachments" { - type = map(any) - default = {} +variable "dbsystems_vm_bm" { + description = "To provision DB System" + type = map(any) + default = {} } -variable "drg_other_attachments" { - type = map(any) - default = {} +variable "db_home" { + type = map(any) + description = "Map of database db home to be provisioned" + default = {} } -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} +variable "databases" { + description = "Map of databases to be provisioned in an existing db_home" + type = map(any) + default = {} } -variable "drg_route_rules" { - type = map(any) - default = {} -} +#################################### +####### Autonomous Database ######## +#################################### -variable "drg_route_distributions" { +variable "adb" { type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) + admin_password = optional(string) + character_set = optional(string) + compartment_id = string + cpu_core_count = optional(number) + database_edition = optional(string) + data_storage_size_in_tbs = optional(number) + customer_contacts = optional(list(string)) + db_name = string + db_version = optional(string) + db_workload = optional(string) + display_name = optional(string) + license_model = optional(string) + ncharacter_set = optional(string) + network_compartment_id = optional(string) + nsg_ids = optional(list(string)) + subnet_id = optional(string) + vcn_name = optional(string) + whitelisted_ips = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 7b10dec969a76e67911c2f0391fd1ff4187e194d Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:52:06 +0530 Subject: [PATCH 10/35] examples folder --- examples/dns/variables_phoenix.tf | 2460 +---------------------------- 1 file changed, 52 insertions(+), 2408 deletions(-) diff --git a/examples/dns/variables_phoenix.tf b/examples/dns/variables_phoenix.tf index 678f076..fdeb985 100644 --- a/examples/dns/variables_phoenix.tf +++ b/examples/dns/variables_phoenix.tf @@ -10,137 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# @@ -157,2329 +47,83 @@ variable "oke_source_ocids" { variable "compartment_ocids" { type = map(any) default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} +#################### +####### DNS ####### +#################### -variable "policies" { +variable "zones" { type = map(object({ - name = string compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) + display_name = string + view_compartment_id = optional(string) + view_id = optional(string) + zone_type = optional(string) + scope = optional(string) freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) })) default = {} } -variable "seclists" { +variable "views" { type = map(object({ compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) + display_name = string + scope = optional(string) freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) })) default = {} } -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { +variable "rrsets" { type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) + compartment_id = optional(string) + view_compartment_id = optional(string) + view_id = optional(string) + zone_id = string + domain = string + rtype = string + ttl = number + rdata = optional(list(string)) + scope = optional(string) })) default = {} } -variable "vlans" { +variable "resolvers" { type = map(object({ - cidr_block = string - compartment_id = string network_compartment_id = string vcn_name = string display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) + views = optional(map(object({ + view_id = optional(string) + view_compartment_id = optional(string) + }))) + resolver_rules = optional(map(object({ + client_address_conditions = optional(list(any)) + destination_addresses = optional(list(any)) + qname_cover_conditions = optional(list(any)) + source_endpoint_name = optional(string) + }))) + endpoint_names = optional(map(object({ + is_forwarding = optional(bool) + is_listening = optional(bool) + name = optional(string) + subnet_name = optional(string) + forwarding_address = optional(string) + listening_address = optional(string) + nsg_ids = optional(list(string)) + }))) + freeform_tags = optional(map(any)) + defined_tags = optional(map(any)) })) default = {} } - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From dfc068d613efbabd46629bb7b487c1c9462df6c1 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:52:38 +0530 Subject: [PATCH 11/35] examples folder --- examples/compute/variables_phoenix.tf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/compute/variables_phoenix.tf b/examples/compute/variables_phoenix.tf index 43383f7..6976bfe 100644 --- a/examples/compute/variables_phoenix.tf +++ b/examples/compute/variables_phoenix.tf @@ -206,3 +206,22 @@ variable "boot_backup_policies" { description = "Map of boot volume backup policies to be provisioned" default = {} } + +######################### +## Dedicated VM Hosts ## +######################### + +variable "dedicated_hosts" { + type = map(object({ + availability_domain = string + compartment_id = string + vm_host_shape = string + defined_tags = optional(map(any)) + display_name = optional(string) + fault_domain = optional(string) + freeform_tags = optional(map(any)) + })) + description = "To provision new dedicated VM hosts" + default = {} +} + From ad74ff7713eb5452d34ffd21942801443e3f9eaf Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:53:49 +0530 Subject: [PATCH 12/35] examples folder --- examples/firewall/variables_phoenix.tf | 2266 +----------------------- 1 file changed, 18 insertions(+), 2248 deletions(-) diff --git a/examples/firewall/variables_phoenix.tf b/examples/firewall/variables_phoenix.tf index 678f076..da9aeb6 100644 --- a/examples/firewall/variables_phoenix.tf +++ b/examples/firewall/variables_phoenix.tf @@ -10,2274 +10,49 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# -variable "custom_backup_policies" { - type = map(any) - default = {} -} +########################## +## Fetch Compartments #### +########################## -variable "capacity_reservation_ocids" { +variable "compartment_ocids" { type = map(any) default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# } } - ##################################### ####### Firewall as a Service ####### ##################################### @@ -2478,8 +253,3 @@ variable "fw_logs" { })) default = {} } - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From d35917b1471a0324a63e7a6c840ee9a4b211b8e7 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:56:38 +0530 Subject: [PATCH 13/35] examples folder --- examples/fss/variables_phoenix.tf | 2471 +---------------------------- 1 file changed, 79 insertions(+), 2392 deletions(-) diff --git a/examples/fss/variables_phoenix.tf b/examples/fss/variables_phoenix.tf index 65fc151..9c1df9a 100644 --- a/examples/fss/variables_phoenix.tf +++ b/examples/fss/variables_phoenix.tf @@ -10,136 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# @@ -156,2329 +47,125 @@ variable "oke_source_ocids" { variable "compartment_ocids" { type = map(any) default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) +################################### +# Platform Image OCIDs, Source OCIDS +# and Market Place Images +################################### +variable "fss_source_ocids" { + type = map(any) default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, + snapshot1 = "" + #fss_source_snapshot_ocid = "" + #START_fss_source_snapshot_ocids# + # exported fss source snapshot ocids + #fss_source_snapshot_ocids_END# } } +######################### +######### FSS ########### +######################### -variable "policies" { +variable "mount_targets" { + description = "To provision Mount Targets" type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + availability_domain = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + display_name = optional(string) + ip_address = optional(string) + hostname_label = optional(string) + nsg_ids = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } -variable "groups" { +variable "fss" { + description = "To provision File System Services" type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + availability_domain = string + compartment_id = string + display_name = optional(string) + source_snapshot = optional(string) + snapshot_policy = optional(string) + policy_compartment_id = optional(string) + kms_key_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } -variable "identity_domain_groups" { +variable "nfs_export_options" { + description = "To provision Export Sets" type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) + export_set_id = string + file_system_id = string + path = string + export_options = optional(list(any)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + is_idmap_groups_for_sys_auth = optional(bool) })) default = {} } - -variable "users" { +variable "fss_replication" { + description = "To provision File System Replication" type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) + compartment_id = string + source_id = string + target_id = string + display_name = optional(string) + replication_interval = optional(number) defined_tags = optional(map(any)) freeform_tags = optional(map(any)) })) default = {} } -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - ######################### -####### Governance ######### +####### FSS Logs ######## ######################### -variable "tag_namespaces" { - description = "To provision Namespaces" +variable "nfs_log_groups" { + description = "To provision Log Groups for Mount Target" type = map(object({ compartment_id = string - description = string - name = string + display_name = string + description = optional(string) defined_tags = optional(map(any)) freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) })) default = {} } -variable "custom_dhcps" { +variable "nfs_logs" { + description = "To provision Logs for Mount Target" type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) defined_tags = optional(map(any)) freeform_tags = optional(map(any)) })) default = {} } -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 05d601be6473d9fcab812a28c1c372846bc09d87 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:58:17 +0530 Subject: [PATCH 14/35] examples folder --- examples/identity/variables_phoenix.tf | 2292 +----------------------- 1 file changed, 8 insertions(+), 2284 deletions(-) diff --git a/examples/identity/variables_phoenix.tf b/examples/identity/variables_phoenix.tf index 678f076..6fe2a8f 100644 --- a/examples/identity/variables_phoenix.tf +++ b/examples/identity/variables_phoenix.tf @@ -10,137 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# @@ -157,237 +47,9 @@ variable "oke_source_ocids" { variable "compartment_ocids" { type = map(any) default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + CD3Demo = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } @@ -545,1941 +207,3 @@ variable "networkSources" { })) default = {} } - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 3ff4f8a2ec5b89ca3acfbfb5ec2cbf521eeda449 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 16:58:45 +0530 Subject: [PATCH 15/35] examples folder --- examples/kms/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/kms/variables_phoenix.tf_backup diff --git a/examples/kms/variables_phoenix.tf_backup b/examples/kms/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From 05b846440ff597dd79b38f342485425e81d6cf1a Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:00:39 +0530 Subject: [PATCH 16/35] examples folder --- examples/kms/variables_phoenix.tf | 2440 +---------------------------- 1 file changed, 23 insertions(+), 2417 deletions(-) diff --git a/examples/kms/variables_phoenix.tf b/examples/kms/variables_phoenix.tf index 678f076..f517f5f 100644 --- a/examples/kms/variables_phoenix.tf +++ b/examples/kms/variables_phoenix.tf @@ -10,2153 +10,53 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# - })) - default = {} +########################## +## Fetch Compartments #### +########################## +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# + } } - ############################ -## Key Management Service ## +## KMS (Keys/Vauts) ## ############################ variable "vaults" { @@ -2189,297 +89,3 @@ variable "keys" { default = {} } -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 3da07f76719724ea4a281c54ea13d9d0887a225a Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:02:18 +0530 Subject: [PATCH 17/35] examples folder --- examples/loadbalancer/variables_phoenix.tf | 2603 ++------------------ 1 file changed, 260 insertions(+), 2343 deletions(-) diff --git a/examples/loadbalancer/variables_phoenix.tf b/examples/loadbalancer/variables_phoenix.tf index 678f076..fafed34 100644 --- a/examples/loadbalancer/variables_phoenix.tf +++ b/examples/loadbalancer/variables_phoenix.tf @@ -10,137 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# @@ -157,2329 +47,356 @@ variable "oke_source_ocids" { variable "compartment_ocids" { type = map(any) default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } ######################### -##### Identity ########## +#### Load Balancers ##### ######################### -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } +variable "load_balancers" { + description = "To provision Load Balancers" + type = map(object({ + compartment_id = string + vcn_name = string + shape = string + subnet_ids = list(any) + network_compartment_id = string + display_name = string + shape_details = optional(list(map(any))) + nsg_ids = optional(list(any)) + is_private = optional(bool) + ip_mode = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) + reserved_ips_id = optional(string) + })) + default = {} } -variable "policies" { +variable "hostnames" { + description = "To provision Load Balancer Hostnames" type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + load_balancer_id = string + hostname = string + name = string })) default = {} } -variable "groups" { +variable "certificates" { + description = "To provision Load Balancer Certificates" type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + certificate_name = string + load_balancer_id = string + ca_certificate = optional(string) + passphrase = optional(string) + private_key = optional(string) + public_certificate = optional(string) })) default = {} } -variable "identity_domain_groups" { +variable "cipher_suites" { + description = "To provision Load Balancer Cipher Suites" type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) + ciphers = list(string) + name = string + load_balancer_id = optional(string) })) default = {} } - -variable "users" { +variable "backend_sets" { + description = "To provision Load Balancer Backend Sets" type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + name = string + load_balancer_id = string + policy = string + protocol = optional(string) + interval_ms = optional(string) + is_force_plain_text = optional(string) + port = optional(string) + response_body_regex = optional(string) + retries = optional(string) + return_code = optional(string) + timeout_in_millis = optional(string) + url_path = optional(string) + lb_cookie_session = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + path = optional(string) + domain = optional(string) + is_http_only = optional(string) + is_secure = optional(string) + max_age_in_seconds = optional(string) + }))) + session_persistence_configuration = optional(list(object({ + cookie_name = optional(string) + disable_fallback = optional(string) + }))) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) })) default = {} } -variable "identity_domain_users" { +variable "backends" { + description = "To provision Load Balancer Backends" type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) + backendset_name = string + ip_address = string + load_balancer_id = string + port = string + instance_compartment = optional(string) + backup = optional(string) + drain = optional(string) + offline = optional(string) + weight = optional(string) })) default = {} } - -variable "networkSources" { +variable "listeners" { + description = "To provision Load Balancer Listeners" type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - + name = string + load_balancer_id = string + port = string + protocol = string + default_backend_set_name = string + connection_configuration = optional(list(map(any))) + hostname_names = optional(list(any)) + path_route_set_name = optional(string) + rule_set_names = optional(list(any)) + routing_policy_name = optional(string) + certificate_name = optional(string) + cipher_suite_name = optional(string) + ssl_configuration = optional(list(object({ + certificate_ids = optional(list(any)) + server_order_preference = optional(string) + trusted_certificate_authority_ids = optional(list(any)) + verify_peer_certificate = optional(string) + verify_depth = optional(string) + protocols = optional(list(any)) + }))) })) default = {} } -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" +variable "path_route_sets" { + description = "To provision Load Balancer Path Route Sets" type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) + name = string + load_balancer_id = string + path_routes = optional(list(map(any))) })) default = {} } -variable "tag_keys" { - description = "To provision Tag Keys" +variable "rule_sets" { + description = "To provision Load Balancer Rule Sets" type = map(object({ - tag_namespace_id = string - description = string name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) + load_balancer_id = string + access_control_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + description = optional(string) + }))) + access_control_method_rules = optional(list(object({ + action = string + allowed_methods = optional(list(any)) + status_code = optional(string) + }))) + http_header_rules = optional(list(object({ + action = string + are_invalid_characters_allowed = optional(bool) + http_large_header_size_in_kb = optional(string) + }))) + uri_redirect_rules = optional(list(object({ + action = string + attribute_name = optional(string) + attribute_value = optional(string) + operator = optional(string) + host = optional(string) + path = optional(string) + port = optional(string) + protocol = optional(string) + query = optional(string) + response_code = optional(string) + }))) + request_response_header_rules = optional(list(object({ + action = string + header = optional(string) + prefix = optional(string) + suffix = optional(string) + value = optional(string) }))) })) default = {} } -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" +variable "lbr_reserved_ips" { + description = "To provision Load Balancer Reserved IPs" type = map(object({ compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) + display_name = string + lifetime = string + private_ip_id = optional(string) + public_ip_pool_id = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } -variable "quota_policies" { +variable "lb_routing_policies" { + description = "To provision Load Balancer Routing Policies" type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + name = string + load_balancer_id = string + condition_language_version = optional(string) + rules = optional(list(map(any))) })) default = {} } -######################### -###### Network ########## -######################### +################################### +####### Load Balancer Logs ######## +################################### -variable "default_dhcps" { +variable "loadbalancer_log_groups" { + description = "To provision Log Groups for Load Balancers" type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) + compartment_id = string + display_name = string + description = optional(string) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } -variable "custom_dhcps" { +variable "loadbalancer_logs" { + description = "To provision Logs for Load Balancers" type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) + display_name = string + log_group_id = string + log_type = string + compartment_id = optional(string) + category = optional(string) + resource = optional(string) + service = optional(string) + source_type = optional(string) + is_enabled = optional(bool) + retention_duration = optional(number) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} +######################### +## Network Load Balancers ## +######################### -variable "nsg_rules" { +variable "network_load_balancers" { type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) + display_name = string + compartment_id = string + network_compartment_id = string + vcn_name = string + subnet_id = string + is_private = optional(bool) + reserved_ips_id = string + is_preserve_source_destination = optional(bool) + is_symmetric_hash_enabled = optional(bool) + nlb_ip_version = optional(string) + assigned_private_ipv4 = optional(string) + nsg_ids = optional(list(string)) + defined_tags = optional(map(any)) + freeform_tags = optional(map(any)) })) default = {} } - -variable "subnets" { +variable "nlb_listeners" { type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) + name = string + network_load_balancer_id = string + default_backend_set_name = string + port = number + protocol = string + ip_version = optional(string) })) default = {} } -variable "vlans" { +variable "nlb_backend_sets" { type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) + name = string + network_load_balancer_id = string + policy = string + protocol = string + domain_name = optional(string) + query_class = optional(string) + query_type = optional(string) + rcodes = optional(list(string)) + transport_protocol = optional(string) + return_code = optional(number) + interval_in_millis = optional(number) + port = optional(number) + request_data = optional(string) + response_body_regex = optional(string) + response_data = optional(string) + retries = optional(number) + timeout_in_millis = optional(number) + url_path = optional(string) + is_preserve_source = optional(bool) + ip_version = optional(string) })) default = {} } - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { +variable "nlb_backends" { type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) + name = optional(string) + backend_set_name = string + network_load_balancer_id = string + port = number + ip_address = string + instance_compartment = string + is_drain = optional(bool) + is_backup = optional(bool) + is_offline = optional(bool) + weight = optional(number) + target_id = optional(string) })) default = {} } - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { +variable "nlb_reserved_ips" { + description = "To provision Network Load Balancer Reserved IPs" type = map(object({ - distribution_type = string - drg_id = string + compartment_id = string + lifetime = string defined_tags = optional(map(any)) freeform_tags = optional(map(any)) display_name = optional(string) + private_ip_id = optional(string) + public_ip_pool_id = optional(string) })) default = {} } - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 14996a0ed0a5009f5689e7181ed8f7e85c79d4a4 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:04:21 +0530 Subject: [PATCH 18/35] examples folder --- .../managementservices/variables_phoenix.tf | 2394 +---------------- 1 file changed, 22 insertions(+), 2372 deletions(-) diff --git a/examples/managementservices/variables_phoenix.tf b/examples/managementservices/variables_phoenix.tf index 678f076..a3d3563 100644 --- a/examples/managementservices/variables_phoenix.tf +++ b/examples/managementservices/variables_phoenix.tf @@ -10,1885 +10,54 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# -######################### -### OSS IAM Policies #### -######################### +########################## +## Fetch Compartments #### +########################## -variable "oss_policies" { - type = map(any) - default = {} +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# + } } ######################### ## Management Services ## ######################### - variable "alarms" { type = map(object({ compartment_id = string @@ -1964,522 +133,3 @@ variable "service_connectors" { default = {} description = "To provision service connector hub resources" } - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 442957bff2a4729d9479c7b4d18b4ea187dafad0 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:04:58 +0530 Subject: [PATCH 19/35] examples folder --- examples/managementservices/variables_phoenix.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/managementservices/variables_phoenix.tf b/examples/managementservices/variables_phoenix.tf index a3d3563..884466c 100644 --- a/examples/managementservices/variables_phoenix.tf +++ b/examples/managementservices/variables_phoenix.tf @@ -50,7 +50,7 @@ variable "compartment_ocids" { #START_compartment_ocids# root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" - AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" + Network = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } From c95035b9eef78f209b42b4c0f5ef6b0558255be4 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:06:23 +0530 Subject: [PATCH 20/35] examples folder --- examples/network/variables_phoenix.tf | 2121 +------------------------ 1 file changed, 10 insertions(+), 2111 deletions(-) diff --git a/examples/network/variables_phoenix.tf b/examples/network/variables_phoenix.tf index 678f076..87f8b45 100644 --- a/examples/network/variables_phoenix.tf +++ b/examples/network/variables_phoenix.tf @@ -10,137 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# @@ -157,455 +47,17 @@ variable "oke_source_ocids" { variable "compartment_ocids" { type = map(any) default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### ###### Network ########## ######################### +######################### variable "default_dhcps" { type = map(object({ @@ -930,1556 +382,3 @@ variable "data_drg_route_table_distributions" { type = map(any) default = {} } - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From cd02324a18b6aa943cb6c385430b6555c6a9413d Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:06:54 +0530 Subject: [PATCH 21/35] examples folder --- examples/nsg/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/nsg/variables_phoenix.tf_backup diff --git a/examples/nsg/variables_phoenix.tf_backup b/examples/nsg/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From 0c7a2baa6b359cb030b12d13c8738becd07db27c Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:08:14 +0530 Subject: [PATCH 22/35] examples folder --- examples/nsg/variables_phoenix.tf | 2419 +---------------------------- 1 file changed, 10 insertions(+), 2409 deletions(-) diff --git a/examples/nsg/variables_phoenix.tf b/examples/nsg/variables_phoenix.tf index 678f076..56d2f0d 100644 --- a/examples/nsg/variables_phoenix.tf +++ b/examples/nsg/variables_phoenix.tf @@ -10,137 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# @@ -157,653 +47,16 @@ variable "oke_source_ocids" { variable "compartment_ocids" { type = map(any) default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" #compartment_ocids_END# } } - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - ######################### -###### Network ########## +## NSGs and NSG Rules ## ######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - variable "nsgs" { type = map(object({ compartment_id = string @@ -831,1655 +84,3 @@ variable "nsg_rules" { })) default = {} } - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 9ac7f280c2a8312f56d9186e4c1a7782f0f3594e Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:08:53 +0530 Subject: [PATCH 23/35] examples folder --- examples/ocvs/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/ocvs/variables_phoenix.tf_backup diff --git a/examples/ocvs/variables_phoenix.tf_backup b/examples/ocvs/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From 3b24fb3b5add9abc4e694d8353acc3233893a521 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:09:36 +0530 Subject: [PATCH 24/35] examples folder --- examples/ocvs/variables_phoenix.tf | 2383 +--------------------------- 1 file changed, 22 insertions(+), 2361 deletions(-) diff --git a/examples/ocvs/variables_phoenix.tf b/examples/ocvs/variables_phoenix.tf index 678f076..6920300 100644 --- a/examples/ocvs/variables_phoenix.tf +++ b/examples/ocvs/variables_phoenix.tf @@ -10,2059 +10,50 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} +########################## +## Fetch Compartments #### +########################## -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# + } } - - ################################## ############## SDDCs ############# ################################## @@ -2153,333 +144,3 @@ variable "sddc-clusters" { default = {} } - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From b22744cd4ea088cc196d9f5f51e017afd6f166b1 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:10:15 +0530 Subject: [PATCH 25/35] examples folder --- examples/oke/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/oke/variables_phoenix.tf_backup diff --git a/examples/oke/variables_phoenix.tf_backup b/examples/oke/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From 77e72f9c92a400ff010c4513099596cf9f65b762 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:11:43 +0530 Subject: [PATCH 26/35] examples folder --- examples/oke/variables_phoenix.tf | 2396 +---------------------------- 1 file changed, 46 insertions(+), 2350 deletions(-) diff --git a/examples/oke/variables_phoenix.tf b/examples/oke/variables_phoenix.tf index 678f076..72ac153 100644 --- a/examples/oke/variables_phoenix.tf +++ b/examples/oke/variables_phoenix.tf @@ -10,1961 +10,78 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" + default = "" } ################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} +# +# Variables according to Services +# PLEASE DO NOT MODIFY +# +################################# -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} +########################## +## Fetch Compartments #### +########################## -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# + } } -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} +################################# +# SSH Keys +################################# +variable "oke_ssh_keys" { + type = map(any) + default = { + ssh_public_key = "" + # Use '\n' as the delimiter to add multiple ssh keys. + # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" + #START_oke_ssh_keys# + #oke_ssh_keys_END# + } } -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" +################################### +# Platform Image OCIDs, Source OCIDS +# and Market Place Images +################################### +variable "oke_source_ocids" { + type = map(any) + default = { + Linux = "" + #START_oke_source_ocids# + # exported oke image ocids + #oke_source_ocids_END# + } } - ######################### ## Developer Services ## ######################### @@ -2062,424 +179,3 @@ variable "virtual-nodepools" { default = {} } - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From 07ae40e21d960ab5f3c59db91eb923ff94a49f38 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:12:56 +0530 Subject: [PATCH 27/35] examples folder --- examples/oss/variables_phoenix.tf | 2414 +---------------------------- 1 file changed, 19 insertions(+), 2395 deletions(-) diff --git a/examples/oss/variables_phoenix.tf b/examples/oss/variables_phoenix.tf index 678f076..f372e93 100644 --- a/examples/oss/variables_phoenix.tf +++ b/examples/oss/variables_phoenix.tf @@ -10,1826 +10,49 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } + default = "" } ################################# # # Variables according to Services # PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} -} - -######################### -####### Governance ######### -######################### - -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### +# +################################# -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} +########################## +## Fetch Compartments #### +########################## -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} +variable "compartment_ocids" { + type = map(any) + default = { + #START_compartment_ocids# + root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25odbfbdbfbbcuxiies2dgpwdinmrmel3a" + Security = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhdhdfdf6nubepnm6j3wsllkhxf4xsdfdf" + AppDev = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsryhsddddfdf6nubepnm6j3wsllkhxf4xjl4hoa" + #compartment_ocids_END# + } } ######################### @@ -1884,602 +107,3 @@ variable "oss_policies" { type = map(any) default = {} } - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From fb4207e24a1c38c23844127a036101cc21dbf68f Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:13:30 +0530 Subject: [PATCH 28/35] examples --- examples/quota/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/quota/variables_phoenix.tf_backup diff --git a/examples/quota/variables_phoenix.tf_backup b/examples/quota/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From ebe87f4def38db5846f31571ae757f7d9442f7c5 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:15:02 +0530 Subject: [PATCH 29/35] examples folder --- examples/quota/variables_phoenix.tf | 2448 +-------------------------- 1 file changed, 6 insertions(+), 2442 deletions(-) diff --git a/examples/quota/variables_phoenix.tf b/examples/quota/variables_phoenix.tf index 678f076..25622da 100644 --- a/examples/quota/variables_phoenix.tf +++ b/examples/quota/variables_phoenix.tf @@ -10,588 +10,33 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} + default = "" } ######################### ####### Governance ######### ######################### -variable "tag_namespaces" { - description = "To provision Namespaces" - type = map(object({ - compartment_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_retired = optional(bool) - })) - default = {} -} - -variable "tag_keys" { - description = "To provision Tag Keys" - type = map(object({ - tag_namespace_id = string - description = string - name = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_cost_tracking = optional(bool) - is_retired = optional(bool) - validator = optional(list(object({ - validator_type = optional(string) - validator_values = optional(list(any)) - }))) - })) - default = {} -} - -variable "tag_defaults" { - description = "To make the Tag keys as default to compartments" - type = map(object({ - compartment_id = string - tag_definition_id = string - value = string - is_required = optional(bool) - })) - default = {} -} - variable "quota_policies" { type = map(object({ quota_name = string @@ -601,1885 +46,4 @@ variable "quota_policies" { freeform_tags = optional(map(any)) })) default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file +} From 867fb990438b7865f522e59099cc5b6f8206aa62 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:15:29 +0530 Subject: [PATCH 30/35] examples folder --- examples/tagging/variables_phoenix.tf_backup | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 examples/tagging/variables_phoenix.tf_backup diff --git a/examples/tagging/variables_phoenix.tf_backup b/examples/tagging/variables_phoenix.tf_backup deleted file mode 100644 index e69de29..0000000 From c683affda15ecb825fbc504bbe448bc5511333a2 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Fri, 13 Sep 2024 17:16:22 +0530 Subject: [PATCH 31/35] examples folder --- examples/tagging/variables_phoenix.tf | 2415 +------------------------ 1 file changed, 5 insertions(+), 2410 deletions(-) diff --git a/examples/tagging/variables_phoenix.tf b/examples/tagging/variables_phoenix.tf index 678f076..485409c 100644 --- a/examples/tagging/variables_phoenix.tf +++ b/examples/tagging/variables_phoenix.tf @@ -10,540 +10,27 @@ variable "tenancy_ocid" { type = string - default = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" + default = "" } variable "user_ocid" { type = string - default = "ocid1.user.oc1..aaaaaaaamrydq6o4zgashfysn3t34lxdn6khsxrirhpnq3gsrwpj67ialf6a" + default = "" } variable "fingerprint" { type = string - default = "d7:ca:3c:e8:f5:14:27:a3:22:34:c8:aa:15:6d:3e:fe" + default = "" } variable "private_key_path" { type = string - default = "/Users/susingla/PyCharmProjects/orahub-develop/cd3user/tenancies/gc/.config_files/gc2_api_private.pem" + default = "" } variable "region" { type = string - default = "us-phoenix-1" -} - -################################# -# SSH Keys -################################# - -variable "instance_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_instance_ssh_keys# - # exported instance ssh keys - #instance_ssh_keys_END# - } -} - -variable "oke_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_oke_ssh_keys# - #oke_ssh_keys_END# - } -} -variable "sddc_ssh_keys" { - type = map(any) - default = { - ssh_public_key = "" - # Use '\n' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = "ssh-rsa AAXXX......yhdlo\nssh-rsa AAxxskj...edfwf" - #START_sddc_ssh_keys# - #sddc_ssh_keys_END# - } -} - -variable "exacs_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_exacs_ssh_keys# - # exported exacs ssh keys - #exacs_ssh_keys_END# - } -} - -variable "dbsystem_ssh_keys" { - type = map(any) - default = { - ssh_public_key = [""] - # Use ',' as the delimiter to add multiple ssh keys. - # Example: ssh_public_key = ["ssh-rsa AAXXX......yhdlo","ssh-rsa AAxxskj...edfwf"] - #START_dbsystem_ssh_keys# - # exported dbsystem ssh keys - #dbsystem_ssh_keys_END# - } -} - -################################# -# Platform Image OCIDs and -# Market Place Images -################################# - -variable "instance_source_ocids" { - type = map(any) - default = { - Linux = "ocid1.image.oc1.phx.aaaaaaaapubemfdyxzh3uhdw2io523f2rhyxnh5t7vqnrqe3f333lspmwp4q" - Windows = "ocid1.image.oc1.phx.aaaaaaaa4eyds5o2ogoigns7pk2a74s56bhfspibii6nyoo7tsinbk7hkt3q" - PaloAlto = "Palo Alto Networks VM-Series Next Generation Firewall" - #START_instance_source_ocids# - # exported instance image ocids - #instance_source_ocids_END# - } -} - -variable "blockvolume_source_ocids" { - type = map(any) - default = { - block1 = "" - #blockvolume_source_ocid = "" - #START_blockvolume_source_ocids# - # exported block volume source ocids - #blockvolume_source_ocids_END# - } -} - -variable "fss_source_ocids" { - type = map(any) - default = { - snapshot1 = "" - #fss_source_snapshot_ocid = "" - #START_fss_source_snapshot_ocids# - # exported fss source snapshot ocids - #fss_source_snapshot_ocids_END# - } -} - -variable "oke_source_ocids" { - type = map(any) - default = { - Linux = "" - #START_oke_source_ocids# - # exported oke image ocids - #oke_source_ocids_END# - } -} - -################################# -# -# Variables according to Services -# PLEASE DO NOT MODIFY -# -################################# - -########################## -## Fetch Compartments #### -########################## - -variable "compartment_ocids" { - type = map(any) - default = { - #START_compartment_ocids# - Venkat = "ocid1.compartment.oc1..aaaaaaaa5tx27cqohsrydgxqifhgnmzcp6nubepnm6j3wsllkhxf4xjl4hoa" - ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - Ulag--ulag-subtest-comp-two = "ocid1.compartment.oc1..aaaaaaaaxcbws7orjufy3dp2fltnksxtpjom75344cdfbtk4pgo4nl7bhgeq" - ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - Ulag--ulag-subtest-comp = "ocid1.compartment.oc1..aaaaaaaab5cnq6ums6kas7ui3mxrfozescjpkxcztsbxnny3yt4bsbdku3va" - ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - Ulag--ulag-gs--ulag-gs-clone--ulag-gs-clone-two = "ocid1.compartment.oc1..aaaaaaaap5fcrlhq3wrkntwkgsvmzgwze7pvub4sg2is4acd2ufgomkqhqua" - latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - Ulag--ulag-gs--ulag-gs-clone--latest-security-cmp = "ocid1.compartment.oc1..aaaaaaaa4utvjvdutgeh3ap6xnmupx7ep74oepzknw6lqyct7zpfsqwynbua" - latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - Ulag--ulag-gs--ulag-gs-clone--latest-network-cmp = "ocid1.compartment.oc1..aaaaaaaarbwce2suqrnrfmvmqeh5ng6fw3uphdlymnehmibokz3phatfu5fa" - latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - Ulag--ulag-gs--ulag-gs-clone--latest-database-cmp = "ocid1.compartment.oc1..aaaaaaaatqjpclbkdngb5ob7lsemngbkxa327gw5a2sejjm6qd6sdiz6rnqq" - latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - Ulag--ulag-gs--ulag-gs-clone--latest-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaczqlrknsoajloqfz3r3r5ipiw47tuii2ltxlvoccgqxdmgz4msaa" - ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - Ulag--ulag-gs--ulag-gs-clone = "ocid1.compartment.oc1..aaaaaaaaschs5bnqztbh7zu5zndkph2ob3ttk3an7flsrnuaok3a37mqgy7q" - ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - Ulag--ulag-gs = "ocid1.compartment.oc1..aaaaaaaaqqehidadrik3grhtwl7zhrehj445mejfh4eobp5odzmegll4dcja" - ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - Ulag--ulag-demo-gs--ulag-security-cmp = "ocid1.compartment.oc1..aaaaaaaasoogmkh7srxcpuycrcvwumpsy4wkjgcvk3cnsym4aimiz2r33zla" - ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - Ulag--ulag-demo-gs--ulag-network-cmp = "ocid1.compartment.oc1..aaaaaaaa2h77s5msijzouu6miase6ymhdbpcric677llml7auhn5wjmoirra" - ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - Ulag--ulag-demo-gs--ulag-database-cmp = "ocid1.compartment.oc1..aaaaaaaalbapevikb5nme3xkweqscfowsg3drft7gq27dbbqlpa47axuf7ka" - ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - Ulag--ulag-demo-gs--ulag-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaz5po3szsxdr64lxzmre5jmddnt523cbzqul6ocpvy3cltrqldjya" - ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--ulag-demo-gs = "ocid1.compartment.oc1..aaaaaaaaerygnvz4juar5zire4brpja76f7phigzvbycd5dgngfdcdh6wrla" - Ulag--cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaaytzlqjiveay6cqd75is5lwii64rkm4a6hyafu7pjx7nvc5eg5jca" - Ulag--cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaw6rnf2xtutt3o4qfulsmv5x6ttwpqra2q5jxqwf6tyav6eizm7ma" - Ulag--cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaaopjwpmzhqv3mbklu2nsbgfweb5adiywprsodogoovo4322rmxxwq" - Ulag--cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa4gnfht532aotv56ordc6hdwzszx4ryhrhjyud2qhhpg4rnupil5q" - cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - Ulag--cd3-security-cmp = "ocid1.compartment.oc1..aaaaaaaawvgis55pemziiafftrxiqxi2snsaozm6cpsatvb7stdiy6tcxp3q" - cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - Ulag--cd3-network-cmp = "ocid1.compartment.oc1..aaaaaaaardruwhymmya2a7vbnvmtun3b5br3euxf2k7aggvs5thfyhcdf5jq" - cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - Ulag--cd3-database-cmp = "ocid1.compartment.oc1..aaaaaaaamvmkyexec2ktpnuesrnol563mmtdsec4gmof2d34qrssqg73f6yq" - cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag--cd3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa37n5kreegtzpvoiljozgp5aciagyy355uoomiygj3krrgbq2kaeq" - Ulag = "ocid1.compartment.oc1..aaaaaaaapmksuq5cemyfej4ljckx5yt32aajhcvvpon2bhnxn26odngehd7a" - ToolkitTest = "ocid1.compartment.oc1..aaaaaaaarszlzfb4evablugdp2h5m75gkm4nfr3yueoeuymhgyhp5wolsrta" - Thiru--Network = "ocid1.compartment.oc1..aaaaaaaaxwux6ndaihhma7teuiebkieinlgycby6qpyjnny4j3fipdrv24oq" - appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru--appdev = "ocid1.compartment.oc1..aaaaaaaaq5j27ex2qzwvmditps3mv5jsunadztqsar64lzugc2bhcljitv3a" - Thiru = "ocid1.compartment.oc1..aaaaaaaai26ncolntleec33fhj2fxjvpszfnxljhi36sgmnigg5v3a4cni7a" - TestC = "ocid1.compartment.oc1..aaaaaaaaj5p3oosjo36fm5viwuoejmz73deguzvbqih42tzos5hoovih3cxq" - SonarQube-PoC = "ocid1.compartment.oc1..aaaaaaaakcgh5qzrfanz6i2snmbjuvswp2lydr532syxfbsxw4zwn5tkf6xq" - snandyal = "ocid1.compartment.oc1..aaaaaaaatj7snssq2f4uc6xutdp7mnnokns5l2omirgiv5zgt4zna245jm2q" - Shruthi = "ocid1.compartment.oc1..aaaaaaaavpalwje7donakw6dkvaob4grz64zoqvlwwei5zqxxiw6sa6h2bnq" - SecurityOne = "ocid1.compartment.oc1..aaaaaaaamhtaucwxvvqk2gtifgbaznnimqfu3d4av4oufgvgbwsm77t4fyya" - santhosh = "ocid1.compartment.oc1..aaaaaaaargr2knnoom76fqmyhg7p5eqvd3mikr6sda4gmr6repegtl4aricq" - Security = "ocid1.compartment.oc1..aaaaaaaaenn4btnfg2rw46sflivtqbvfc4fvyqzxyw63vgr2p7jket533upa" - Sameer--Security = "ocid1.compartment.oc1..aaaaaaaa3g3d46p4iiffmzgy72tj5ghsgsncpdbzu2phbz65alb2ys6qlg2q" - Sameer--Network = "ocid1.compartment.oc1..aaaaaaaalq44rf6cubut7bxffsovz2epoqpnx5a33xc3rqiaqvycox5huzlq" - Sameer--Database = "ocid1.compartment.oc1..aaaaaaaaf7ctywnnmgsrbpv4qs7jedfrg3zl2npopr4osuar5kp22thkjo3q" - Sameer--Apps = "ocid1.compartment.oc1..aaaaaaaandfxhm4oepolvvox5ttok6ptyqg5bo7djomgabdn4hyv3p47jupq" - Sameer = "ocid1.compartment.oc1..aaaaaaaanvoyadqwczf2v7s73hu54my24rkgl2aepjmagzqtty72vp4gdhua" - Samanth = "ocid1.compartment.oc1..aaaaaaaazcdtjf7x4jjgdsybvftxoxzsfv55ej7sqcnpbsprgza2w5sycydq" - Ranjini = "ocid1.compartment.oc1..aaaaaaaaviuzt7fcjqiycpcbnnpi5u2fn7ftv7bccnl4kpwehethmhkx7kda" - pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM--pa-praveen = "ocid1.compartment.oc1..aaaaaaaalm2te34vyfn3gb4x6ownbn5nskw2xiy7q36q3xdanvyn7rdcdthq" - PraveenM = "ocid1.compartment.oc1..aaaaaaaal4yfobqnm6xjuteoo7zmkbnoqbojr65gec5rsb6ir3v44yfpdsnq" - Pavan = "ocid1.compartment.oc1..aaaaaaaavqxcuktb5ntd42crneync5l5avjbfhyj5fl5ycx3kmkag6xye5sa" - Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - OMCDev--Solutions = "ocid1.compartment.oc1..aaaaaaaaj3ruaividxxqozbbfvbdgfemaammilqmguyzv226nj622d5ryeia" - Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - OMCDev--Rajesh--Project1 = "ocid1.compartment.oc1..aaaaaaaa34tous73be2nsqobztjnajr4zydbp23j5bud2weendxiiidz3uta" - VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - OMCDev--Rajesh--Prod--ProdNetwork--VAProdNetwork = "ocid1.compartment.oc1..aaaaaaaafdvxjlabbhpot6islzu5hoqc2rk5xsdnrfjjkv7ebp6lmjgghqyq" - NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - OMCDev--Rajesh--Prod--ProdNetwork--NYProdNetwork = "ocid1.compartment.oc1..aaaaaaaa56wkmwtezbq4bvt5geitjc2ih7xpsohomotu2k2fhmnerqy54v3q" - ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - OMCDev--Rajesh--Prod--ProdNetwork = "ocid1.compartment.oc1..aaaaaaaa7ng5fzzcornosgzdvg4xdhckxfhvnmq6jrzddvorbmcgsxfz6hea" - VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - OMCDev--Rajesh--Prod--ProdDB--VAProdDB = "ocid1.compartment.oc1..aaaaaaaasyc2zly7qzvzxkxca4ozrnukf5b3og5v2vvnr7d2g7qrc6ef2t7a" - NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - OMCDev--Rajesh--Prod--ProdDB--NYProdDB = "ocid1.compartment.oc1..aaaaaaaarfso4m3ypmg5grearmfk677jjjxbi2mafqoadcqxirp4w22suvgq" - ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - OMCDev--Rajesh--Prod--ProdDB = "ocid1.compartment.oc1..aaaaaaaaora3sa2xc4fk5lpd5l6jiw4c53gjufibbadl7nrehn2exbhqfi6a" - VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - OMCDev--Rajesh--Prod--ProdApp--VAProdApp = "ocid1.compartment.oc1..aaaaaaaapdxdwbzcwkdq647sdunvvtjdtbk34lsvsgdmxj4dz46orqszsyga" - NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - OMCDev--Rajesh--Prod--ProdApp--NYProdApp = "ocid1.compartment.oc1..aaaaaaaancqb7rvvi56zicynythp7z5plrkboflpehthdthz62bag57fvjgq" - ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - OMCDev--Rajesh--Prod--ProdApp = "ocid1.compartment.oc1..aaaaaaaahf5lj5ytswr2yt3sdvnblabzfghkwd5x6odvnysx24qx5le2piwq" - Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - OMCDev--Rajesh--Prod = "ocid1.compartment.oc1..aaaaaaaamr7uk53lv4ef5gtyrpikpnklxxzeui2bknvaeio7hdjxdoakvleq" - NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - OMCDev--Rajesh--NonProd--NonProdNetwork = "ocid1.compartment.oc1..aaaaaaaa6ns5dbbfbpfaowstnubgz3g2yd466u3zxouqhpscxy6fqjgklbjq" - NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - OMCDev--Rajesh--NonProd = "ocid1.compartment.oc1..aaaaaaaaod3wuxgftjyxcvvl33qoy2ieck2zh4f3wnpt3m6dvywwdt633cya" - Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev--Rajesh = "ocid1.compartment.oc1..aaaaaaaak437xz7cwuuqu2vaylwvuayguwlkmjo2xj5cw7ay4duqtytqbcgq" - OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev--OMCDev-VM = "ocid1.compartment.oc1..aaaaaaaa7jbnffobhy5wkqqhqxxnepoh4z2ylwikr5rg4slidxzec7aijanq" - OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev--OMCDev-POC = "ocid1.compartment.oc1..aaaaaaaa4ufdfsdytjlbgd7q6bi6fzssum62cqc5yyvatr346hhpkzkri3wq" - OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDev--OMCDev-Network = "ocid1.compartment.oc1..aaaaaaaai5cpicoonz7kwmhv4647vrp57sqn5v3wzliv7kcrqpg3gfsf3uea" - OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OMCDev--OMCDemo = "ocid1.compartment.oc1..aaaaaaaaovkqc4ryzb6g2zykn5ek6l76x2yw6ggqtv36yvte62bf7sgonynq" - OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - OMCDev--OCS-VM-Resources = "ocid1.compartment.oc1..aaaaaaaa7nhxac4la7t6k2uql6gc6sxwtom5wntzrviwlb4pnovlzjz6uxla" - Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Navnesin = "ocid1.compartment.oc1..aaaaaaaasj6gjr42n63gdxy2dehegzl5l3swz2jwytsjauxenfodcugwomoa" - OMCDev--Karthik--Network = "ocid1.compartment.oc1..aaaaaaaammrj32o5vuv4zug5okcghshoytjynzpfiianzo7marqwxccuc27a" - Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - OMCDev--Karthik--Intances = "ocid1.compartment.oc1..aaaaaaaavjksr7xgqzyvh3y365jo7sha3fjk6hvao2fu65etuy2cffryoroq" - Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev--Karthik = "ocid1.compartment.oc1..aaaaaaaaod7wxvhqsrm2f53fqhm4lsgwga3tqabuazvztfca622vflswiqua" - OMCDev = "ocid1.compartment.oc1..aaaaaaaao5pv3wnyma2fyj6mik3cnuuiya2dnwkm5mhxnjqjebpmfmao45fa" - jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - OCSWork--jan2-security-cmp = "ocid1.compartment.oc1..aaaaaaaaenejjwgxmr25rcdu7cseqog2tim5i7ard7ep345figgt2qftigxq" - jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - OCSWork--jan2-network-cmp = "ocid1.compartment.oc1..aaaaaaaaevdd2fs2kppnh2ka3hsc2xcla4y4437z6rxmp7azwsjn43y6im6q" - jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - OCSWork--jan2-database-cmp = "ocid1.compartment.oc1..aaaaaaaajvwyn7pme4r5k2bi3tdih22oqsaqdectndr2kfejew6widup5laq" - jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork--jan2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaareir2mj72mzefljibqplbaj2yi5qfwm2sdqagzj2nvrxotizdwba" - OCSWork = "ocid1.compartment.oc1..aaaaaaaaci4ffn6dw3rr4xv3wduz4vzf2meslyswspfnnuzbop2ct43knhvq" - new-security-cmp = "ocid1.compartment.oc1..aaaaaaaatzcugeb2kmayfrahnst2izvoghn7w2olkfw3wyr3tkek3hsjxmzq" - new-network-cmp = "ocid1.compartment.oc1..aaaaaaaaoj6pm2fbh4e7ayp3j2vvm67wzj3ygbxwm3o5nvskdrdc24oihcia" - new-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaa75pq74dfa6kmushgllg2j3x4lgwjdofa4sd7tzc2644cx7y5ucuq" - NetworkOne = "ocid1.compartment.oc1..aaaaaaaac47zgxxprkhgku4qhzbfnyonacngy36z2chijjj2wqotqes6eomq" - Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network--Test = "ocid1.compartment.oc1..aaaaaaaalya2tsihtavqm46eklyrjdwsmwha6mryn7oaic63ear7p7hy4pxq" - Network = "ocid1.compartment.oc1..aaaaaaaadrzxjvkjjg37k4twmdfcmaclturnrbt3bm55corawskxzy6k3cyq" - NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim--NadimTest = "ocid1.compartment.oc1..aaaaaaaayw3q6bjaiv4ruqm7ylxld65yb5yjqzgazbw4inihpcddjabhkvgq" - Nadim = "ocid1.compartment.oc1..aaaaaaaaauayetftavhgqu65s37uhy63v3o75meqf3fngmuraiuezjlnvbeq" - my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo--my-security-cmp = "ocid1.compartment.oc1..aaaaaaaayzvlafosjwtsog55fvc6jmtauhvc4ayp5x3lyzq3ynkbfbikz7aq" - MyDemo = "ocid1.compartment.oc1..aaaaaaaaq3vv2cxzblh5lijaspbbrgrleqozzp4zrbsravefsy42pjhofr4q" - Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Infrastructure = "ocid1.compartment.oc1..aaaaaaaaz6zeucdtm6eegojn3ftgi3zzzro3po2fheoozjum5gf7aovpcpxa" - MVT--Apps = "ocid1.compartment.oc1..aaaaaaaaimzb7xeijj6qhmxqyaj3nnebg5elzwdbdose5dx54xvivbhldo3q" - MVT = "ocid1.compartment.oc1..aaaaaaaaed4sygmmdktqk7cfibvgu7urce7o6zucxp5eyzvpry46hq33griq" - Mukund = "ocid1.compartment.oc1..aaaaaaaaei63kpni54thfpnmgpkir3zmobfnoeiayhorzuposjxcrbutgnza" - may-security-cmp = "ocid1.compartment.oc1..aaaaaaaa42bbcgvdjlo5cwvzl2l7rhpnemqssveiahlsslh3c56wusttcpxq" - may-network-cmp = "ocid1.compartment.oc1..aaaaaaaal3skaxxizjoax7fh47kw6hysqlwjunxksk3f7eaoqd5yrxdajzuq" - may-database-cmp = "ocid1.compartment.oc1..aaaaaaaaj6aujhgx7lo6bi5laghruqph6ekmwkfogsfppv73xpyq25uyo74q" - may-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaafyslbvg74id2ocg5etoawqigi5fyhmt4jtkvwxoo2kyogrv7shqq" - ManagedCompartmentForPaaS = "ocid1.compartment.oc1..aaaaaaaanbxnq3k4xi6xvmwo76ps2cvlmxqshlz6bey4jny55m7fxj5o67zq" - LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2--LZv2-security-cmp = "ocid1.compartment.oc1..aaaaaaaapow3jgzwzd4itsnls5yzhsq3qpfravm6qzquxbmwcl2xcnqjfcja" - LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2--LZv2-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaan4xwew5sqxyfreeopzrwynhxbxb5dqoxaxhd3nqi2bfqysphpwra" - LZv2 = "ocid1.compartment.oc1..aaaaaaaa5zdm5k577cpv2qfj6rncktah3aau74kkf53gn2brc7fv5findkra" - Lasya = "ocid1.compartment.oc1..aaaaaaaamzutonsjvcchtmcdgb22hepkcsc3axnxn2mpoeh6cj4h6fewvhba" - jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-top-cmp--jan3-security-cmp = "ocid1.compartment.oc1..aaaaaaaa463chxwg5jd5nlnr3rstgkfdng6t52lfmlxo6irzjqidgqzefazq" - jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-top-cmp--jan3-network-cmp = "ocid1.compartment.oc1..aaaaaaaajikjfaeqwfzwcaxfb5ecct6iimgcswyfli5m22quarrrslfqn4uq" - jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-top-cmp--jan3-database-cmp = "ocid1.compartment.oc1..aaaaaaaarodeapnmlxwsumq7pbckow54rn4scaocys3vpctwyj5g4uacsfia" - jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp--jan3-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaar7geyral7mo4q5czqipzyjyhfdoukjlq76dxen7talikp5bzmbha" - jan3-top-cmp = "ocid1.compartment.oc1..aaaaaaaa5vjprbdjgjcl43h47nlzsjuv3inbsi2yd66uh37i5udnahtbclcq" - jan-security-cmp = "ocid1.compartment.oc1..aaaaaaaaxjgzaxownkn52oqzkwhgtebrscmb6a4zuztie4cdob3izxv7j6nq" - jan-network-cmp = "ocid1.compartment.oc1..aaaaaaaa6khtichor2xy57lkeum64lnuwilfpkmpt57t5nhf7gjtfkruwnlq" - jan-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaazd56uu4qhpjsa4weur33dtc5fiovr6fwchxu4bl3zm67cdupot2q" - jan-database-cmp = "ocid1.compartment.oc1..aaaaaaaa5g6vgted4muglgwwqggdqlxyzmpbxstwwspgnk5ixgl5xqtgxi2q" - jan-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaubp7hom3ortz5666gblhmxpyizdmhloasj3h5ud6seupnf5e3keq" - opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - Hari--opentofutest3 = "ocid1.compartment.oc1..aaaaaaaabv7yadzn5hf3j36vgijytchyjh7ti6arnrj4o2pfenvmglf5bura" - opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - Hari--opentofutest2 = "ocid1.compartment.oc1..aaaaaaaasedlduqo6hvls3cwi5plep4ochnnz2e2ealni4slyoqwfueg2pdq" - opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari--opentofutest1 = "ocid1.compartment.oc1..aaaaaaaawdu7kj4l5jubs4zvsvevxiyvunu7d2qobxtvc76qfqf43imiep5a" - Hari = "ocid1.compartment.oc1..aaaaaaaalrhiw4b6chucs3zq2iwjpw7yhhibumkohssnm2dau4lmigtltezq" - Ekta = "ocid1.compartment.oc1..aaaaaaaar2ihtfj2fl6njsras6hwhn4fzcstx4y62jywbrnar6ehjy24la3a" - Divya--Network = "ocid1.compartment.oc1..aaaaaaaaof3ylxg3u5v4l2uaxk4ztbl4zaxdtuh6uxncnc6m27darhleeura" - Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Dev = "ocid1.compartment.oc1..aaaaaaaavwpx4rmjja4l5c2njcisbn3epeapoo6kccjn2aty3gsfhvfr76va" - Divya--Database = "ocid1.compartment.oc1..aaaaaaaalicgpe5zobcofk7x3kyumc6tmi4hx2gmjsla7fzvazclphpig6ua" - Divya = "ocid1.compartment.oc1..aaaaaaaajskuofo7maggjcz3fagmuikfknjooqp7dngbfhctcvgdirvbr2ta" - dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - Dipesh--dipoke = "ocid1.compartment.oc1..aaaaaaaans5nms3pjbque25dsur4jtneza4qzdm6yfq7etgmbsfyzjsd3caa" - CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--CTDOKE = "ocid1.compartment.oc1..aaaaaaaaev3tpmjovxx2ckcksspyuszjxmxccbevk6vsivl7ycsysur2tawq" - Dipesh--AppDev = "ocid1.compartment.oc1..aaaaaaaanj4x2mhsfjekupcrii5a4i7r53j3fauyoazzs2ybwyyiq6uchzca" - Dipesh = "ocid1.compartment.oc1..aaaaaaaaodbdx2x7ka3553cky2g6mko5dgqlhzlxo7rcsbkgis6kp6k36qoq" - informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps--informaticatest = "ocid1.compartment.oc1..aaaaaaaaw5d6xim565qc2y7gws4hcxz6k3tmqzukbgehmwoalojmftoyrlya" - DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps--DevOps-VM = "ocid1.compartment.oc1..aaaaaaaahjz2armdnhkplwwgfpviymxg6rt4f4axv5j6bcey7j5zadg7fnnq" - DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps--DevOps-Network = "ocid1.compartment.oc1..aaaaaaaarb7ufhlyqtt3taiwqwp6jbgvseufpre7q7lho4qli6qz3s53lmtq" - DevOps = "ocid1.compartment.oc1..aaaaaaaawdbd3wyav5boz6wtjtkx2ui6mayk2odvcyzrujmdg3v7hjeo6mbq" - DatabaseTwo = "ocid1.compartment.oc1..aaaaaaaa275isklfldensnlvkfg3neq7l76t2kjka3v6fsuddeporawwqwgq" - DatabaseOne = "ocid1.compartment.oc1..aaaaaaaaduqb6ju6c3myrcwoe5xkxezqs2z3kqg5uvjs5bqdr56spozbp2sa" - Database = "ocid1.compartment.oc1..aaaaaaaa7ktfyagynoxyqitifhga5qfthrc7tygnyrfkohzqw52xt4eik4ca" - CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - csaa--CG_TEST = "ocid1.compartment.oc1..aaaaaaaalpdpfblag76ruxzeotkc7hdfjhb7zdkd6dwmac54nhwe5vradj3a" - app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa--app = "ocid1.compartment.oc1..aaaaaaaahynfwmq4jkgmz2njbug7xt5byirkvh6om3m7rl3bj5exdsut4oua" - csaa = "ocid1.compartment.oc1..aaaaaaaai2gptxogh3ki32svqtkyuoltwztjkmbppblp5yu743epweyt4p4a" - cls--Network = "ocid1.compartment.oc1..aaaaaaaadknxyqwgkydm4r75bx743o6ychnq2w6ow2yelidhxrnshj72ebma" - cls = "ocid1.compartment.oc1..aaaaaaaaotlxefzik5wzwe7b3tooldp7zh5thtz4ja5oj6hew2d3n6tklpvq" - cis-security-cmp = "ocid1.compartment.oc1..aaaaaaaa7whyinpvlerowozmfhc3y3wsezxusvnfeptn5kwry6mxzfu52w5q" - cis-network-cmp = "ocid1.compartment.oc1..aaaaaaaaxxaejbxepzzusemmd747dbdwqsllodjkeuhjbq7j35zgdijmt6la" - cis-database-cmp = "ocid1.compartment.oc1..aaaaaaaagxclneglustypqbvys6b444spstgpi2hbjwoh6grtgvpg2czf73a" - cis-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaanpyvz2axqjbdd6cztl6cxdf653leq6yh3bmxhpeaxx5i7odbbyfa" - CD3Demo = "ocid1.compartment.oc1..aaaaaaaa2tbssfukaznjvkx6gbvsm63rhmvqgqo33qjiwmidpcxumtklpxiq" - CD3aaS = "ocid1.compartment.oc1..aaaaaaaaxfjtinl4srbnwf3kt5jh7r5jww3k5562rrcxx37d5ntq7r53wtaq" - Bhanu = "ocid1.compartment.oc1..aaaaaaaa3l23nm7dxdjn2h4blkemcjfbtddt7j6taqrkmwm6fuxhkc73bxta" - aug24-security-cmp = "ocid1.compartment.oc1..aaaaaaaanbwv2bglh6qtwx2o2n5f35umyqghr4tskjih4ma47pfytvubjlia" - aug24-network-cmp = "ocid1.compartment.oc1..aaaaaaaaottikjflvfxjvlgvxo734y3qoya47jbuqirjrnwk7twabd5mouba" - aug24-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaanrqdrpcpwwsdmvwhhx6tjr2kym6ygeyo3reo4hciyln3nhziciia" - aug24-database-cmp = "ocid1.compartment.oc1..aaaaaaaaegiv3lfm62id7x3cx6cptcv2s2mrxp5tecpq5ie6avsu46tvyb7a" - aug24-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaaa6b64sn62hz2hcpn733u2swl4vjl43ppre2mc7j3zbs2v6327qda" - aug-security-cmp = "ocid1.compartment.oc1..aaaaaaaaiy3vkumk7wsymei5dvi5fyfnyyqfnlpwhefnvpn6stj7hn2spktq" - aug-network-cmp = "ocid1.compartment.oc1..aaaaaaaazarfpcaac4sjtqkcuk3myqilkzqxyb5t67hdtaprm2b5xjp2rqhq" - aug-exainfra-cmp = "ocid1.compartment.oc1..aaaaaaaa4xvz5642btcbhwg63enhvfvvxinwtz3tl5f5atg47knnunm3ixnq" - aug-database-cmp = "ocid1.compartment.oc1..aaaaaaaafdib72pxlpzulqu4awh3fbw4rrk3idy57bvv7va2hrvxzex2r6ya" - aug-appdev-cmp = "ocid1.compartment.oc1..aaaaaaaahvylyknz6cco5dlxgbbbonv5h6ykokhvfvco5ai6mrqx7tvtoauq" - AppDevTwo = "ocid1.compartment.oc1..aaaaaaaalhb64ma3sz3u3wdhognwf6zn6jsfh6blpv55r5ic5njdudczkesa" - AppDevOne = "ocid1.compartment.oc1..aaaaaaaazm52khvc444rohu3fw5i2b2sl7hei5j67ug56f6zfrp7t7vybudq" - AppDev = "ocid1.compartment.oc1..aaaaaaaahwwiefb56epvdlzfic6ah6jy3xf3cud3gngdbn5b7ylwf4iat2wa" - AnupamP = "ocid1.compartment.oc1..aaaaaaaazj7cftfvxrvgrlrkfhqjvxxgozv75hhub7ew5chpwy6wudyhuxbq" - test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - Amol--test-eval = "ocid1.compartment.oc1..aaaaaaaa5jolfxjgbgib6lrnluvx4lvsj42latuuhidu2qughjtdpcysy6ga" - network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - Amol--network = "ocid1.compartment.oc1..aaaaaaaa75f5efuspupjdxirn6bwwakok4c6sf5rhl6zydj4yflkdwqef6va" - root = "ocid1.tenancy.oc1..aaaaaaaa5ob2e73i4bavdqrbrch25oldljvpmbcuxiies2dgpwdinmrmel3a" - amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol--amol-test = "ocid1.compartment.oc1..aaaaaaaajwiqrmjl34nctec2jfdydezzkwsc6huivpcxmw2rwutv2mu7pjba" - Amol = "ocid1.compartment.oc1..aaaaaaaa7w7vg3n3roypkiqcowns2qidgca6ca7k4vhdseo7rhtuu2kys55q" - #compartment_ocids_END# - } -} - -######################### -##### Identity ########## -######################### - -variable "compartments" { - type = object({ - root = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level1 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level2 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level3 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level4 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - compartment_level5 = optional(map(object({ - tenancy_ocid = optional(string) - parent_compartment_id = string - name = string - description = optional(string) - enable_delete = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - }))) - }) - default = { - root = {}, - compartment_level1 = {}, - compartment_level2 = {}, - compartment_level3 = {}, - compartment_level4 = {}, - compartment_level5 = {}, - } -} - -variable "policies" { - type = map(object({ - name = string - compartment_id = string - policy_description = string - policy_statements = list(string) - policy_version_date = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "groups" { - type = map(object({ - group_name = string - group_description = string - members = optional(list(string), []) - matching_rule = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_groups" { - type = map(object({ - group_name = string - group_description = string - idcs_endpoint = string - compartment_id = string - matching_rule = optional(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - members = optional(list(string)) - })) - default = {} -} - - -variable "users" { - type = map(object({ - name = string - description = string - email = string - enabled_capabilities = optional(list(string)) - group_membership = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "identity_domain_users" { - type = map(object({ - family_name = string - idcs_endpoint = string - user_name = string - description = optional(string) - compartment_id = string - groups = optional(list(string)) - email = string - enabled_capabilities = list(string) - defined_tags = optional(list(map(any))) - freeform_tags = optional(list(map(any))) - })) - default = {} -} - - -variable "networkSources" { - type = map(object({ - name = string - description = string - public_source_list = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - virtual_source_list = optional(list(map(list(string)))) - - })) - default = {} + default = "" } ######################### @@ -591,1895 +78,3 @@ variable "tag_defaults" { })) default = {} } - -variable "quota_policies" { - type = map(object({ - quota_name = string - quota_description = string - quota_statements = list(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### Network ########## -######################### - -variable "default_dhcps" { - type = map(object({ - server_type = string - manage_default_resource_id = optional(string) - custom_dns_servers = optional(list(any)) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "custom_dhcps" { - type = map(object({ - compartment_id = string - server_type = string - vcn_id = string - custom_dns_servers = optional(list(any)) - domain_name_type = optional(string) - display_name = optional(string) - search_domain = optional(map(list(any))) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcns" { - type = map(object({ - compartment_id = string - cidr_blocks = optional(list(string)) - byoipv6cidr_details = optional(list(map(any))) - display_name = optional(string) - dns_label = optional(string) - is_ipv6enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ipv6private_cidr_blocks = optional(list(string)) - is_oracle_gua_allocation_enabled = optional(bool) - })) - default = {} -} - -variable "igws" { - type = map(object({ - compartment_id = string - vcn_id = string - enable_igw = optional(bool) - igw_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_table_id = optional(string) - })) - default = {} -} - -variable "sgws" { - type = map(object({ - compartment_id = string - vcn_id = string - service = optional(string) - sgw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "ngws" { - type = map(object({ - compartment_id = string - vcn_id = string - block_traffic = optional(bool) - public_ip_id = optional(string) - ngw_name = optional(string) - route_table_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lpgs" { - type = map(any) - default = { - hub-lpgs = {}, - spoke-lpgs = {}, - peer-lpgs = {}, - none-lpgs = {}, - exported-lpgs = {}, - } -} - -variable "drgs" { - type = map(object({ - compartment_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "default_seclists" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - ingress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - source = optional(string) - source_type = optional(string) - options = optional(map(any)) - }))) - egress_sec_rules = optional(list(object({ - protocol = optional(string) - stateless = optional(string) - description = optional(string) - destination = optional(string) - destination_type = optional(string) - options = optional(map(any)) - }))) - })) - default = {} -} - -variable "route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - - })) - default = {} -} - -variable "default_route_tables" { - type = map(object({ - compartment_id = string - vcn_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - route_rules_igw = list(map(any)) - route_rules_ngw = list(map(any)) - route_rules_sgw = list(map(any)) - route_rules_drg = list(map(any)) - route_rules_lpg = list(map(any)) - route_rules_ip = list(map(any)) - gateway_route_table = optional(bool) - default_route_table = optional(bool) - })) - default = {} -} - -variable "nsgs" { - type = map(object({ - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nsg_rules" { - type = map(object({ - nsg_id = string - direction = string - protocol = string - description = optional(string) - stateless = optional(string) - source_type = optional(string) - destination_type = optional(string) - destination = optional(string) - source = optional(string) - options = optional(map(any)) - })) - default = {} -} - -variable "subnets" { - type = map(object({ - compartment_id = string - vcn_id = string - cidr_block = string - display_name = optional(string) - dns_label = optional(string) - ipv6cidr_block = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - prohibit_internet_ingress = optional(string) - prohibit_public_ip_on_vnic = optional(string) - availability_domain = optional(string) - dhcp_options_id = optional(string) - route_table_id = optional(string) - security_list_ids = optional(list(string)) - })) - default = {} -} - -variable "vlans" { - type = map(object({ - cidr_block = string - compartment_id = string - network_compartment_id = string - vcn_name = string - display_name = optional(string) - nsg_ids = optional(list(string)) - route_table_name = optional(string) - vlan_tag = optional(string) - availability_domain = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "drg_attachments" { - type = map(any) - default = {} -} - -variable "drg_other_attachments" { - type = map(any) - default = {} -} - -variable "drg_route_tables" { - type = map(object({ - drg_id = string - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_ecmp_enabled = optional(bool) - import_drg_route_distribution_id = optional(string) - })) - default = {} -} - -variable "drg_route_rules" { - type = map(any) - default = {} -} - -variable "drg_route_distributions" { - type = map(object({ - distribution_type = string - drg_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - })) - default = {} -} - -variable "drg_route_distribution_statements" { - type = map(object({ - drg_route_distribution_id = string - action = string - match_criteria = optional(list(object({ - match_type = string - attachment_type = optional(string) - drg_attachment_id = optional(string) - }))) - priority = optional(string) - })) - default = {} -} - -variable "data_drg_route_tables" { - type = map(any) - default = {} -} - -variable "data_drg_route_table_distributions" { - type = map(any) - default = {} -} - -#################### -####### DNS ####### -#################### - -variable "zones" { - type = map(object({ - compartment_id = string - display_name = string - view_compartment_id = optional(string) - view_id = optional(string) - zone_type = optional(string) - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "views" { - type = map(object({ - compartment_id = string - display_name = string - scope = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -variable "rrsets" { - type = map(object({ - compartment_id = optional(string) - view_compartment_id = optional(string) - view_id = optional(string) - zone_id = string - domain = string - rtype = string - ttl = number - rdata = optional(list(string)) - scope = optional(string) - })) - default = {} -} - -variable "resolvers" { - type = map(object({ - network_compartment_id = string - vcn_name = string - display_name = optional(string) - views = optional(map(object({ - view_id = optional(string) - view_compartment_id = optional(string) - }))) - resolver_rules = optional(map(object({ - client_address_conditions = optional(list(any)) - destination_addresses = optional(list(any)) - qname_cover_conditions = optional(list(any)) - source_endpoint_name = optional(string) - }))) - endpoint_names = optional(map(object({ - is_forwarding = optional(bool) - is_listening = optional(bool) - name = optional(string) - subnet_name = optional(string) - forwarding_address = optional(string) - listening_address = optional(string) - nsg_ids = optional(list(string)) - }))) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - - -######################### -## Dedicated VM Hosts ## -######################### - -variable "dedicated_hosts" { - type = map(object({ - availability_domain = string - compartment_id = string - vm_host_shape = string - defined_tags = optional(map(any)) - display_name = optional(string) - fault_domain = optional(string) - freeform_tags = optional(map(any)) - })) - description = "To provision new dedicated VM hosts" - default = {} -} - -######################### -## Instances/Block Volumes ## -######################### - -variable "blockvolumes" { - description = "To provision block volumes" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = string - size_in_gbs = optional(string) - is_auto_tune_enabled = optional(string) - vpus_per_gb = optional(string) - kms_key_id = optional(string) - attach_to_instance = optional(string) - attachment_type = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - device = optional(string) - encryption_in_transit_type = optional(string) - attachment_display_name = optional(string) - is_read_only = optional(bool) - is_pv_encryption_in_transit_enabled = optional(bool) - is_shareable = optional(bool) - use_chap = optional(bool) - is_agent_auto_iscsi_login_enabled = optional(bool) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - source_details = optional(list(map(any))) - block_volume_replicas = optional(list(map(any))) - block_volume_replicas_deletion = optional(bool) - autotune_policies = optional(list(map(any))) - })) - default = {} -} - -variable "block_backup_policies" { - type = map(any) - description = "To create block volume back policy" - default = {} -} - -variable "instances" { - description = "Map of instances to be provisioned" - type = map(object({ - availability_domain = string - compartment_id = string - shape = string - source_id = string - source_type = string - vcn_name = string - subnet_id = string - network_compartment_id = string - display_name = optional(string) - assign_public_ip = optional(bool) - boot_volume_size_in_gbs = optional(string) - fault_domain = optional(string) - dedicated_vm_host_id = optional(string) - private_ip = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(string)) - ocpus = optional(string) - memory_in_gbs = optional(number) - capacity_reservation_id = optional(string) - create_is_pv_encryption_in_transit_enabled = optional(bool) - remote_execute = optional(string) - bastion_ip = optional(string) - cloud_init_script = optional(string) - ssh_authorized_keys = optional(string) - backup_policy = optional(string) - policy_compartment_id = optional(string) - network_type = optional(string) - #extended_metadata = optional(string) - skip_source_dest_check = optional(bool) - baseline_ocpu_utilization = optional(string) - #preemptible_instance_config = optional(string) - all_plugins_disabled = optional(bool) - is_management_disabled = optional(bool) - is_monitoring_disabled = optional(bool) - assign_private_dns_record = optional(string) - plugins_details = optional(map(any)) - is_live_migration_preferred = optional(bool) - recovery_action = optional(string) - are_legacy_imds_endpoints_disabled = optional(bool) - boot_volume_type = optional(string) - firmware = optional(string) - is_consistent_volume_naming_enabled = optional(bool) - remote_data_volume_type = optional(string) - platform_config = optional(list(map(any))) - launch_options = optional(list(map(any))) - ipxe_script = optional(string) - preserve_boot_volume = optional(bool) - vlan_id = optional(string) - kms_key_id = optional(string) - vnic_display_name = optional(string) - vnic_defined_tags = optional(map(any)) - vnic_freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "boot_backup_policies" { - type = map(any) - description = "Map of boot volume backup policies to be provisioned" - default = {} -} - -######################### -####### Database ######## -######################### - -variable "exa_infra" { - description = "To provision exadata infrastructure" - type = map(any) - default = {} -} - -variable "exa_vmclusters" { - description = "To provision exadata cloud VM cluster" - type = map(any) - default = {} -} - -variable "dbsystems_vm_bm" { - description = "To provision DB System" - type = map(any) - default = {} -} - -variable "db_home" { - type = map(any) - description = "Map of database db home to be provisioned" - default = {} -} - -variable "databases" { - description = "Map of databases to be provisioned in an existing db_home" - type = map(any) - default = {} -} - -#################################### -####### Autonomous Database ######## -#################################### - -variable "adb" { - type = map(object({ - admin_password = optional(string) - character_set = optional(string) - compartment_id = string - cpu_core_count = optional(number) - database_edition = optional(string) - data_storage_size_in_tbs = optional(number) - customer_contacts = optional(list(string)) - db_name = string - db_version = optional(string) - db_workload = optional(string) - display_name = optional(string) - license_model = optional(string) - ncharacter_set = optional(string) - network_compartment_id = optional(string) - nsg_ids = optional(list(string)) - subnet_id = optional(string) - vcn_name = optional(string) - whitelisted_ips = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### MySql Database ######## -#################################### -variable "mysql_db_system" { - type = map(object({ - compartment_id = string - network_compartment_id = string - mysql_db_system_display_name = string - configuration_id = string - mysql_shape_name = string - mysql_db_system_admin_username = optional(string) - mysql_db_system_admin_password = optional(string) - mysql_db_system_availability_domain = optional(string) - subnet_id = string - mysql_db_system_data_storage_size_in_gb = number - mysql_db_system_hostname_label = string - vcn_names = string - mysql_db_system_backup_policy_is_enabled = bool - mysql_db_system_backup_policy_pitr_policy_is_enabled = bool - mysql_db_system_backup_policy_retention_in_days = number - mysql_db_system_backup_policy_window_start_time = string - mysql_db_system_crash_recovery = string - mysql_db_system_database_management = string - mysql_db_system_deletion_policy_automatic_backup_retention = string - mysql_db_system_deletion_policy_final_backup = string - mysql_db_system_deletion_policy_is_delete_protected = bool - mysql_db_system_description = string - mysql_db_system_fault_domain = string - mysql_db_system_ip_address = optional(string) - mysql_db_system_is_highly_available = bool - mysql_db_system_maintenance_window_start_time = string - mysql_db_system_port = number - mysql_db_system_port_x = number - mysql_db_system_source_source_type = optional(string) - backup_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - - - })) - default = {} -} - - -variable "mysql_configuration" { - type = map(object({ - compartment_id = string - mysql_configuration_shape_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - mysql_configuration_description = optional(string) - mysql_configuration_display_name = optional(string) - mysql_configuration_init_variables_lower_case_table_names = optional(string) - mysql_configuration_variables_autocommit = optional(string) - mysql_configuration_variables_big_tables = optional(string) - mysql_configuration_variables_binlog_expire_logs_seconds = optional(string) - mysql_configuration_variables_binlog_row_metadata = optional(string) - mysql_configuration_variables_binlog_row_value_options = optional(string) - mysql_configuration_variables_binlog_transaction_compression = optional(string) - mysql_configuration_variables_connection_memory_chunk_size = optional(string) - mysql_configuration_variables_connect_timeout = optional(string) - mysql_configuration_variables_completion_type = optional(string) - mysql_configuration_variables_connection_memory_limit = optional(string) - mysql_configuration_variables_cte_max_recursion_depth = optional(string) - mysql_configuration_variables_default_authentication_plugin = optional(string) - mysql_configuration_variables_foreign_key_checks = optional(string) - mysql_configuration_variables_global_connection_memory_limit = optional(string) - mysql_configuration_variables_global_connection_memory_tracking = optional(string) - mysql_configuration_variables_group_replication_consistency = optional(string) - mysql_configuration_variables_information_schema_stats_expiry = optional(string) - mysql_configuration_variables_innodb_buffer_pool_dump_pct = optional(string) - mysql_configuration_variables_innodb_buffer_pool_instances = optional(string) - mysql_configuration_variables_innodb_buffer_pool_size = optional(string) - mysql_configuration_variables_innodb_ddl_buffer_size = optional(string) - mysql_configuration_variables_innodb_ddl_threads = optional(string) - mysql_configuration_variables_innodb_ft_enable_stopword = optional(string) - mysql_configuration_variables_innodb_ft_max_token_size = optional(string) - mysql_configuration_variables_innodb_ft_min_token_size = optional(string) - mysql_configuration_variables_innodb_ft_num_word_optimize = optional(string) - mysql_configuration_variables_innodb_ft_result_cache_limit = optional(string) - mysql_configuration_variables_innodb_ft_server_stopword_table = optional(string) - mysql_configuration_variables_innodb_lock_wait_timeout = optional(string) - mysql_configuration_variables_innodb_log_writer_threads = optional(string) - mysql_configuration_variables_innodb_max_purge_lag = optional(string) - mysql_configuration_variables_innodb_max_purge_lag_delay = optional(string) - mysql_configuration_variables_innodb_stats_persistent_sample_pages = optional(string) - mysql_configuration_variables_innodb_stats_transient_sample_pages = optional(string) - mysql_configuration_variables_interactive_timeout = optional(string) - mysql_configuration_variables_local_infile = optional(string) - mysql_configuration_variables_mandatory_roles = optional(string) - mysql_configuration_variables_max_allowed_packet = optional(string) - mysql_configuration_variables_max_binlog_cache_size = optional(string) - mysql_configuration_variables_max_connect_errors = optional(string) - mysql_configuration_variables_max_connections = optional(string) - mysql_configuration_variables_max_execution_time = optional(string) - mysql_configuration_variables_max_heap_table_size = optional(string) - mysql_configuration_variables_max_prepared_stmt_count = optional(string) - mysql_configuration_variables_mysql_firewall_mode = optional(string) - mysql_configuration_variables_mysqlx_connect_timeout = optional(string) - mysql_configuration_variables_mysqlx_deflate_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_deflate_max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_enable_hello_notice = optional(string) - mysql_configuration_variables_mysqlx_interactive_timeout = optional(string) - mysql_configuration_variables_mysqlx_lz4default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_lz4max_client_compression_level = optional(string) - mysql_configuration_variables_mysqlx_max_allowed_packet = optional(string) - mysql_configuration_variables_mysqlx_read_timeout = optional(string) - mysql_configuration_variables_mysqlx_wait_timeout = optional(string) - mysql_configuration_variables_mysqlx_write_timeout = optional(string) - mysql_configuration_variables_mysqlx_zstd_default_compression_level = optional(string) - mysql_configuration_variables_mysqlx_zstd_max_client_compression_level = optional(string) - mysql_configuration_variables_net_read_timeout = optional(string) - mysql_configuration_variables_net_write_timeout = optional(string) - mysql_configuration_variables_parser_max_mem_size = optional(string) - mysql_configuration_variables_regexp_time_limit = optional(string) - mysql_configuration_variables_sort_buffer_size = optional(string) - mysql_configuration_variables_sql_mode = optional(string) - mysql_configuration_variables_sql_require_primary_key = optional(string) - mysql_configuration_variables_sql_warnings = optional(string) - mysql_configuration_variables_thread_pool_dedicated_listeners = optional(string) - mysql_configuration_variables_thread_pool_max_transactions_limit = optional(string) - mysql_configuration_variables_time_zone = optional(string) - mysql_configuration_variables_tmp_table_size = optional(string) - mysql_configuration_variables_transaction_isolation = optional(string) - mysql_configuration_variables_wait_timeout = optional(string) - - })) - default = {} -} -######################### -######### FSS ########### -######################### - -variable "mount_targets" { - description = "To provision Mount Targets" - type = map(object({ - availability_domain = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - display_name = optional(string) - ip_address = optional(string) - hostname_label = optional(string) - nsg_ids = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fss" { - description = "To provision File System Services" - type = map(object({ - availability_domain = string - compartment_id = string - display_name = optional(string) - source_snapshot = optional(string) - snapshot_policy = optional(string) - policy_compartment_id = optional(string) - kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_export_options" { - description = "To provision Export Sets" - type = map(object({ - export_set_id = string - file_system_id = string - path = string - export_options = optional(list(any)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_idmap_groups_for_sys_auth = optional(bool) - })) - default = {} -} - -variable "fss_replication" { - description = "To provision File System Replication" - type = map(object({ - compartment_id = string - source_id = string - target_id = string - display_name = optional(string) - replication_interval = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -####### FSS Logs ######## -######################### - -variable "nfs_log_groups" { - description = "To provision Log Groups for Mount Target" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nfs_logs" { - description = "To provision Logs for Mount Target" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - - -######################### -#### Load Balancers ##### -######################### - -variable "load_balancers" { - description = "To provision Load Balancers" - type = map(object({ - compartment_id = string - vcn_name = string - shape = string - subnet_ids = list(any) - network_compartment_id = string - display_name = string - shape_details = optional(list(map(any))) - nsg_ids = optional(list(any)) - is_private = optional(bool) - ip_mode = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - reserved_ips_id = optional(string) - })) - default = {} -} - -variable "hostnames" { - description = "To provision Load Balancer Hostnames" - type = map(object({ - load_balancer_id = string - hostname = string - name = string - })) - default = {} -} - -variable "certificates" { - description = "To provision Load Balancer Certificates" - type = map(object({ - certificate_name = string - load_balancer_id = string - ca_certificate = optional(string) - passphrase = optional(string) - private_key = optional(string) - public_certificate = optional(string) - })) - default = {} -} - -variable "cipher_suites" { - description = "To provision Load Balancer Cipher Suites" - type = map(object({ - ciphers = list(string) - name = string - load_balancer_id = optional(string) - })) - default = {} -} - -variable "backend_sets" { - description = "To provision Load Balancer Backend Sets" - type = map(object({ - name = string - load_balancer_id = string - policy = string - protocol = optional(string) - interval_ms = optional(string) - is_force_plain_text = optional(string) - port = optional(string) - response_body_regex = optional(string) - retries = optional(string) - return_code = optional(string) - timeout_in_millis = optional(string) - url_path = optional(string) - lb_cookie_session = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - path = optional(string) - domain = optional(string) - is_http_only = optional(string) - is_secure = optional(string) - max_age_in_seconds = optional(string) - }))) - session_persistence_configuration = optional(list(object({ - cookie_name = optional(string) - disable_fallback = optional(string) - }))) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "backends" { - description = "To provision Load Balancer Backends" - type = map(object({ - backendset_name = string - ip_address = string - load_balancer_id = string - port = string - instance_compartment = optional(string) - backup = optional(string) - drain = optional(string) - offline = optional(string) - weight = optional(string) - })) - default = {} -} - -variable "listeners" { - description = "To provision Load Balancer Listeners" - type = map(object({ - name = string - load_balancer_id = string - port = string - protocol = string - default_backend_set_name = string - connection_configuration = optional(list(map(any))) - hostname_names = optional(list(any)) - path_route_set_name = optional(string) - rule_set_names = optional(list(any)) - routing_policy_name = optional(string) - certificate_name = optional(string) - cipher_suite_name = optional(string) - ssl_configuration = optional(list(object({ - certificate_ids = optional(list(any)) - server_order_preference = optional(string) - trusted_certificate_authority_ids = optional(list(any)) - verify_peer_certificate = optional(string) - verify_depth = optional(string) - protocols = optional(list(any)) - }))) - })) - default = {} -} - -variable "path_route_sets" { - description = "To provision Load Balancer Path Route Sets" - type = map(object({ - name = string - load_balancer_id = string - path_routes = optional(list(map(any))) - })) - default = {} -} - -variable "rule_sets" { - description = "To provision Load Balancer Rule Sets" - type = map(object({ - name = string - load_balancer_id = string - access_control_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - description = optional(string) - }))) - access_control_method_rules = optional(list(object({ - action = string - allowed_methods = optional(list(any)) - status_code = optional(string) - }))) - http_header_rules = optional(list(object({ - action = string - are_invalid_characters_allowed = optional(bool) - http_large_header_size_in_kb = optional(string) - }))) - uri_redirect_rules = optional(list(object({ - action = string - attribute_name = optional(string) - attribute_value = optional(string) - operator = optional(string) - host = optional(string) - path = optional(string) - port = optional(string) - protocol = optional(string) - query = optional(string) - response_code = optional(string) - }))) - request_response_header_rules = optional(list(object({ - action = string - header = optional(string) - prefix = optional(string) - suffix = optional(string) - value = optional(string) - }))) - })) - default = {} -} - -variable "lbr_reserved_ips" { - description = "To provision Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - display_name = string - lifetime = string - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "lb_routing_policies" { - description = "To provision Load Balancer Routing Policies" - type = map(object({ - name = string - load_balancer_id = string - condition_language_version = optional(string) - rules = optional(list(map(any))) - })) - default = {} -} - -################################### -####### Load Balancer Logs ######## -################################### - -variable "loadbalancer_log_groups" { - description = "To provision Log Groups for Load Balancers" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "loadbalancer_logs" { - description = "To provision Logs for Load Balancers" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -## Network Load Balancers ## -######################### - -variable "network_load_balancers" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - subnet_id = string - is_private = optional(bool) - reserved_ips_id = string - is_preserve_source_destination = optional(bool) - is_symmetric_hash_enabled = optional(bool) - nlb_ip_version = optional(string) - assigned_private_ipv4 = optional(string) - nsg_ids = optional(list(string)) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "nlb_listeners" { - type = map(object({ - name = string - network_load_balancer_id = string - default_backend_set_name = string - port = number - protocol = string - ip_version = optional(string) - })) - default = {} -} - -variable "nlb_backend_sets" { - type = map(object({ - name = string - network_load_balancer_id = string - policy = string - protocol = string - domain_name = optional(string) - query_class = optional(string) - query_type = optional(string) - rcodes = optional(list(string)) - transport_protocol = optional(string) - return_code = optional(number) - interval_in_millis = optional(number) - port = optional(number) - request_data = optional(string) - response_body_regex = optional(string) - response_data = optional(string) - retries = optional(number) - timeout_in_millis = optional(number) - url_path = optional(string) - is_preserve_source = optional(bool) - ip_version = optional(string) - })) - default = {} -} -variable "nlb_backends" { - type = map(object({ - name = optional(string) - backend_set_name = string - network_load_balancer_id = string - port = number - ip_address = string - instance_compartment = string - is_drain = optional(bool) - is_backup = optional(bool) - is_offline = optional(bool) - weight = optional(number) - target_id = optional(string) - })) - default = {} -} -variable "nlb_reserved_ips" { - description = "To provision Network Load Balancer Reserved IPs" - type = map(object({ - compartment_id = string - lifetime = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - display_name = optional(string) - private_ip_id = optional(string) - public_ip_pool_id = optional(string) - })) - default = {} -} - - -######################### -##### IP Management ##### -######################### - -variable "public_ip_pools" { - type = map(any) - default = {} -} - -variable "private_ips" { - type = map(any) - default = {} -} - -variable "reserved_ips" { - type = map(any) - default = {} -} - -variable "vnic_attachments" { - type = map(any) - default = {} -} - -######################### -##### VCN Logs ########## -######################### - -variable "vcn_log_groups" { - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "vcn_logs" { - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -###### OSS Buckets ###### -######################### - -variable "buckets" { - type = map(any) - default = {} -} - -######################### -####### OSS Logs ######## -######################### - -variable "oss_log_groups" { - description = "To provision Log Groups for OSS" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "oss_logs" { - description = "To provision Logs for OSS" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -######################### -### OSS IAM Policies #### -######################### - -variable "oss_policies" { - type = map(any) - default = {} -} - -######################### -## Management Services ## -######################### - -variable "alarms" { - type = map(object({ - compartment_id = string - destinations = list(string) - alarm_name = string - is_enabled = bool - metric_compartment_id = string - namespace = string - query = string - severity = string - body = optional(string) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - is_notifications_per_metric_dimension_enabled = optional(bool) - metric_compartment_id_in_subtree = optional(string) - trigger_delay_minutes = optional(string) - repeat_notification_duration = optional(string) - resolution = optional(string) - resource_group = optional(string) - suppression = optional(map(any)) - })) - default = {} -} - -variable "events" { - type = map(object({ - event_name = string - compartment_id = string - description = string - is_enabled = bool - condition = string - actions = optional(list(object({ - action_type = string - is_enabled = string - description = optional(string) - function_id = optional(string) - stream_id = optional(string) - topic_id = optional(string) - }))) - message_format = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_topics" { - type = map(object({ - compartment_id = string - topic_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "notifications_subscriptions" { - type = map(object({ - compartment_id = string - endpoint = string - protocol = string - topic_id = string - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "service_connectors" { - type = any - default = {} - description = "To provision service connector hub resources" -} - -######################### -## Developer Services ## -######################### - -## OKE - -variable "clusters" { - type = map(object({ - display_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - kubernetes_version = string - cni_type = string - cluster_type = string - is_policy_enabled = optional(bool) - policy_kms_key_id = optional(string) - is_kubernetes_dashboard_enabled = optional(bool) - is_tiller_enabled = optional(bool) - is_public_ip_enabled = optional(bool) - nsg_ids = optional(list(string)) - endpoint_subnet_id = string - is_pod_security_policy_enabled = optional(bool) - pods_cidr = optional(string) - services_cidr = optional(string) - service_lb_subnet_ids = optional(list(string)) - cluster_kms_key_id = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - lb_defined_tags = optional(map(any)) - lb_freeform_tags = optional(map(any)) - volume_defined_tags = optional(map(any)) - volume_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_node_labels = optional(map(any)) - kubernetes_version = string - is_pv_encryption_in_transit_enabled = optional(bool) - availability_domain = number - fault_domains = optional(list(string)) - subnet_id = string - size = number - cni_type = string - max_pods_per_node = optional(number) - pod_nsg_ids = optional(list(string)) - pod_subnet_ids = optional(string) - worker_nsg_ids = optional(list(string)) - memory_in_gbs = optional(number) - ocpus = optional(number) - image_id = string - source_type = string - boot_volume_size_in_gbs = optional(number) - ssh_public_key = optional(string) - nodepool_kms_key_id = optional(string) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "virtual-nodepools" { - type = map(object({ - display_name = string - cluster_name = string - compartment_id = string - network_compartment_id = string - vcn_name = string - node_shape = string - initial_virtual_node_labels = optional(map(any)) - availability_domain = number - fault_domains = list(string) - subnet_id = string - size = number - pod_nsg_ids = optional(list(string)) - pod_subnet_id = string - worker_nsg_ids = optional(list(string)) - taints = optional(list(any)) - node_defined_tags = optional(map(any)) - node_freeform_tags = optional(map(any)) - nodepool_defined_tags = optional(map(any)) - nodepool_freeform_tags = optional(map(any)) - })) - default = {} -} - - -################################## -############## SDDCs ############# -################################## -variable "sddcs" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = string - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = string - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - initial_cluster_display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - management_datastore = optional(list(string)) - workload_datastore = optional(list(string)) - - })) - default = {} - -} - -variable "sddc-clusters" { - type = map(object({ - compartment_id = string - availability_domain = string - network_compartment_id = string - vcn_name = string - esxi_hosts_count = number - nsx_edge_uplink1vlan_id = string - nsx_edge_uplink2vlan_id = optional(string) - nsx_edge_vtep_vlan_id = string - nsx_vtep_vlan_id = string - provisioning_subnet_id = string - ssh_authorized_keys = optional(string) - vmotion_vlan_id = string - vmware_software_version = string - vsan_vlan_id = string - vsphere_vlan_id = string - capacity_reservation_id = optional(string) - defined_tags = optional(map(any)) - display_name = optional(string) - freeform_tags = optional(map(any)) - hcx_action = optional(string) - hcx_vlan_id = optional(string) - initial_host_ocpu_count = optional(number) - initial_host_shape_name = optional(string) - initial_commitment = optional(string) - instance_display_name_prefix = optional(string) - is_hcx_enabled = optional(bool) - is_shielded_instance_enabled = optional(bool) - is_single_host_sddc = optional(bool) - provisioning_vlan_id = optional(string) - refresh_hcx_license_status = optional(bool) - replication_vlan_id = optional(string) - reserving_hcx_on_premise_license_keys = optional(string) - workload_network_cidr = optional(string) - workload_datastore = optional(list(string)) - sddc_id = optional(string) - esxi_software_version = optional(string) - - })) - default = {} - -} - - -############################ -## Key Management Service ## -############################ - -variable "vaults" { - type = map(object({ - compartment_id = string - display_name = string - vault_type = string - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - replica_region = optional(string) - })) - default = {} -} - -variable "keys" { - type = map(object({ - compartment_id = string - display_name = string - vault_name = string - algorithm = optional(string) - length = optional(string) - curve_id = optional(string) - protection_mode = optional(string) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - is_auto_rotation_enabled = optional(bool) - rotation_interval_in_days = optional(string) - - })) - default = {} -} - -########################### -######### Budgets ######### -########################### - -variable "budgets" { - type = map(object({ - amount = string - compartment_id = string - reset_period = string - budget_processing_period_start_offset = optional(string) - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - processing_period_type = optional(string) - budget_end_date = optional(string) - budget_start_date = optional(string) - target_type = optional(string) - targets = optional(list(any)) - })) - default = {} -} - -variable "budget_alert_rules" { - type = map(object({ - budget_id = string - threshold = string - threshold_type = string - type = string - defined_tags = optional(map(any)) - description = optional(string) - display_name = optional(string) - freeform_tags = optional(map(any)) - message = optional(string) - recipients = optional(string) - })) - default = {} -} - -########################### -####### Cloud Guard ####### -########################### - -variable "cloud_guard_configs" { - type = map(object({ - compartment_id = string - reporting_region = string - status = string - self_manage_resources = optional(string) - - })) - default = {} -} - -variable "cloud_guard_targets" { - type = map(object({ - compartment_id = string - display_name = string - target_resource_id = string - target_resource_type = string - prefix = string - description = optional(string) - state = optional(string) - target_detector_recipes = optional(list(any)) - target_responder_recipes = optional(list(any)) - freeform_tags = optional(map(any)) - defined_tags = optional(map(any)) - })) - default = {} -} - -#################################### -####### Custom Backup Policy ####### -#################################### - -variable "custom_backup_policies" { - type = map(any) - default = {} -} - -variable "capacity_reservation_ocids" { - type = map(any) - default = { - "AD1" : "", - "AD2" : "", - "AD3" : "" - } -} - -##################################### -####### Firewall as a Service ####### -##################################### -variable "firewalls" { - type = map(object({ - compartment_id = string - network_compartment_id = string - network_firewall_policy_id = string - subnet_id = string - vcn_name = string - display_name = string - ipv4address = optional(string) - nsg_id = optional(list(string)) - ipv6address = optional(string) - availability_domain = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw-policies" { - type = map(object({ - compartment_id = optional(string) - display_name = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} -variable "services" { - type = map(object({ - service_name = string - service_type = string - network_firewall_policy_id = string - port_ranges = list(object({ - minimum_port = string - maximum_port = optional(string) - })) - })) - default = {} -} -variable "url_lists" { - type = map(object({ - urllist_name = string - network_firewall_policy_id = string - urls = list(object({ - pattern = string - type = string - })) - })) - default = {} -} -variable "service_lists" { - type = map(object({ - service_list_name = string - network_firewall_policy_id = string - services = list(string) - })) - default = {} -} - -variable "address_lists" { - type = map(object({ - address_list_name = string - network_firewall_policy_id = string - address_type = string - addresses = list(string) - })) - default = {} -} - -variable "applications" { - type = map(object({ - app_list_name = string - network_firewall_policy_id = string - app_type = string - icmp_type = number - icmp_code = optional(number) - })) - default = {} -} - -variable "application_groups" { - type = map(object({ - app_group_name = string - network_firewall_policy_id = string - apps = list(string) - - })) - default = {} -} - -variable "security_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - application = optional(list(string)) - destination_address = optional(list(string)) - service = optional(list(string)) - source_address = optional(list(string)) - url = optional(list(string)) - }))) - inspection = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -variable "secrets" { - type = map(object({ - secret_name = string - network_firewall_policy_id = string - secret_source = string - secret_type = string - vault_secret_id = string - version_number = number - vault_name = string - vault_compartment_id = string - })) - default = {} -} - -variable "decryption_profiles" { - type = map(object({ - profile_name = string - profile_type = string - network_firewall_policy_id = string - are_certificate_extensions_restricted = optional(bool) - is_auto_include_alt_name = optional(bool) - is_expired_certificate_blocked = optional(bool) - is_out_of_capacity_blocked = optional(bool) - is_revocation_status_timeout_blocked = optional(bool) - is_unknown_revocation_status_blocked = optional(bool) - is_unsupported_cipher_blocked = optional(bool) - is_unsupported_version_blocked = optional(bool) - is_untrusted_issuer_blocked = optional(bool) - })) - default = {} -} - -variable "decryption_rules" { - type = map(object({ - action = string - rule_name = string - network_firewall_policy_id = string - condition = optional(list(object({ - - destination_address = optional(list(string)) - - source_address = optional(list(string)) - - }))) - decryption_profile = optional(string) - secret = optional(string) - after_rule = optional(string) - before_rule = optional(string) - - })) - default = {} -} - -######################### -####### Firewall Logs ######## -######################### - -variable "fw_log_groups" { - description = "To provision Log Groups for Network Firewall" - type = map(object({ - compartment_id = string - display_name = string - description = optional(string) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -variable "fw_logs" { - description = "To provision Logs for Network Firewall" - type = map(object({ - display_name = string - log_group_id = string - log_type = string - compartment_id = optional(string) - category = optional(string) - resource = optional(string) - service = optional(string) - source_type = optional(string) - is_enabled = optional(bool) - retention_duration = optional(number) - defined_tags = optional(map(any)) - freeform_tags = optional(map(any)) - })) - default = {} -} - -########################## -# Add new variables here # -########################## -######################### END ######################### \ No newline at end of file From d1a6efb12cb9c0d600a4ab994809cb922b3a32f6 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Thu, 19 Sep 2024 16:56:40 +0530 Subject: [PATCH 32/35] Identity Domain Users/Groups Change --- modules/identity/identity-domain-group/main.tf | 5 +++++ modules/identity/identity-domain-group/variables.tf | 13 +++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/identity/identity-domain-group/main.tf b/modules/identity/identity-domain-group/main.tf index 3df6711..510fbe1 100644 --- a/modules/identity/identity-domain-group/main.tf +++ b/modules/identity/identity-domain-group/main.tf @@ -36,7 +36,12 @@ resource "oci_identity_domains_group" "group" { value = local.user_ids[members.value] } } + urnietfparamsscimschemasoracleidcsextensionrequestable_group { + #Optional + requestable = var.user_can_request_access + + } urnietfparamsscimschemasoracleidcsextension_oci_tags { # Optional diff --git a/modules/identity/identity-domain-group/variables.tf b/modules/identity/identity-domain-group/variables.tf index 6330456..a702f1e 100644 --- a/modules/identity/identity-domain-group/variables.tf +++ b/modules/identity/identity-domain-group/variables.tf @@ -18,14 +18,6 @@ variable "user_id" { default = null } -/*variable "members" { - type = list(object({ - type = string - value = string - })) - default = [] -}*/ - variable "members" { description = "List of email ids of the users" type = list(string) @@ -81,3 +73,8 @@ variable "freeform_tags_value" { default = "" } +variable "user_can_request_access" { + type = bool + description = "Specifies whether user can request access to the group" + +} From 0d503fa71ee14f32cb91676109e1f660b9844258 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Thu, 19 Sep 2024 16:57:15 +0530 Subject: [PATCH 33/35] Identity Domain Users/Groups Change --- modules/identity/identity-domain-user/main.tf | 38 +++++++++++---- .../identity-domain-user/variables.tf | 46 ++++++++++++++++++- 2 files changed, 72 insertions(+), 12 deletions(-) diff --git a/modules/identity/identity-domain-user/main.tf b/modules/identity/identity-domain-user/main.tf index 9ec42d6..0f12fef 100644 --- a/modules/identity/identity-domain-user/main.tf +++ b/modules/identity/identity-domain-user/main.tf @@ -17,17 +17,39 @@ resource "oci_identity_domains_user" "user" { description = var.description name { family_name = var.family_name + given_name = var.given_name + middle_name = var.middle_name + honorific_prefix = var.honorific_prefix } idcs_endpoint = var.identity_domain.url - user_name = var.user_name + user_name = var.user_name + display_name = var.display_name emails { - primary = "true" - secondary = "false" + primary = true + secondary = false type = "work" - value = var.email - verified = "false" + value = var.email + verified = false + } + emails { + type = "recovery" + value = var.recovery_email + } + dynamic "phone_numbers" { + for_each = can(var.home_phone_number) && var.home_phone_number != null ? [var.home_phone_number] : [] + content { + type = "home" + value = phone_numbers.value + } } + dynamic "phone_numbers" { + for_each = can(var.mobile_phone_number) && var.mobile_phone_number != null ? [var.mobile_phone_number] : [] + content { + type = "mobile" + value = phone_numbers.value + } + } urnietfparamsscimschemasoracleidcsextensioncapabilities_user { can_use_api_keys = contains(var.enabled_capabilities, "api_keys") ? true :false @@ -67,8 +89,4 @@ resource "oci_identity_domains_user" "user" { emails ] } -} - - - - +} \ No newline at end of file diff --git a/modules/identity/identity-domain-user/variables.tf b/modules/identity/identity-domain-user/variables.tf index d7437b3..0fdbb63 100644 --- a/modules/identity/identity-domain-user/variables.tf +++ b/modules/identity/identity-domain-user/variables.tf @@ -53,7 +53,19 @@ variable "groups" { variable "family_name" { - description = "Family Name of the user" + description = "Last Name of the user" + type = string + default = "Default" +} + +variable "given_name" { + description = "First Name of the user" + type = string + default = "Default" +} + +variable "display_name" { + description = "Display Name of the user" type = string default = "Default" } @@ -68,6 +80,24 @@ variable "email" { default = null } +variable "home_phone_number" { + type = string + description = "Home phone number of the user" + default = null +} + +variable "mobile_phone_number" { + type = string + description = "Mobile phone number of the user" + default = null +} + +variable "recovery_email" { + type = string + description = "The recovery email you assign to the User. It's changeable. " + default = null +} + variable "enabled_capabilities" { type = list(string) description = "The name of the capabilities enabled for user" @@ -92,4 +122,16 @@ variable "freeform_tags_key" { variable "freeform_tags_value" { type = string default = "" -} \ No newline at end of file +} + +variable "honorific_prefix" { + type = string + default = "" +} + +variable "middle_name" { + type = string + default = "" +} + + From 5839c6f782086f9656aea4e6b6c4dc526e79e2c7 Mon Sep 17 00:00:00 2001 From: Suruchi Date: Thu, 19 Sep 2024 16:59:19 +0530 Subject: [PATCH 34/35] Update variables_phoenix.tf --- examples/identity/variables_phoenix.tf | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/examples/identity/variables_phoenix.tf b/examples/identity/variables_phoenix.tf index 6fe2a8f..c2fe4b8 100644 --- a/examples/identity/variables_phoenix.tf +++ b/examples/identity/variables_phoenix.tf @@ -155,11 +155,12 @@ variable "identity_domain_groups" { group_name = string group_description = string idcs_endpoint = string - compartment_id = string + domain_compartment_id = string matching_rule = optional(string) defined_tags = optional(list(map(any))) freeform_tags = optional(list(map(any))) members = optional(list(string)) + user_can_request_access = optional(bool) })) default = {} } @@ -180,20 +181,26 @@ variable "users" { variable "identity_domain_users" { type = map(object({ - family_name = string + name = object({ + family_name = string + given_name = optional(string) + middle_name = optional(string) + honorific_prefix = optional(string) + }) + display_name = optional(string) idcs_endpoint = string user_name = string + domain_compartment_id = string description = optional(string) - compartment_id = string groups = optional(list(string)) email = string + recovery_email = optional(string) + home_phone_number = optional(string) + mobile_phone_number = optional(string) enabled_capabilities = list(string) defined_tags = optional(list(map(any))) freeform_tags = optional(list(map(any))) })) - default = {} -} - variable "networkSources" { type = map(object({ From e60203a9868c2f11f17a9c24496e061f423e1dad Mon Sep 17 00:00:00 2001 From: Suruchi Date: Thu, 19 Sep 2024 17:00:06 +0530 Subject: [PATCH 35/35] Identity Domain Users/Groups Change --- examples/identity/identity.tf | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/examples/identity/identity.tf b/examples/identity/identity.tf index 8d84263..3ea6faf 100644 --- a/examples/identity/identity.tf +++ b/examples/identity/identity.tf @@ -113,42 +113,42 @@ output "root_compartments_map" { description = "Compartment ocid" // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) - value = [ for k,v in merge(module.iam-compartments.*...) : v.compartment_id] + value = [ for k,v in merge(module.iam-compartments.*...) : v.compartment_tf_id] } output "sub_compartments_level1_map" { description = "Compartment ocid" // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) - value = [ for k,v in merge(module.sub-compartments-level1.*...) : v.compartment_id] + value = [ for k,v in merge(module.sub-compartments-level1.*...) : v.compartment_tf_id] } output "sub_compartments_level2_map" { description = "Compartment ocid" // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) - value = [ for k,v in merge(module.sub-compartments-level2.*...) : v.compartment_id] + value = [ for k,v in merge(module.sub-compartments-level2.*...) : v.compartment_tf_id] } output "sub_compartments_level3_map" { description = "Compartment ocid" // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) - value = [ for k,v in merge(module.sub-compartments-level3.*...) : v.compartment_id] + value = [ for k,v in merge(module.sub-compartments-level3.*...) : v.compartment_tf_id] } output "sub_compartments_level4_map" { description = "Compartment ocid" // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) - value = [ for k,v in merge(module.sub-compartments-level4.*...) : v.compartment_id] + value = [ for k,v in merge(module.sub-compartments-level4.*...) : v.compartment_tf_id] } output "sub_compartments_level5_map" { description = "Compartment ocid" // This allows the compartment ID to be retrieved from the resource if it exists, and if not to use the data source. #value = element(concat(oci_identity_compartment.this.*.id, tolist([""])), 0) - value = [ for k,v in merge(module.sub-compartments-level5.*...) : v.compartment_id] + value = [ for k,v in merge(module.sub-compartments-level5.*...) : v.compartment_tf_id] } */ @@ -285,7 +285,7 @@ module "iam-network-sources" { data "oci_identity_domains" "iam_domains" { for_each = merge(var.identity_domain_groups,var.identity_domain_users) # Required - compartment_id = var.compartment_ocids[each.value.compartment_id] + compartment_id = var.compartment_ocids[each.value.domain_compartment_id] # Optional display_name = each.value.idcs_endpoint } @@ -300,12 +300,13 @@ module "groups" { group_name = each.value.group_name group_description = each.value.group_description matching_rule = each.value.matching_rule - compartment_id = each.value.compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + compartment_id = each.value.domain_compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.domain_compartment_id)) > 0 ? each.value.domain_compartment_id : var.compartment_ocids[each.value.domain_compartment_id]) : var.tenancy_ocid identity_domain = data.oci_identity_domains.iam_domains[each.key].domains[0] tenancy_ocid = var.tenancy_ocid members = each.value.members != null ? each.value.members : [] #Optional + user_can_request_access = each.value.user_can_request_access defined_tags = each.value.defined_tags freeform_tags_key = each.value.freeform_tags != null ? each.value.freeform_tags.key : null freeform_tags_value = each.value.freeform_tags != null ? each.value.freeform_tags.value : null @@ -322,14 +323,20 @@ module "users" { #depends_on = [module.iam-groups] for_each = var.identity_domain_users user_name = each.value.user_name - family_name = each.value.family_name + family_name = each.value.name.family_name + given_name = each.value.name.given_name + middle_name = each.value.name.middle_name + honorific_prefix = each.value.name.honorific_prefix + display_name = each.value.display_name identity_domain = data.oci_identity_domains.iam_domains[each.key].domains[0] - compartment_id = each.value.compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.compartment_id)) > 0 ? each.value.compartment_id : var.compartment_ocids[each.value.compartment_id]) : var.tenancy_ocid + compartment_id = each.value.domain_compartment_id != "root" ? (length(regexall("ocid1.compartment.oc*", each.value.domain_compartment_id)) > 0 ? each.value.domain_compartment_id : var.compartment_ocids[each.value.domain_compartment_id]) : var.tenancy_ocid description = each.value.description email = each.value.email + recovery_email = each.value.recovery_email tenancy_ocid = var.tenancy_ocid groups = each.value.groups != null ? each.value.groups : null - + home_phone_number = each.value.home_phone_number + mobile_phone_number = each.value.mobile_phone_number enabled_capabilities = each.value.enabled_capabilities #Optional @@ -337,4 +344,5 @@ module "users" { freeform_tags_key = each.value.freeform_tags != null ? each.value.freeform_tags.key : null freeform_tags_value = each.value.freeform_tags != null ? each.value.freeform_tags.value : null + } \ No newline at end of file