Skip to content

Commit 84175fd

Browse files
authored
Merge pull request #2175 from oracle/release_gh
Releasing OCI Provider v6.7.0
2 parents cc38725 + 4d6ad78 commit 84175fd

File tree

226 files changed

+2171
-215
lines changed

Some content is hidden

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

226 files changed

+2171
-215
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions

examples/database/adb/autonomous_database.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ resource "oci_database_autonomous_database" "test_autonomous_database_ecpu" {
9090
is_free_tier = "false"
9191
}
9292

93+
resource "oci_database_autonomous_database" "test_autonomous_database_developer" {
94+
admin_password = random_string.autonomous_database_admin_password.result
95+
compartment_id = var.compartment_ocid
96+
compute_count = "4.0"
97+
compute_model = "ECPU"
98+
data_storage_size_in_gb = "20"
99+
db_name = "adbDeveloper"
100+
db_version = "19c"
101+
license_model = "LICENSE_INCLUDED"
102+
is_free_tier = "false"
103+
}
104+
93105
resource "oci_database_autonomous_database" "test_autonomous_database_local_adg_failover_data_loss_limit" {
94106
admin_password = random_string.autonomous_database_admin_password.result
95107
compartment_id = var.compartment_ocid
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
10+
variable "calculate_audit_volume_available_audit_collection_start_time" {
11+
default = "2023-05-17T15:05:28Z"
12+
}
13+
14+
variable "calculate_audit_volume_available_database_unique_name" {
15+
default = "databaseUniqueName"
16+
}
17+
18+
variable "calculate_audit_volume_available_trail_locations" {
19+
default = []
20+
}
21+
22+
23+
24+
provider "oci" {
25+
tenancy_ocid = var.tenancy_ocid
26+
user_ocid = var.user_ocid
27+
fingerprint = var.fingerprint
28+
private_key_path = var.private_key_path
29+
region = var.region
30+
}
31+
32+
resource "oci_data_safe_calculate_audit_volume_available" "test_calculate_audit_volume_available" {
33+
#Required
34+
audit_profile_id = oci_data_safe_audit_profile_management.test_audit_profile_management.id
35+
36+
#Optional
37+
audit_collection_start_time = var.calculate_audit_volume_available_audit_collection_start_time
38+
database_unique_name = var.calculate_audit_volume_available_database_unique_name
39+
trail_locations = var.calculate_audit_volume_available_trail_locations
40+
}
41+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
10+
variable "calculate_audit_volume_collected_time_from_month" {
11+
default = "2024-05-17T15:05:28Z"
12+
}
13+
14+
variable "calculate_audit_volume_collected_time_to_month" {
15+
default = "2024-05-17T17:05:28Z"
16+
}
17+
18+
19+
20+
provider "oci" {
21+
tenancy_ocid = var.tenancy_ocid
22+
user_ocid = var.user_ocid
23+
fingerprint = var.fingerprint
24+
private_key_path = var.private_key_path
25+
region = var.region
26+
}
27+
28+
29+
resource "oci_data_safe_calculate_audit_volume_collected" "test_calculate_audit_volume_collected" {
30+
#Required
31+
audit_profile_id = oci_data_safe_audit_profile_management.test_audit_profile_management.id
32+
time_from_month = var.calculate_audit_volume_collected_time_from_month
33+
34+
#Optional
35+
time_to_month = var.calculate_audit_volume_collected_time_to_month
36+
}

examples/disaster_recovery/dr_plan_execution/dr_plan_execution.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ variable "dr_plan_execution_display_name" {
1818
default = "displayName"
1919
}
2020

21-
variable "dr_plan_execution_dr_plan_execution_type" {
22-
default = "SWITCHOVER_PRECHECK"
23-
}
24-
2521
variable "dr_plan_execution_execution_options_are_prechecks_enabled" {
2622
default = false
2723
}
@@ -81,6 +77,5 @@ data "oci_disaster_recovery_dr_plan_executions" "test_dr_plan_executions" {
8177
#Optional
8278
display_name = var.dr_plan_execution_display_name
8379
dr_plan_execution_id = oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution.id
84-
dr_plan_execution_type = var.dr_plan_execution_dr_plan_execution_type
8580
#state = var.dr_plan_execution_state
8681
}

examples/integration/main.tf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ provider "oci" {
5959
resource "oci_integration_integration_instance" "test_integration_instance" {
6060
#Required
6161
compartment_id = var.compartment_id
62-
integration_instance_type = "STANDARDX"
62+
integration_instance_type = "HEALTHCARE"
6363
shape = "DEVELOPMENT"
6464
display_name = "displayName"
6565
is_byol = "false"
@@ -96,17 +96,17 @@ data "oci_integration_integration_instance" "test_integration_instance" {
9696
integration_instance_id = oci_integration_integration_instance.test_integration_instance.id
9797
}
9898

99-
resource "oci_integration_integration_instance" "test_integration_instance_idcs" {
100-
#Required
101-
compartment_id = var.compartment_id
102-
display_name = "instance4643_idcs"
103-
integration_instance_type = "STANDARDX"
104-
shape = "DEVELOPMENT"
105-
# shape = "PRODUCTION"
106-
is_byol = "false"
107-
message_packs = "10"
108-
idcs_at = var.integration_instance_idcs_access_token
109-
}
99+
# resource "oci_integration_integration_instance" "test_integration_instance_idcs" {
100+
# #Required
101+
# compartment_id = var.compartment_id
102+
# display_name = "instance4643_idcs"
103+
# integration_instance_type = "STANDARDX"
104+
# shape = "DEVELOPMENT"
105+
# # shape = "PRODUCTION"
106+
# is_byol = "false"
107+
# message_packs = "10"
108+
# idcs_at = var.integration_instance_idcs_access_token
109+
# }
110110

111111
resource "oci_integration_private_endpoint_outbound_connection" "integration_private_endpoint" {
112112
integration_instance_id = oci_integration_integration_instance.test_integration_instance.id

examples/limits/quota.tf renamed to examples/limits/quotas/quota.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ variable "private_key_path" {
1818
variable "region" {
1919
}
2020

21-
variable "limit_definition_name" {
22-
default = "vm-standard2-8-count"
23-
}
24-
2521
provider "oci" {
2622
tenancy_ocid = var.tenancy_ocid
2723
user_ocid = var.user_ocid
File renamed without changes.
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {
5+
6+
}
7+
8+
variable "subscription_ocid" {
9+
10+
}
11+
12+
variable "user_ocid" {
13+
}
14+
15+
variable "fingerprint" {
16+
17+
}
18+
19+
variable "private_key_path" {
20+
}
21+
22+
variable "region" {
23+
}
24+
25+
variable "limit_definition_name" {
26+
default = "vm-standard2-8-count"
27+
}
28+
29+
provider "oci" {
30+
tenancy_ocid = var.tenancy_ocid
31+
user_ocid = var.user_ocid
32+
fingerprint = var.fingerprint
33+
private_key_path = var.private_key_path
34+
region = var.region
35+
}
36+
37+
data "oci_identity_availability_domain" "ad" {
38+
compartment_id = var.tenancy_ocid
39+
ad_number = 1
40+
}
41+
42+
data "oci_limits_services" "test_services" {
43+
#Required
44+
compartment_id = var.tenancy_ocid
45+
46+
filter {
47+
name = "name"
48+
values = ["compute"]
49+
}
50+
}
51+
52+
data "oci_limits_limit_definitions" "test_limit_definitions" {
53+
#Required
54+
compartment_id = var.tenancy_ocid
55+
56+
#Optional
57+
name = var.limit_definition_name
58+
service_name = data.oci_limits_services.test_services.services[0].name
59+
}
60+
61+
data "oci_limits_resource_availability" "test_resource_availability" {
62+
#Required
63+
compartment_id = var.tenancy_ocid
64+
limit_name = var.limit_definition_name
65+
service_name = data.oci_limits_services.test_services.services[0].name
66+
67+
#Optional
68+
#specify this parameter depending upon the limit and service
69+
availability_domain = data.oci_identity_availability_domain.ad.name
70+
}
71+
72+
data "oci_limits_limit_values" "test_limit_values" {
73+
#Required
74+
compartment_id = var.tenancy_ocid
75+
service_name = data.oci_limits_services.test_services.services[0].name
76+
77+
#Optional
78+
availability_domain = data.oci_identity_availability_domain.ad.name
79+
name = var.limit_definition_name
80+
scope_type = "AD"
81+
}
82+
83+
#### Subscription Param
84+
85+
data "oci_limits_services" "test_services_with_subscription" {
86+
#Required
87+
compartment_id = var.tenancy_ocid
88+
89+
#Optional
90+
subscription_id = var.subscription_ocid
91+
}
92+
93+
data "oci_limits_limit_definitions" "test_limit_definitions_with_subscription" {
94+
#Required
95+
compartment_id = var.tenancy_ocid
96+
97+
#Optional
98+
subscription_id = var.subscription_ocid
99+
}
100+
101+

examples/network_load_balancer/network_load_balancer_full/nlb_full.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ resource "oci_network_load_balancer_listener" "nlb-listener1" {
415415
default_backend_set_name = oci_network_load_balancer_backend_set.nlb-bes1.name
416416
port = 80
417417
protocol = "TCP"
418+
tcp_idle_timeout = 360
418419
is_ppv2enabled = true
419420
depends_on = [oci_network_load_balancer_backend_set.nlb-bes3]
420421
}
@@ -424,6 +425,7 @@ resource "oci_network_load_balancer_listener" "nlb-listener2" {
424425
name = "udp_listener"
425426
default_backend_set_name = oci_network_load_balancer_backend_set.nlb-bes2.name
426427
port = 22
428+
udp_idle_timeout = 300
427429
protocol = "UDP"
428430
depends_on = [oci_network_load_balancer_listener.nlb-listener1]
429431
}
@@ -434,6 +436,8 @@ resource "oci_network_load_balancer_listener" "nlb-listener3" {
434436
default_backend_set_name = oci_network_load_balancer_backend_set.nlb-bes3.name
435437
port = 8080
436438
protocol = "TCP_AND_UDP"
439+
tcp_idle_timeout = 240
440+
udp_idle_timeout = 180
437441
depends_on = [oci_network_load_balancer_listener.nlb-listener2]
438442
}
439443

0 commit comments

Comments
 (0)