Skip to content

Commit 77156f7

Browse files
authored
Merge pull request #2235 from oracle/release_gh
Release gh v6.16.0
2 parents dd2e646 + e63216d commit 77156f7

File tree

236 files changed

+1167
-2908
lines changed

Some content is hidden

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

236 files changed

+1167
-2908
lines changed

CHANGELOG.md

+13

examples/compute/instance_pool/instance_pool.tf

-9
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,6 @@ data "oci_core_instance" "test_instance_pool_instance_singular_datasource" {
333333
instance_id = data.oci_core_instance_pool_instances.test_instance_pool_instances_datasource.instances[count.index]["id"]
334334
}
335335

336-
data "oci_core_instance_pool_load_balancer_attachment" "test_instance_pool_load_balancer_attachment" {
337-
instance_pool_id = oci_core_instance_pool.test_instance_pool.id
338-
instance_pool_load_balancer_attachment_id = oci_core_instance_pool.test_instance_pool.load_balancers[0].id
339-
}
340-
341336
output "pooled_instances_private_ips" {
342337
value = [data.oci_core_instance.test_instance_pool_instance_singular_datasource.*.private_ip]
343338
}
@@ -350,7 +345,3 @@ output "pooled_instances_hostname_labels" {
350345
value = [data.oci_core_instance.test_instance_pool_instance_singular_datasource.*.hostname_label]
351346
}
352347

353-
output "load_balancer_backend_set_name" {
354-
value = [data.oci_core_instance_pool_load_balancer_attachment.test_instance_pool_load_balancer_attachment.backend_set_name]
355-
}
356-

examples/compute/instance_pool/instance_pool_ipv6.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ resource "oci_core_instance_configuration" "test_instance_configuration_ipv6" {
140140
assign_public_ip = true
141141
display_name = "TestInstanceConfigurationVNIC"
142142
skip_source_dest_check = false
143-
subnet_id = oci_core_subnet.test_subnet.id
143+
subnet_id = oci_core_subnet.test_subnet_ipv6.id
144144
assign_ipv6ip = true
145145
ipv6address_ipv6subnet_cidr_pair_details {
146146
ipv6subnet_cidr = oci_core_subnet.test_subnet_ipv6.ipv6cidr_blocks[0]
@@ -161,7 +161,7 @@ resource "oci_core_instance_configuration" "test_instance_configuration_ipv6" {
161161
secondary_vnics {
162162
display_name = "TestInstancePoolSecondaryVNIC"
163163
create_vnic_details {
164-
subnet_id = oci_core_subnet.test_subnet.id
164+
subnet_id = oci_core_subnet.test_subnet_ipv6.id
165165
assign_ipv6ip = true
166166
display_name = "TestInstancePoolSecondaryVNIC"
167167
ipv6address_ipv6subnet_cidr_pair_details {

examples/container_engine/addons/main.tf

+19-61
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ provider "oci" {
2020
}
2121

2222
/*
23-
A complete example to setup a cluster, then configure add-ons, then create node pool.
23+
A complete example to setup a cluster, then configure add-ons.
2424
*/
2525
data "oci_identity_availability_domain" "ad1" {
2626
compartment_id = var.tenancy_ocid
@@ -51,17 +51,16 @@ resource "oci_core_route_table" "test_route_table" {
5151
}
5252
}
5353

54-
resource "oci_core_subnet" "nodePool_Subnet_1" {
55-
#Required
56-
availability_domain = data.oci_identity_availability_domain.ad1.name
57-
cidr_block = "10.0.22.0/24"
58-
compartment_id = var.compartment_ocid
59-
vcn_id = oci_core_vcn.test_vcn.id
60-
61-
# Provider code tries to maintain compatibility with old versions.
62-
security_list_ids = [oci_core_vcn.test_vcn.default_security_list_id]
63-
display_name = "tfSubNet1ForNodePool"
64-
route_table_id = oci_core_route_table.test_route_table.id
54+
resource "oci_core_subnet" "api_endpoint_subnet" {
55+
#Required
56+
cidr_block = "10.0.23.0/24"
57+
compartment_id = var.compartment_ocid
58+
vcn_id = oci_core_vcn.test_vcn.id
59+
60+
# Provider code tries to maintain compatibility with old versions.
61+
security_list_ids = [oci_core_vcn.test_vcn.default_security_list_id]
62+
display_name = "apiEndpointSubnet"
63+
route_table_id = oci_core_route_table.test_route_table.id
6564
}
6665

6766
resource "oci_containerengine_cluster" "test_cluster" {
@@ -71,6 +70,9 @@ resource "oci_containerengine_cluster" "test_cluster" {
7170
name = "tfTestCluster"
7271
vcn_id = oci_core_vcn.test_vcn.id
7372
type = "ENHANCED_CLUSTER"
73+
endpoint_config {
74+
subnet_id = oci_core_subnet.api_endpoint_subnet.id
75+
}
7476
}
7577

7678
resource "oci_containerengine_addon" "dashboard" {
@@ -80,6 +82,11 @@ resource "oci_containerengine_addon" "dashboard" {
8082
cluster_id = oci_containerengine_cluster.test_cluster.id
8183
#Required, remove the resource on addon deletion
8284
remove_addon_resources_on_delete = true
85+
86+
#Optional, will override an existing installation if true and Addon already exists
87+
override_existing = false
88+
89+
#Optional
8390
dynamic configurations {
8491
for_each = local.addon_mappings
8592

@@ -90,60 +97,11 @@ resource "oci_containerengine_addon" "dashboard" {
9097
}
9198
}
9299

93-
resource "oci_containerengine_node_pool" "test_node_pool" {
94-
#Required
95-
cluster_id = oci_containerengine_cluster.test_cluster.id
96-
compartment_id = var.compartment_ocid
97-
kubernetes_version = reverse(data.oci_containerengine_cluster_option.test_cluster_option.kubernetes_versions)[0]
98-
name = "tfPool"
99-
node_shape = "VM.Standard2.1"
100-
101-
node_config_details {
102-
size = 1
103-
placement_configs {
104-
availability_domain = data.oci_identity_availability_domain.ad1.name
105-
subnet_id = oci_core_subnet.nodePool_Subnet_1.id
106-
}
107-
}
108-
109-
node_source_details {
110-
#Required
111-
image_id = local.image_id
112-
source_type = "IMAGE"
113-
114-
#Optional
115-
boot_volume_size_in_gbs = "60"
116-
}
117-
118-
//use terraform depends_on to enforce cluster->add-on->node pool DAG
119-
depends_on = [oci_containerengine_addon.dashboard]
120-
}
121-
122100
data "oci_containerengine_cluster_option" "test_cluster_option" {
123101
cluster_option_id = "all"
124102
}
125103

126-
data "oci_containerengine_node_pool_option" "test_node_pool_option" {
127-
node_pool_option_id = "all"
128-
compartment_id = var.compartment_ocid
129-
}
130-
131-
data "oci_core_images" "shape_specific_images" {
132-
#Required
133-
compartment_id = var.tenancy_ocid
134-
shape = "VM.Standard2.1"
135-
}
136-
137104
locals {
138-
all_images = "${data.oci_core_images.shape_specific_images.images}"
139-
all_sources = "${data.oci_containerengine_node_pool_option.test_node_pool_option.sources}"
140-
141-
compartment_images = [for image in local.all_images : image.id if length(regexall("Oracle-Linux-[0-9]*.[0-9]*-20[0-9]*",image.display_name)) > 0 ]
142-
143-
oracle_linux_images = [for source in local.all_sources : source.image_id if length(regexall("Oracle-Linux-[0-9]*.[0-9]*-20[0-9]*",source.source_name)) > 0]
144-
145-
image_id = tolist(setintersection( toset(local.compartment_images), toset(local.oracle_linux_images)))[0]
146-
147105
addon_mappings = {
148106
mapping1 = {
149107
key = "numOfReplicas"

examples/network_load_balancer/network_load_balancer_full/nlb_full.tf

+40-2
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,32 @@ resource "oci_network_load_balancer_backend_set" "nlb-bes3" {
409409
depends_on = [oci_network_load_balancer_backend_set.nlb-bes2]
410410
}
411411

412+
resource "oci_network_load_balancer_backend_set" "nlb-bes4" {
413+
name = "nlb-bes4"
414+
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
415+
policy = "THREE_TUPLE"
416+
is_fail_open = false
417+
is_instant_failover_enabled = true
418+
is_preserve_source = true
419+
420+
health_checker {
421+
port = "53"
422+
protocol = "DNS"
423+
timeout_in_millis = 10000
424+
interval_in_millis = 10000
425+
retries = 3
426+
dns {
427+
domain_name = "oracle.com"
428+
query_class = "IN"
429+
query_type = "A"
430+
rcodes = ["NOERROR", "SERVFAIL"]
431+
transport_protocol = "UDP"
432+
}
433+
}
434+
depends_on = [oci_network_load_balancer_backend_set.nlb-bes3]
435+
}
436+
437+
412438
resource "oci_network_load_balancer_listener" "nlb-listener1" {
413439
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
414440
name = "tcp_listener"
@@ -417,7 +443,7 @@ resource "oci_network_load_balancer_listener" "nlb-listener1" {
417443
protocol = "TCP"
418444
tcp_idle_timeout = 360
419445
is_ppv2enabled = true
420-
depends_on = [oci_network_load_balancer_backend_set.nlb-bes3]
446+
depends_on = [oci_network_load_balancer_backend_set.nlb-bes4]
421447
}
422448

423449
resource "oci_network_load_balancer_listener" "nlb-listener2" {
@@ -441,6 +467,18 @@ resource "oci_network_load_balancer_listener" "nlb-listener3" {
441467
depends_on = [oci_network_load_balancer_listener.nlb-listener2]
442468
}
443469

470+
resource "oci_network_load_balancer_listener" "nlb-listener4" {
471+
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
472+
name = "l3_ip_listener"
473+
default_backend_set_name = oci_network_load_balancer_backend_set.nlb-bes4.name
474+
port = 0
475+
protocol = "L3IP"
476+
tcp_idle_timeout = 240
477+
udp_idle_timeout = 180
478+
l3ip_idle_timeout = 360
479+
depends_on = [oci_network_load_balancer_listener.nlb-listener3]
480+
}
481+
444482
resource "oci_network_load_balancer_backend" "nlb-be1" {
445483
network_load_balancer_id = oci_network_load_balancer_network_load_balancer.nlb1.id
446484
backend_set_name = oci_network_load_balancer_backend_set.nlb-bes1.name
@@ -450,7 +488,7 @@ resource "oci_network_load_balancer_backend" "nlb-be1" {
450488
is_drain = false
451489
is_offline = false
452490
weight = 1
453-
depends_on = [oci_network_load_balancer_listener.nlb-listener3]
491+
depends_on = [oci_network_load_balancer_listener.nlb-listener4]
454492
}
455493

456494
resource "oci_network_load_balancer_backend" "nlb-be2" {

examples/resourcescheduler/main.tf

+32-28
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ variable "schedule_freeform_tags" {
2929
}
3030

3131
variable "schedule_recurrence_details" {
32-
default = "recurrenceDetails"
32+
default = "FREQ=DAILY;INTERVAL=1"
3333
}
3434

3535
variable "schedule_recurrence_type" {
36-
default = "CRON"
36+
default = "ICAL"
3737
}
3838

3939
variable "schedule_resource_filters_attribute" {
@@ -69,19 +69,18 @@ variable "schedule_resources_metadata" {
6969
}
7070

7171
variable "schedule_state" {
72-
default = "AVAILABLE"
72+
default = "ACTIVE"
7373
}
7474

7575
variable "schedule_time_ends" {
76-
default = "timeEnds"
76+
default = "2024-07-23T17:45:44.408Z"
7777
}
7878

7979
variable "schedule_time_starts" {
80-
default = "timeStarts"
80+
default = "2024-07-13T17:45:44.408Z"
8181
}
8282

8383

84-
8584
provider "oci" {
8685
tenancy_ocid = var.tenancy_ocid
8786
user_ocid = var.user_ocid
@@ -97,33 +96,38 @@ resource "oci_resource_scheduler_schedule" "test_schedule" {
9796
recurrence_details = var.schedule_recurrence_details
9897
recurrence_type = var.schedule_recurrence_type
9998

100-
#Optional
101-
defined_tags = map(oci_identity_tag_namespace.tag-namespace1.name.oci_identity_tag.tag1.name, var.schedule_defined_tags_value)
102-
description = var.schedule_description
103-
display_name = var.schedule_display_name
104-
freeform_tags = var.schedule_freeform_tags
10599
resource_filters {
106-
#Required
107-
attribute = var.schedule_resource_filters_attribute
108-
109-
#Optional
110-
condition = var.schedule_resource_filters_condition
111-
should_include_child_compartments = var.schedule_resource_filters_should_include_child_compartments
100+
# Required
101+
attribute = "DEFINED_TAGS"
112102
value {
113-
114-
#Optional
115-
namespace = var.schedule_resource_filters_value_namespace
116-
tag_key = var.schedule_resource_filters_value_tag_key
117-
value = var.schedule_resource_filters_value_value
103+
namespace="ResourceSchedulerCanary"
104+
tag_key="ScheduleTagFilterTestKey"
105+
value="foo"
118106
}
119107
}
120-
resources {
121-
#Required
122-
id = var.schedule_resources_id
123-
124-
#Optional
125-
metadata = var.schedule_resources_metadata
108+
resource_filters {
109+
# Required
110+
attribute = "LIFECYCLE_STATE"
111+
value {
112+
value="running"
113+
}
114+
value {
115+
value="stopped"
116+
}
117+
}
118+
resource_filters {
119+
# Required
120+
attribute = "COMPARTMENT_ID"
121+
value {
122+
value=var.compartment_id
123+
}
126124
}
125+
126+
#Optional
127+
defined_tags = map(oci_identity_tag_namespace.tag-namespace1.name.oci_identity_tag.tag1.name, var.schedule_defined_tags_value)
128+
description = var.schedule_description
129+
display_name = var.schedule_display_name
130+
freeform_tags = var.schedule_freeform_tags
127131
time_ends = var.schedule_time_ends
128132
time_starts = var.schedule_time_starts
129133
}

examples/zips/adm.zip

0 Bytes
Binary file not shown.

examples/zips/aiAnomalyDetection.zip

0 Bytes
Binary file not shown.

examples/zips/aiDocument.zip

0 Bytes
Binary file not shown.

examples/zips/aiLanguage.zip

0 Bytes
Binary file not shown.

examples/zips/aiVision.zip

0 Bytes
Binary file not shown.

examples/zips/always_free.zip

0 Bytes
Binary file not shown.

examples/zips/analytics.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/api_gateway.zip

0 Bytes
Binary file not shown.

examples/zips/apm.zip

0 Bytes
Binary file not shown.

examples/zips/appmgmt_control.zip

0 Bytes
Binary file not shown.

examples/zips/artifacts.zip

0 Bytes
Binary file not shown.

examples/zips/audit.zip

0 Bytes
Binary file not shown.

examples/zips/autoscaling.zip

0 Bytes
Binary file not shown.

examples/zips/bastion.zip

0 Bytes
Binary file not shown.

examples/zips/big_data_service.zip

0 Bytes
Binary file not shown.

examples/zips/blockchain.zip

0 Bytes
Binary file not shown.

examples/zips/budget.zip

0 Bytes
Binary file not shown.

examples/zips/capacity_management.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/cloudBridge.zip

0 Bytes
Binary file not shown.

examples/zips/cloudMigrations.zip

0 Bytes
Binary file not shown.

examples/zips/cloudguard.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/compute.zip

28 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/concepts.zip

0 Bytes
Binary file not shown.

examples/zips/container_engine.zip

-408 Bytes
Binary file not shown.

examples/zips/container_instances.zip

0 Bytes
Binary file not shown.

examples/zips/database.zip

1.85 KB
Binary file not shown.

examples/zips/databaseTools.zip

0 Bytes
Binary file not shown.

examples/zips/databasemanagement.zip

0 Bytes
Binary file not shown.

examples/zips/databasemigration.zip

0 Bytes
Binary file not shown.

examples/zips/datacatalog.zip

0 Bytes
Binary file not shown.

examples/zips/dataflow.zip

0 Bytes
Binary file not shown.

examples/zips/dataintegration.zip

0 Bytes
Binary file not shown.

examples/zips/datalabeling.zip

0 Bytes
Binary file not shown.

examples/zips/datasafe.zip

0 Bytes
Binary file not shown.

examples/zips/datascience.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/demand_signal.zip

0 Bytes
Binary file not shown.

examples/zips/desktops.zip

0 Bytes
Binary file not shown.

examples/zips/devops.zip

0 Bytes
Binary file not shown.

examples/zips/disaster_recovery.zip

0 Bytes
Binary file not shown.

examples/zips/dns.zip

0 Bytes
Binary file not shown.

examples/zips/em_warehouse.zip

0 Bytes
Binary file not shown.

examples/zips/email.zip

0 Bytes
Binary file not shown.

examples/zips/events.zip

0 Bytes
Binary file not shown.

examples/zips/fast_connect.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/fleetsoftwareupdate.zip

0 Bytes
Binary file not shown.

examples/zips/functions.zip

0 Bytes
Binary file not shown.

examples/zips/fusionapps.zip

0 Bytes
Binary file not shown.

examples/zips/generative_ai.zip

0 Bytes
Binary file not shown.
Binary file not shown.

examples/zips/goldengate.zip

0 Bytes
Binary file not shown.

examples/zips/health_checks.zip

0 Bytes
Binary file not shown.

examples/zips/id6.zip

0 Bytes
Binary file not shown.

examples/zips/identity.zip

0 Bytes
Binary file not shown.

examples/zips/identity_data_plane.zip

0 Bytes
Binary file not shown.

examples/zips/identity_domains.zip

0 Bytes
Binary file not shown.

examples/zips/integration.zip

0 Bytes
Binary file not shown.

examples/zips/jms.zip

0 Bytes
Binary file not shown.

examples/zips/jms_java_downloads.zip

0 Bytes
Binary file not shown.

examples/zips/kms.zip

0 Bytes
Binary file not shown.

examples/zips/license_manager.zip

0 Bytes
Binary file not shown.

examples/zips/limits.zip

0 Bytes
Binary file not shown.

examples/zips/load_balancer.zip

0 Bytes
Binary file not shown.

examples/zips/log_analytics.zip

0 Bytes
Binary file not shown.

examples/zips/logging.zip

0 Bytes
Binary file not shown.

examples/zips/management_agent.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/marketplace.zip

0 Bytes
Binary file not shown.

examples/zips/media_services.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/monitoring.zip

0 Bytes
Binary file not shown.

examples/zips/mysql.zip

0 Bytes
Binary file not shown.

examples/zips/network_firewall.zip

0 Bytes
Binary file not shown.
64 Bytes
Binary file not shown.

examples/zips/networking.zip

0 Bytes
Binary file not shown.

examples/zips/nosql.zip

0 Bytes
Binary file not shown.

examples/zips/notifications.zip

0 Bytes
Binary file not shown.

examples/zips/object_storage.zip

0 Bytes
Binary file not shown.

examples/zips/ocvp.zip

0 Bytes
Binary file not shown.

examples/zips/onesubscription.zip

0 Bytes
Binary file not shown.

examples/zips/opa.zip

0 Bytes
Binary file not shown.

examples/zips/opensearch.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/opsi.zip

0 Bytes
Binary file not shown.

examples/zips/optimizer.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/os_management_hub.zip

0 Bytes
Binary file not shown.

examples/zips/osmanagement.zip

0 Bytes
Binary file not shown.

examples/zips/osp_gateway.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/osub_subscription.zip

0 Bytes
Binary file not shown.

examples/zips/osub_usage.zip

0 Bytes
Binary file not shown.

examples/zips/pic.zip

0 Bytes
Binary file not shown.

examples/zips/psql.zip

0 Bytes
Binary file not shown.

examples/zips/queue.zip

0 Bytes
Binary file not shown.

examples/zips/recovery.zip

0 Bytes
Binary file not shown.

examples/zips/redis.zip

0 Bytes
Binary file not shown.

examples/zips/resourcemanager.zip

0 Bytes
Binary file not shown.

examples/zips/resourcescheduler.zip

60 Bytes
Binary file not shown.

examples/zips/security_attribute.zip

0 Bytes
Binary file not shown.

examples/zips/serviceManagerProxy.zip

0 Bytes
Binary file not shown.

examples/zips/service_catalog.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/service_mesh.zip

0 Bytes
Binary file not shown.

examples/zips/stack_monitoring.zip

0 Bytes
Binary file not shown.

examples/zips/storage.zip

392 Bytes
Binary file not shown.

examples/zips/streaming.zip

0 Bytes
Binary file not shown.

examples/zips/usage_proxy.zip

0 Bytes
Binary file not shown.

examples/zips/vault_secret.zip

0 Bytes
Binary file not shown.

examples/zips/vbs_inst.zip

0 Bytes
Binary file not shown.

examples/zips/visual_builder.zip

0 Bytes
Binary file not shown.

examples/zips/vn_monitoring.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/web_app_firewall.zip

0 Bytes
Binary file not shown.
Binary file not shown.

examples/zips/zpr.zip

0 Bytes
Binary file not shown.

internal/globalvar/version.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"log"
88
)
99

10-
const Version = "6.15.0"
10+
const Version = "6.16.0"
1111

12-
const ReleaseDate = "2024-10-28"
12+
const ReleaseDate = "2024-10-30"
1313

1414
func PrintVersion() {
1515
log.Printf("[INFO] terraform-provider-oci %s\n", Version)

0 commit comments

Comments
 (0)