Skip to content

Commit ce1e0d3

Browse files
authored
Merge pull request #2214 from oracle/release_gh
2 parents c96c125 + 7690855 commit ce1e0d3

File tree

448 files changed

+10615
-790
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

448 files changed

+10615
-790
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 6.13.0 (October 09, 2024)
2+
3+
### Added
4+
- Desktop as a Service: Shape Flexibility
5+
- Support for Operations Insights : Autonomous Database IAM based connections
6+
- Support for Customer Facing Scalable agent upgrade | ExaCC and ExaCS
7+
- 9/24- Support for ZPR v1
8+
- Support for PV Support for Launch w/Multiple Attachments Support for VMs
9+
- Support for Stack Monitoring Maintenance Windows
10+
- To Support for Depracate old apps admin user creation with password
11+
- Support for Desktop as a Service: Private Access
12+
- Support for Proxy Protocol on OCI LBaaS
13+
114
## 6.12.0 (October 02, 2024)
215

316
### Added

examples/compute/instance/vm_multi_attach_instance.tf

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,17 @@ variable "vm_multi_attach_instance_shape" {
55
default = "VM.Standard2.1"
66
}
77

8-
resource "oci_core_volume" "test_block_volume_multi_attach" {
8+
resource "oci_core_volume" "test_block_volume_multi_attach_iscsi" {
99
availability_domain = data.oci_identity_availability_domain.ad.name
1010
compartment_id = var.compartment_ocid
11-
display_name = "test_attach_existing_volume_on_instance_launch_1"
11+
display_name = "test_attach_existing_volume_on_instance_launch_iscsi"
12+
size_in_gbs = var.db_size
13+
}
14+
15+
resource "oci_core_volume" "test_block_volume_multi_attach_pv" {
16+
availability_domain = data.oci_identity_availability_domain.ad.name
17+
compartment_id = var.compartment_ocid
18+
display_name = "test_attach_existing_volume_on_instance_launch_pv"
1219
size_in_gbs = var.db_size
1320
}
1421

@@ -35,7 +42,7 @@ resource "oci_core_instance" "test_vm_multi_attach_instance_launch" {
3542
kms_key_id = var.kms_key_ocid
3643
}
3744

38-
// Create and attach a volume
45+
// Create and attach a volume - iscsi
3946
launch_volume_attachments {
4047
type = "iscsi"
4148
display_name = "test_create_and_attach_volume_on_launch_1"
@@ -47,9 +54,9 @@ resource "oci_core_instance" "test_vm_multi_attach_instance_launch" {
4754
}
4855
}
4956

50-
// Create and attach a volume
57+
// Create and attach a volume - pv
5158
launch_volume_attachments {
52-
type = "iscsi"
59+
type = "paravirtualized"
5360
display_name = "test_create_and_attach_volume_on_launch_2"
5461
launch_create_volume_details {
5562
volume_creation_type = "ATTRIBUTES"
@@ -59,11 +66,18 @@ resource "oci_core_instance" "test_vm_multi_attach_instance_launch" {
5966
}
6067
}
6168

62-
// Attach an existing volume
69+
// Attach an existing volume - iscsi
6370
launch_volume_attachments {
6471
type = "iscsi"
6572
display_name = "test_attach_existing_volume_on_launch"
66-
volume_id = oci_core_volume.test_block_volume_multi_attach.id
73+
volume_id = oci_core_volume.test_block_volume_multi_attach_iscsi.id
74+
}
75+
76+
// Attach an existing volume - pv
77+
launch_volume_attachments {
78+
type = "paravirtualized"
79+
display_name = "test_attach_existing_volume_on_launch"
80+
volume_id = oci_core_volume.test_block_volume_multi_attach_pv.id
6781
}
6882

6983
# Apply the following flag only if you wish to preserve the attached boot volume upon destroying this instance

examples/database/db_systems/db_exacs/resources.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ resource "oci_database_cloud_vm_cluster" "test_cloud_vm_cluster" {
4444
is_health_monitoring_enabled = "true"
4545
is_incident_logs_enabled = "true"
4646
}
47+
48+
cloud_automation_update_details{
49+
is_early_adoption_enabled = "true"
50+
apply_update_time_preference {
51+
apply_update_preferred_start_time = "02:00"
52+
apply_update_preferred_end_time = "08:00"
53+
}
54+
}
4755
}
4856

4957
resource "oci_database_db_home" "test_db_home_vm_cluster" {

examples/database/exadata_cc/autonomous_virtual_machine.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variable "autonomous_virtual_machine_state" {
55
data "oci_database_autonomous_virtual_machines" "test_autonomous_virtual_machines" {
66
#Required
77
autonomous_vm_cluster_id = oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id
8-
compartment_id = var.compartment_id
8+
compartment_id = var.compartment_ocid
99

1010
#Optional
1111
state = var.autonomous_virtual_machine_state

examples/database/exadata_cc/autonomous_vm_cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "oci_database_autonomous_vm_cluster" "test_autonomous_vm_cluster" {
55
compartment_id = var.compartment_ocid
66
display_name = "autonomousVmCluster"
77
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
8-
vm_cluster_network_id = oci_database_vm_cluster_network.test_vm_cluster_network.id
8+
vm_cluster_network_id = oci_database_vm_cluster_network.test_vm_cluster_network2.id
99
cpu_core_count_per_node = "20"
1010
autonomous_data_storage_size_in_tbs = "2.0"
1111
memory_per_oracle_compute_unit_in_gbs = "5"

examples/database/exadata_cc/vm_cluster.tf

Lines changed: 103 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,94 @@ resource "oci_database_vm_cluster_network" "test_vm_cluster_network" {
8888
}
8989
}
9090

91+
resource "oci_database_vm_cluster_network" "test_vm_cluster_network2" {
92+
compartment_id = var.compartment_ocid
93+
display_name = "testVmClusterRecommendedNetwork2"
94+
dns = ["192.178.10.10"]
95+
ntp = ["192.178.10.20"]
96+
97+
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
98+
99+
scans {
100+
hostname = "myprefix3-nsubz-scan"
101+
102+
ips = [
103+
"192.178.19.7",
104+
"192.178.19.6",
105+
"192.178.19.8",
106+
]
107+
108+
port = 1521
109+
scan_listener_port_tcp = 1521
110+
scan_listener_port_tcp_ssl = 2484
111+
}
112+
113+
vm_networks {
114+
domain_name = "oracle.com"
115+
gateway = "192.179.20.1"
116+
netmask = "255.255.0.0"
117+
network_type = "BACKUP"
118+
119+
nodes {
120+
hostname = "myprefix4-cghdm1"
121+
ip = "192.179.19.18"
122+
db_server_id = data.oci_database_db_servers.test_db_servers.db_servers.0.id
123+
}
124+
125+
nodes {
126+
hostname = "myprefix4-cghdm2"
127+
ip = "192.179.19.20"
128+
db_server_id = data.oci_database_db_servers.test_db_servers.db_servers.1.id
129+
}
130+
131+
vlan_id = "31"
132+
}
133+
134+
vm_networks {
135+
domain_name = "oracle.com"
136+
gateway = "192.178.20.1"
137+
netmask = "255.255.0.0"
138+
network_type = "CLIENT"
139+
140+
nodes {
141+
hostname = "myprefix5-r64zc1"
142+
ip = "192.178.19.10"
143+
vip = "192.178.19.11"
144+
vip_hostname = "myprefix5-r64zc1-vip"
145+
db_server_id = data.oci_database_db_servers.test_db_servers.db_servers.0.id
146+
}
147+
148+
nodes {
149+
hostname = "myprefix5-r64zc2"
150+
ip = "192.178.19.14"
151+
vip = "192.178.19.15"
152+
vip_hostname = "myprefix5-r64zc2-vip"
153+
db_server_id = data.oci_database_db_servers.test_db_servers.db_servers.1.id
154+
}
155+
156+
vlan_id = "41"
157+
}
158+
159+
#Optional
160+
defined_tags = {
161+
"${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}" = "updatedvalue"
162+
}
163+
164+
freeform_tags = {
165+
"Department" = "Accounting"
166+
}
167+
168+
validate_vm_cluster_network = true
169+
170+
action = "ADD_DBSERVER_NETWORK"
171+
172+
lifecycle {
173+
ignore_changes = [
174+
vm_networks,
175+
]
176+
}
177+
}
178+
91179
data "oci_database_gi_versions" "gi_version" {
92180
compartment_id = var.compartment_ocid
93181
shape = "ExadataCC.Quarter3.100"
@@ -125,6 +213,14 @@ resource "oci_database_vm_cluster" "test_vm_cluster" {
125213
is_incident_logs_enabled = "true"
126214
}
127215

216+
cloud_automation_update_details{
217+
is_early_adoption_enabled = "true"
218+
apply_update_time_preference {
219+
apply_update_preferred_start_time = "02:00"
220+
apply_update_preferred_end_time = "08:00"
221+
}
222+
}
223+
128224
}
129225

130226
data "oci_database_db_servers" "test_db_servers" {
@@ -172,7 +268,12 @@ data "oci_database_vm_cluster_recommended_network" "test_vm_cluster_recommended_
172268

173269
resource "oci_database_db_home" "test_db_home_vm_cluster" {
174270
vm_cluster_id = oci_database_vm_cluster.test_vm_cluster.id
271+
source = "VM_CLUSTER_NEW"
272+
db_version = "12.1.0.2"
273+
display_name = "createdDbHome"
274+
}
175275

276+
resource "oci_database_database" "test_exacc_database"{
176277
database {
177278
admin_password = "BEstrO0ng_#11"
178279
db_name = "dbVMClus"
@@ -195,10 +296,8 @@ resource "oci_database_db_home" "test_db_home_vm_cluster" {
195296
}
196297
}
197298
}
198-
199-
source = "VM_CLUSTER_NEW"
200-
db_version = "12.1.0.2"
201-
display_name = "createdDbHome"
299+
db_home_id = oci_database_db_home.test_db_home_vm_cluster.id
300+
source = "NONE"
202301
}
203302

204303
resource "oci_database_backup_destination" "test_backup_destination_nfs" {

examples/desktops/desktop_pool/main.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ resource "oci_desktops_desktop_pool" "test_desktop_pool" {
6363
# nsg_ids = var.desktop_pool_nsg_ids
6464
# time_start_scheduled = var.desktop_pool_time_start_scheduled
6565
# time_stop_scheduled = var.desktop_pool_time_stop_scheduled
66+
# private_access_details {
67+
# #Required
68+
# subnet_id = var.desktop_pool_private_access_details_subnet_id
69+
#
70+
# #Optional
71+
# nsg_ids = var.desktop_pool_private_access_details_nsg_ids
72+
# private_ip = var.desktop_pool_private_access_details_private_ip
73+
# }
6674
}
6775

6876
data "oci_desktops_desktop_pools" "test_desktop_pools_datasource" {
@@ -72,7 +80,7 @@ data "oci_desktops_desktop_pools" "test_desktop_pools_datasource" {
7280
#Optional
7381
# availability_domain = data.oci_identity_availability_domain.ad.name
7482
# display_name = var.desktop_pool_display_name
75-
# id = var.desktop_pool_id
83+
id = oci_desktops_desktop_pool.test_desktop_pool.id
7684
# state = var.desktop_pool_state
7785
}
7886

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# OCI config profile
2+
config_file_profile="terraform-federation-test"
3+
4+
# region (us-phoenix-1, ca-toronto-1, etc)
5+
region="us-phoenix-1"
6+
7+
# Secure Desktops Example Configuration
8+
9+
compartment_id = "<compartment_ocid>"
10+
11+
desktop_pool_vcn_id = "<vcn_ocid>"
12+
desktop_pool_subnet_id = "<subnet_ocid>"
13+
desktop_pool_image_id = "<image_ocid>"
14+
desktop_pool_image_name = "<image_name>"
15+
desktop_pool_backup_policy_id = "<volume_backup_policy_ocid>"
16+
desktop_pool_contact_details = "test%40example.com"
17+
desktop_pool_private_access_details_subnet_id = "<private_access_subnet_ocid>"
18+
desktop_pool_private_access_details_nsg_ids = "[<private_access_nsg_ids>]"
19+
desktop_pool_private_access_details_private_ip = "<private_access_private_ip>"

0 commit comments

Comments
 (0)