Skip to content

Commit

Permalink
Merge pull request #2096 from oracle/release_gh
Browse files Browse the repository at this point in the history
Releasing version 5.38.0
  • Loading branch information
NagaRajuPasunuri authored Apr 17, 2024
2 parents 4185ea1 + 3b644ac commit f4f8330
Show file tree
Hide file tree
Showing 308 changed files with 7,796 additions and 213 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 5.38.0 (April 17, 2024)

### Added
- Support for Oracle Process Automation (OPA) : Support for Start/Stop operation in Public API
- Support for ODSC - Model Deploy - Custom Public Egress Support
- Support for Cost Management - Usage Statements
- Support for Oracle Home Version Control - Phase 2 | ADB-D and ADB-C@C
- Support for OCI Cache Service with Redis - NSG Support
### Bug Fix
- Update psql Documentaiton for TF Provider

## 5.37.0 (April 09, 2024)

### Added
Expand Down
36 changes: 36 additions & 0 deletions examples/database/atp-d/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,42 @@ resource "oci_database_autonomous_container_database" "test_autonomous_container
is_dst_file_update_enabled = false
}

resource "oci_database_autonomous_database_software_image" "autonomous_database_software_image" {
compartment_id = var.compartment_ocid
display_name = "ADSI-TFTest"
image_shape_family = "EXADATA_SHAPE"
source_cdb_id = oci_database_autonomous_container_database.test_autonomous_container_database.id
freeform_tags = {
"Department" = "Finance"
}
}

resource "random_string" "db_unique_name_adsi_acd" {
length = 8
special = false
number = false
}

resource "oci_database_autonomous_container_database" "autonomous_container_database_from_adsi" {
cloud_autonomous_vm_cluster_id = oci_database_cloud_autonomous_vm_cluster.test_cloud_autonomous_vm_cluster.id
database_software_image_id = oci_database_autonomous_database_software_image.autonomous_database_software_image.id
backup_config {
recovery_window_in_days = "7"
}
compartment_id = var.compartment_ocid
db_unique_name = random_string.db_unique_name_adsi_acd.result
display_name = "ACD-TFTest"
freeform_tags = {
"Department" = "Finance"
}
maintenance_window_details {
preference = "NO_PREFERENCE"
}
patch_model = "RELEASE_UPDATES"
service_level_agreement_type = "STANDARD"
version_preference = "LATEST_RELEASE_UPDATE"
is_dst_file_update_enabled = false
}
variable "cloud_exadata_infrastructure_un_allocated_resource_db_servers" {
default = []
}
Expand Down
29 changes: 29 additions & 0 deletions examples/database/exadata_cc/adbd/acd_from_adsi.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
resource "random_string" "db_unique_name_adsi_acd" {
length = 8
special = false
number = false
}

resource "oci_database_autonomous_container_database" "autonomous_container_database_from_adsi" {
autonomous_vm_cluster_id = oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id
database_software_image_id = oci_database_autonomous_database_software_image.autonomous_database_software_image.id
backup_config {
backup_destination_details {
type = "LOCAL"
}
recovery_window_in_days = "7"
}
compartment_id = var.compartment_ocid
db_unique_name = random_string.db_unique_name_adsi_acd.result
display_name = "ACD-TFTest"
freeform_tags = {
"Department" = "Finance"
}
maintenance_window_details {
preference = "NO_PREFERENCE"
}
patch_model = "RELEASE_UPDATES"
service_level_agreement_type = "STANDARD"
version_preference = "LATEST_RELEASE_UPDATE"
is_dst_file_update_enabled = false
}
9 changes: 9 additions & 0 deletions examples/database/exadata_cc/adbd/adsi.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
resource "oci_database_autonomous_database_software_image" "autonomous_database_software_image" {
compartment_id = var.compartment_ocid
display_name = "ADSI-TFTest"
image_shape_family = "EXACC_SHAPE"
source_cdb_id = oci_database_autonomous_container_database.autonomous_container_database.id
freeform_tags = {
"Department" = "Finance"
}
}
1 change: 0 additions & 1 deletion examples/database/exadata_cc/adbd/autonomous_vm_cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ resource "oci_database_autonomous_vm_cluster" "autonomous_vm_cluster_2" {




75 changes: 75 additions & 0 deletions examples/datascience/model_deployment/model_deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ variable "model_deployment_model_deployment_configuration_details_environment_co
variable "model_deployment_model_deployment_configuration_details_environment_configuration_details_server_port" {
}

# For Custom Egress
variable "model_egress_id" {
}

# A model deployment resource configurations for creating a new model deployment with scaling policy type = FIXED SIZE
resource "oci_datascience_model_deployment" "tf_model_deployment" {
# Required
Expand Down Expand Up @@ -425,6 +429,66 @@ resource "oci_datascience_model_deployment" "tf_model_deployment_byoc" {
// freeform_tags = var.model_deployment_freeform_tag
}

# A model deployment resource configurations for creating a new model deployment with Custom Networking
resource "oci_datascience_model_deployment" "tf_model_deployment_custom_networking" {
# Required
compartment_id = var.compartment_ocid
model_deployment_configuration_details {
# Required
deployment_type = var.model_deployment_model_deployment_configuration_details_deployment_type
model_configuration_details {
# Required
instance_configuration {
# Required
instance_shape_name = var.shape

#Optional
model_deployment_instance_shape_config_details {

#Optional
cpu_baseline = var.model_deployment_model_deployment_configuration_details_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_cpu_baseline
memory_in_gbs = var.model_deployment_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_memory_in_gbs
ocpus = var.model_deployment_model_configuration_details_instance_configuration_model_deployment_instance_shape_config_details_ocpus
}

# Required
subnet_id = oci_core_subnet.tf_subnet.id
}
model_id = var.model_egress_id

# Optional
bandwidth_mbps = var.model_deployment_model_deployment_configuration_details_model_configuration_details_bandwidth_mbps
maximum_bandwidth_mbps = var.model_deployment_model_deployment_configuration_details_model_configuration_details_maximum_bandwidth_mbps

scaling_policy {
# Required
instance_count = var.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_instance_count
policy_type = var.model_deployment_model_deployment_configuration_details_model_configuration_details_scaling_policy_policy_type
}
}
}
project_id = var.project_ocid

# Optional
category_log_details {

# Optional
access {
# Required
log_group_id = var.log_group_id
log_id = var.access_log_id
}
predict {
# Required
log_group_id = var.log_group_id
log_id = var.predict_log_id
}
}
# Optional
description = var.model_deployment_description
display_name = var.model_deployment_display_name
}

# The data resource for a list of model deployments in a specified compartment
data "oci_datascience_model_deployments" "tf_model_deployments" {
# Required
Expand All @@ -436,4 +500,15 @@ data "oci_datascience_model_deployments" "tf_model_deployments" {
id = oci_datascience_model_deployment.tf_model_deployment.id
project_id = var.project_ocid
state = var.model_deployment_state
}

resource "oci_core_subnet" "tf_subnet" {
cidr_block = "10.0.0.0/22"
compartment_id = var.compartment_ocid
vcn_id = oci_core_vcn.tf_vcn.id
}

resource "oci_core_vcn" "tf_vcn" {
cidr_block = "10.0.0.0/16"
compartment_id = var.compartment_ocid
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
variable "tenancy_ocid" {
}

variable "region" {
default = "r1"
}

variable "subscription_id" {
default = "10153310"
}


provider "oci" {
auth = "SecurityToken"
config_file_profile = "terraform-federation-test"
region = var.region
}

resource "oci_metering_computation_usage_statement_email_recipients_group" "test_usage_statement_email_recipients_group" {
subscription_id = var.subscription_id
compartment_id = var.tenancy_ocid
recipients_list {
email_id = "[email protected]"
state = "ACTIVE"
}
}
20 changes: 14 additions & 6 deletions examples/opa/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,33 @@ variable "idcs_access_token" {
}

provider "oci" {
tenancy_ocid = var.tenancy_ocid
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
# API key authentication
# tenancy_ocid = var.tenancy_ocid
# user_ocid = var.user_ocid
# fingerprint = var.fingerprint
# private_key_path = var.private_key_path
# region = var.region

# Security token authentication
auth = "SecurityToken"
config_file_profile = "tf"
region = var.region
}

resource "oci_opa_opa_instance" "test_opa_instance" {
compartment_id = "${var.compartment_id}"
consumption_model = "UCM"
display_name = "displayName"
display_name = "opa_instance_tf"
idcs_at = "${var.idcs_access_token}"
metering_type = "EXECUTION_PACK"
shape_name = "PRODUCTION"
is_breakglass_enabled = false
state = "ACTIVE"
}

data "oci_opa_opa_instances" "test_opa_instances" {
compartment_id = "${var.compartment_id}"
display_name = "displayName2"
display_name = "opa_instance_tf"
filter {
name = "id"
values = ["${oci_opa_opa_instance.test_opa_instance.id}"]
Expand Down
Binary file modified examples/zips/adm.zip
Binary file not shown.
Binary file modified examples/zips/aiAnomalyDetection.zip
Binary file not shown.
Binary file modified examples/zips/aiDocument.zip
Binary file not shown.
Binary file modified examples/zips/aiLanguage.zip
Binary file not shown.
Binary file modified examples/zips/aiVision.zip
Binary file not shown.
Binary file modified examples/zips/always_free.zip
Binary file not shown.
Binary file modified examples/zips/analytics.zip
Binary file not shown.
Binary file modified examples/zips/announcements_service.zip
Binary file not shown.
Binary file modified examples/zips/api_gateway.zip
Binary file not shown.
Binary file modified examples/zips/apm.zip
Binary file not shown.
Binary file modified examples/zips/appmgmt_control.zip
Binary file not shown.
Binary file modified examples/zips/artifacts.zip
Binary file not shown.
Binary file modified examples/zips/audit.zip
Binary file not shown.
Binary file modified examples/zips/autoscaling.zip
Binary file not shown.
Binary file modified examples/zips/bastion.zip
Binary file not shown.
Binary file modified examples/zips/big_data_service.zip
Binary file not shown.
Binary file modified examples/zips/blockchain.zip
Binary file not shown.
Binary file modified examples/zips/budget.zip
Binary file not shown.
Binary file modified examples/zips/capacity_management.zip
Binary file not shown.
Binary file modified examples/zips/certificatesManagement.zip
Binary file not shown.
Binary file modified examples/zips/cloudBridge.zip
Binary file not shown.
Binary file modified examples/zips/cloudMigrations.zip
Binary file not shown.
Binary file modified examples/zips/cloudguard.zip
Binary file not shown.
Binary file modified examples/zips/compute.zip
Binary file not shown.
Binary file modified examples/zips/computecloudatcustomer.zip
Binary file not shown.
Binary file modified examples/zips/computeinstanceagent.zip
Binary file not shown.
Binary file modified examples/zips/concepts.zip
Binary file not shown.
Binary file modified examples/zips/container_engine.zip
Binary file not shown.
Binary file modified examples/zips/container_instances.zip
Binary file not shown.
Binary file modified examples/zips/database.zip
Binary file not shown.
Binary file modified examples/zips/databaseTools.zip
Binary file not shown.
Binary file modified examples/zips/databasemanagement.zip
Binary file not shown.
Binary file modified examples/zips/databasemigration.zip
Binary file not shown.
Binary file modified examples/zips/datacatalog.zip
Binary file not shown.
Binary file modified examples/zips/dataflow.zip
Binary file not shown.
Binary file modified examples/zips/dataintegration.zip
Binary file not shown.
Binary file modified examples/zips/datalabeling.zip
Binary file not shown.
Binary file modified examples/zips/datasafe.zip
Binary file not shown.
Binary file modified examples/zips/datascience.zip
Binary file not shown.
Binary file modified examples/zips/devops.zip
Binary file not shown.
Binary file modified examples/zips/disaster_recovery.zip
Binary file not shown.
Binary file modified examples/zips/dns.zip
Binary file not shown.
Binary file modified examples/zips/em_warehouse.zip
Binary file not shown.
Binary file modified examples/zips/email.zip
Binary file not shown.
Binary file modified examples/zips/events.zip
Binary file not shown.
Binary file modified examples/zips/fast_connect.zip
Binary file not shown.
Binary file modified examples/zips/functions.zip
Binary file not shown.
Binary file modified examples/zips/fusionapps.zip
Binary file not shown.
Binary file modified examples/zips/generative_ai.zip
Binary file not shown.
Binary file modified examples/zips/goldengate.zip
Binary file not shown.
Binary file modified examples/zips/health_checks.zip
Binary file not shown.
Binary file modified examples/zips/id6.zip
Binary file not shown.
Binary file modified examples/zips/identity.zip
Binary file not shown.
Binary file modified examples/zips/identity_data_plane.zip
Binary file not shown.
Binary file modified examples/zips/identity_domains.zip
Binary file not shown.
Binary file modified examples/zips/integration.zip
Binary file not shown.
Binary file modified examples/zips/jms.zip
Binary file not shown.
Binary file modified examples/zips/jms_java_downloads.zip
Binary file not shown.
Binary file modified examples/zips/kms.zip
Binary file not shown.
Binary file modified examples/zips/license_manager.zip
Binary file not shown.
Binary file modified examples/zips/limits.zip
Binary file not shown.
Binary file modified examples/zips/load_balancer.zip
Binary file not shown.
Binary file modified examples/zips/log_analytics.zip
Binary file not shown.
Binary file modified examples/zips/logging.zip
Binary file not shown.
Binary file modified examples/zips/management_agent.zip
Binary file not shown.
Binary file modified examples/zips/management_dashboard.zip
Binary file not shown.
Binary file modified examples/zips/marketplace.zip
Binary file not shown.
Binary file modified examples/zips/media_services.zip
Binary file not shown.
Binary file modified examples/zips/metering_computation.zip
Binary file not shown.
Binary file modified examples/zips/monitoring.zip
Binary file not shown.
Binary file modified examples/zips/mysql.zip
Binary file not shown.
Binary file modified examples/zips/network_firewall.zip
Binary file not shown.
Binary file modified examples/zips/network_load_balancer.zip
Binary file not shown.
Binary file modified examples/zips/networking.zip
Binary file not shown.
Binary file modified examples/zips/nosql.zip
Binary file not shown.
Binary file modified examples/zips/notifications.zip
Binary file not shown.
Binary file modified examples/zips/object_storage.zip
Binary file not shown.
Binary file modified examples/zips/ocvp.zip
Binary file not shown.
Binary file modified examples/zips/onesubscription.zip
Binary file not shown.
Binary file modified examples/zips/opa.zip
Binary file not shown.
Binary file modified examples/zips/opensearch.zip
Binary file not shown.
Binary file modified examples/zips/operator_access_control.zip
Binary file not shown.
Binary file modified examples/zips/opsi.zip
Binary file not shown.
Binary file modified examples/zips/optimizer.zip
Binary file not shown.
Binary file modified examples/zips/oracle_cloud_vmware_solution.zip
Binary file not shown.
Binary file modified examples/zips/oracle_content_experience.zip
Binary file not shown.
Binary file modified examples/zips/oracle_digital_assistant.zip
Binary file not shown.
Binary file modified examples/zips/os_management_hub.zip
Binary file not shown.
Binary file modified examples/zips/osmanagement.zip
Binary file not shown.
Binary file modified examples/zips/osp_gateway.zip
Binary file not shown.
Binary file modified examples/zips/osub_billing_schedule.zip
Binary file not shown.
Binary file modified examples/zips/osub_organization_subscription.zip
Binary file not shown.
Binary file modified examples/zips/osub_subscription.zip
Binary file not shown.
Binary file modified examples/zips/osub_usage.zip
Binary file not shown.
Binary file modified examples/zips/pic.zip
Binary file not shown.
Binary file modified examples/zips/psql.zip
Binary file not shown.
Binary file modified examples/zips/queue.zip
Binary file not shown.
Binary file modified examples/zips/recovery.zip
Binary file not shown.
Binary file modified examples/zips/redis.zip
Binary file not shown.
Binary file modified examples/zips/resourcemanager.zip
Binary file not shown.
Binary file modified examples/zips/serviceManagerProxy.zip
Binary file not shown.
Binary file modified examples/zips/service_catalog.zip
Binary file not shown.
Binary file modified examples/zips/service_connector_hub.zip
Binary file not shown.
Binary file modified examples/zips/service_mesh.zip
Binary file not shown.
Binary file modified examples/zips/stack_monitoring.zip
Binary file not shown.
Binary file modified examples/zips/storage.zip
Binary file not shown.
Binary file modified examples/zips/streaming.zip
Binary file not shown.
Binary file modified examples/zips/usage_proxy.zip
Binary file not shown.
Binary file modified examples/zips/vault_secret.zip
Binary file not shown.
Binary file modified examples/zips/vbs_inst.zip
Binary file not shown.
Binary file modified examples/zips/visual_builder.zip
Binary file not shown.
Binary file modified examples/zips/vn_monitoring.zip
Binary file not shown.
Binary file modified examples/zips/vulnerability_scanning_service.zip
Binary file not shown.
Binary file modified examples/zips/web_app_acceleration.zip
Binary file not shown.
Binary file modified examples/zips/web_app_firewall.zip
Binary file not shown.
Binary file modified examples/zips/web_application_acceleration_and_security.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ require (
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/oracle/oci-go-sdk/v65 v65.63.1
github.com/oracle/oci-go-sdk/v65 v65.63.2
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sony/gobreaker v0.5.0 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/oracle/oci-go-sdk/v65 v65.63.1 h1:dYL7sk9L1+C9LCmoq+zjPMNteuJJfk54YExq/4pV9xQ=
github.com/oracle/oci-go-sdk/v65 v65.63.1/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0=
github.com/oracle/oci-go-sdk/v65 v65.63.2 h1:wFuw//K6d6jGsU46fiWCF3R1WbwaDdsf6xA7jEG8sJM=
github.com/oracle/oci-go-sdk/v65 v65.63.2/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0=
github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
4 changes: 2 additions & 2 deletions internal/globalvar/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"log"
)

const Version = "5.37.0"
const ReleaseDate = "2024-04-10"
const Version = "5.38.0"
const ReleaseDate = "2024-04-17"

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

0 comments on commit f4f8330

Please sign in to comment.