Carga inicial

This commit is contained in:
Guilherme Silva
2026-06-19 11:06:23 -03:00
parent 300775db95
commit 058cc047ef
31 changed files with 2387 additions and 2 deletions

23
nsg-memcached-servers-nsg.tf Executable file
View File

@@ -0,0 +1,23 @@
resource "oci_core_network_security_group" "memcached-servers-nsg" {
compartment_id = var.ocid_compartment_networking
display_name = "memcached-servers-nsg"
vcn_id = var.ocid_vcn_3_tier
}
#--------------------------------------------------------------------------------------------------------------------------------------------
resource "oci_core_network_security_group_security_rule" "nsg_memcached_ingress_rule_01" {
network_security_group_id = oci_core_network_security_group.memcached-servers-nsg.id
description = "Ingress Memcached from app-subnet."
source = var.cidr_subnet_app
source_type = "CIDR_BLOCK"
direction = "INGRESS"
protocol = "6"
tcp_options {
destination_port_range {
max = 11211
min = 11211
}
}
}
#--------------------------------------------------------------------------------------------------------------------------------------------