many improvements

This commit is contained in:
Guilherme Silva
2026-07-17 19:31:05 -03:00
parent 133c6e0863
commit ab7a180f9f
13 changed files with 182 additions and 68 deletions

View File

@@ -1,31 +1,31 @@
#================================================================================================================================================================================================
# Parameters to authenticate with Oracle Cloud Infrastructure
tenancy_ocid = ""
user_ocid = ""
fingerprint = ""
private_key_path = "/home/opc/.oci/terraform_key.pem"
region = "sa-saopaulo-1"
tenancy_ocid = "ocid1.tenancy.oc1..aaaaaaaacjlkusgiuurcxl3aun3cubeohplc73z4dmzkrfxr2utn4jcmhoua"
user_ocid = "ocid1.user.oc1..aaaaaaaaa53ciz3hwz7hcy3elmwhshbgccip3escjrwfv7gj2epckfgi4ria"
fingerprint = "85:12:60:87:db:dd:c8:ca:69:98:22:93:6f:b0:22:2e"
private_key_path = "/Users/guilherme.silva/data/ORACLE/ssh-keys/terraform-guilherme-silva.pem"
region = "us-ashburn-1"
#================================================================================================================================================================================================
# The environment that you're creating resources for: test, dev, prod, or staging
environment="hml"
#================================================================================================================================================================================================
# The environment compartments
ocid_compartment_app = ""
ocid_compartment_database = ""
ocid_compartment_security = ""
ocid_compartment_networking = ""
ocid_compartment_app = "ocid1.compartment.oc1..aaaaaaaamrvydbfbzcb3ys7dln2sl2giax43iuf6zi6uny3inhtu46ummv7a"
ocid_compartment_database = "ocid1.compartment.oc1..aaaaaaaamrvydbfbzcb3ys7dln2sl2giax43iuf6zi6uny3inhtu46ummv7a"
ocid_compartment_security = "ocid1.compartment.oc1..aaaaaaaamrvydbfbzcb3ys7dln2sl2giax43iuf6zi6uny3inhtu46ummv7a"
ocid_compartment_networking = "ocid1.compartment.oc1..aaaaaaaamrvydbfbzcb3ys7dln2sl2giax43iuf6zi6uny3inhtu46ummv7a"
#================================================================================================================================================================================================
# The environment networks
ocid_vcn_3_tier = ""
ocid_subnet_app = ""
ocid_subnet_database = ""
ocid_subnet_public = ""
ocid_vcn_3_tier = "ocid1.vcn.oc1.iad.amaaaaaa6g6dsryau6nt4gzyxxyfk7p5lqfw7hpeb6mwcbyx6ajaofcr777a"
ocid_subnet_app = "ocid1.subnet.oc1.iad.aaaaaaaavq5dwjkkdiwqtrbz24thcsrng22bnj5swd2jaaxfuxrmmi4wfipq"
ocid_subnet_database = "ocid1.subnet.oc1.iad.aaaaaaaa2k4ptjjqoondfuyhr26llwzdj6apmml2fu63ar4kpglnshq6cj5a"
ocid_subnet_public = "ocid1.subnet.oc1.iad.aaaaaaaavq5dwjkkdiwqtrbz24thcsrng22bnj5swd2jaaxfuxrmmi4wfipq"
#================================================================================================================================================================================================
# The CIDR networks
cidr_subnet_app = "172.20.2.64/26"
cidr_subnet_database = "172.20.2.128/26"
cidr_subnet_web = "172.20.2.0/26"
cidr_subnet_app = "10.0.0.128/25"
cidr_subnet_database = "10.0.0.128/25"
cidr_subnet_web = "10.0.0.0/25"
cidr_anywhere = "0.0.0.0/0"
#================================================================================================================================================================================================
# SEI Variables
@@ -45,7 +45,7 @@ sip_amount_ocpus = "1"
sip_fqdn = ""
#================================================================================================================================================================================================
# SOLR Variables
solr_amount_instances = "2"
solr_amount_instances = "1"
solr_prefix_hostname = "solr-server"
solr_shape = "VM.Standard.E4.Flex"
solr_amount_memory = "8"
@@ -57,14 +57,14 @@ solr_fqdn = ""
memcached_amount_instances = "1"
memcached_prefix_hostname = "memcached-server"
memcached_shape = "VM.Standard.E4.Flex"
memcached_amount_memory = "2"
memcached_amount_memory = "4"
memcached_amount_ocpus = "1"
#================================================================================================================================================================================================
# JodServer Variables
jod_amount_instances = "1"
jod_prefix_hostname = "jod-server"
jod_shape = "VM.Standard.E4.Flex"
jod_amount_memory = "2"
jod_amount_memory = "4"
jod_amount_ocpus = "1"
#================================================================================================================================================================================================
# Public Load Balancer Variables
@@ -81,4 +81,16 @@ enable_waf = false
#================================================================================================================================================================================================
# Boot Volume Backup Variables
enable_boot_volume_backup = false
#================================================================================================================================================================================================
#================================================================================================================================================================================================
#Mysql Configurations
mysql_database_name = "eproc-1g-criminal"
mysql_database_version = "8.4.9"
mysql_database_user_name = "admin"
mysql_database_storage_size = "500"
mysql_shape = "MySQL.8"
mysql_backup_retention_in_days = "30"
mysql_highly_available = "false"
mysql_contacts_email = "contato@guilhermesilva.com.br"
mysql_enable_heatwave = "false"
mysql_amount_nodes_heatwave = "0"
mysql_heatwave_shape = "HeatWave.512GB"