Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 8.27.0 (August 11, 2026)

### Added
- Support for Compute Host Group API - Quick Recycle Settings Enhancement
- Support for Exadata Live Update for ExaDB-C@C DomU update |ExaDB-D/C@C/XS
- Support for HDDP Control Plane DEXREQ Oracle Cloud Infrastructure (OCI) Healthcare Device Data Platform (HDDP) Service
- Support for Local Timezone in Resource Scheduler
- Support for ADBS: Availability Domain Selection During and Post Provisioning

### Bug Fix
- DATASEC-11511 Fix ZPR configuration discovery import ID

## 8.26.0 (August 5, 2026)

### Added
Expand Down
33 changes: 33 additions & 0 deletions examples/core/computeHostGroups/compute_host_group.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "region" {}
variable "config_file_profile" {}
variable "compartment_ocid" {}
variable "availability_domain" {}

provider "oci" {
region = var.region
auth = "SecurityToken"
config_file_profile = var.config_file_profile
}

resource "oci_core_compute_host_group" "quick_recycle_example" {
availability_domain = var.availability_domain
compartment_id = var.compartment_ocid
display_name = "terraform-quick-recycle-example"
is_targeted_placement_required = false

configurations {
recycle_level = "SKIP_RECYCLE"
target = "BM.DenseIO.E4.128"

quick_recycle_settings {
nvme_wipe = true
}
}
}

data "oci_core_compute_host_group" "quick_recycle_example" {
compute_host_group_id = oci_core_compute_host_group.quick_recycle_example.id
}
54 changes: 54 additions & 0 deletions examples/ddfs/instances/instance.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "region" {}
variable "compartment_id" {}
variable "instance_idcs_url" {}

variable "instance_defined_tags_value" {
default = "value"
}

variable "instance_display_name" {
default = "displayName"
}

variable "instance_freeform_tags" {
default = { "Department" = "Finance" }
}

variable "instance_state" {
default = "ACTIVE"
}

provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
region = var.region
}

resource "oci_ddfs_instance" "test_instance" {
#Required
compartment_id = var.compartment_id
idcs_url = var.instance_idcs_url

#Optional
#defined_tags = tomap({ "Operations.CostCenter" = var.instance_defined_tags_value })
display_name = var.instance_display_name
freeform_tags = var.instance_freeform_tags
}

data "oci_ddfs_instances" "test_instances" {

#Optional
compartment_id = var.compartment_id
display_name = var.instance_display_name
id = oci_ddfs_instance.test_instance.id
state = var.instance_state
}
58 changes: 29 additions & 29 deletions examples/resourcescheduler/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -174,32 +174,32 @@ locals {
]
}

resource "oci_resource_scheduler_schedule" "rs_body_param_test" {
#Required
action = var.schedule_action
compartment_id = var.compartment_id
description = var.schedule_description
display_name = "test-fn-body-1-tf-created"
recurrence_details = "FREQ=DAILY;COUNT=1"
recurrence_type = var.schedule_recurrence_type
time_starts = local.start_time

resources {
id = var.resource_id

parameters {
parameter_type = "BODY"
value = [jsonencode(local.schedule_body1)]
}
}

lifecycle {
ignore_changes = [
time_starts
]
}
}

output "schedule_id" {
value = oci_resource_scheduler_schedule.rs_body_param_test.id
}
# resource "oci_resource_scheduler_schedule" "rs_body_param_test" {
# #Required
# action = var.schedule_action
# compartment_id = var.compartment_id
# description = var.schedule_description
# display_name = "test-fn-body-1-tf-created"
# recurrence_details = "FREQ=DAILY;COUNT=1"
# recurrence_type = var.schedule_recurrence_type
# time_starts = local.start_time

# resources {
# id = var.resource_id

# parameters {
# parameter_type = "BODY"
# value = [jsonencode(local.schedule_body1)]
# }
# }

# lifecycle {
# ignore_changes = [
# time_starts
# ]
# }
# }

# output "schedule_id" {
# value = oci_resource_scheduler_schedule.rs_body_param_test.id
# }
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "region" {}
variable "compartment_id" {}

variable "schedule_resource_type_action_type" {
default = "actionType"
}



provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
region = var.region
}

data "oci_resource_scheduler_schedule_resource_types" "test_schedule_resource_types" {

#Optional
action_type = var.schedule_resource_type_action_type
compartment_id = var.compartment_id
}

160 changes: 160 additions & 0 deletions examples/resourcescheduler/schedules/schedule.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
// Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "region" {}
variable "compartment_id" {}

variable "schedule_action" {
default = "START_RESOURCE"
}

variable "schedule_defined_tags_value" {
default = "value"
}

variable "schedule_description" {
default = "description"
}

variable "schedule_display_name" {
default = "displayName"
}

variable "schedule_freeform_tags" {
default = { "Department" = "Finance" }
}

variable "schedule_local_time_zone" {
default = "localTimeZone"
}

variable "schedule_recurrence_details" {
default = "recurrenceDetails"
}

variable "schedule_recurrence_type" {
default = "CRON"
}

variable "schedule_resource_filters_attribute" {
default = "COMPARTMENT_ID"
}

variable "schedule_resource_filters_condition" {
default = "EQUAL"
}

variable "schedule_resource_filters_should_include_child_compartments" {
default = false
}

variable "schedule_resource_filters_value_namespace" {
default = "namespace"
}

variable "schedule_resource_filters_value_tag_key" {
default = "tagKey"
}

variable "schedule_resource_filters_value_value" {
default = "value"
}

variable "schedule_resources_id" {
default = "id"
}

variable "schedule_resources_metadata" {
default = "metadata"
}

variable "schedule_resources_parameters_parameter_type" {
default = "HEADER"
}

variable "schedule_resources_parameters_value" {
default = "{\"dummyKey\": \"dummyValue\"}"
}

variable "schedule_state" {
default = "AVAILABLE"
}

variable "schedule_time_ends" {
default = "timeEnds"
}

variable "schedule_time_starts" {
default = "timeStarts"
}



provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
region = var.region
}

resource "oci_resource_scheduler_schedule" "test_schedule" {
#Required
action = var.schedule_action
compartment_id = var.compartment_id
recurrence_details = var.schedule_recurrence_details
recurrence_type = var.schedule_recurrence_type

#Optional
defined_tags = tomap({ oci_identity_tag_namespace.tag-namespace1.name.oci_identity_tag.tag1.name = var.schedule_defined_tags_value })
description = var.schedule_description
display_name = var.schedule_display_name
freeform_tags = var.schedule_freeform_tags
local_time_zone = var.schedule_local_time_zone
resource_filters {
#Required
attribute = var.schedule_resource_filters_attribute

#Optional
condition = var.schedule_resource_filters_condition
should_include_child_compartments = var.schedule_resource_filters_should_include_child_compartments
value {

#Optional
namespace = var.schedule_resource_filters_value_namespace
tag_key = var.schedule_resource_filters_value_tag_key
value = var.schedule_resource_filters_value_value
}
}
resources {
#Required
id = var.schedule_resources_id

#Optional
metadata = var.schedule_resources_metadata
parameters {
#Required
parameter_type = var.schedule_resources_parameters_parameter_type

#Optional
value = var.schedule_resources_parameters_value
}
}
time_ends = var.schedule_time_ends
time_starts = var.schedule_time_starts
}

data "oci_resource_scheduler_schedules" "test_schedules" {

#Optional
compartment_id = var.compartment_id
display_name = var.schedule_display_name
resource_id = oci_cloud_guard_resource.test_resource.id
schedule_id = oci_resource_scheduler_schedule.test_schedule.id
state = var.schedule_state
}

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/hashicorp/terraform-plugin-mux v0.21.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.38.1
github.com/hashicorp/terraform-plugin-testing v1.13.3
github.com/oracle/oci-go-sdk/v65 v65.123.0
github.com/oracle/oci-go-sdk/v65 v65.123.1
github.com/stretchr/testify v1.11.1
golang.org/x/mod v0.37.0
gopkg.in/yaml.v2 v2.4.0
Expand Down
Loading
Loading