Skip to content

Commit

Permalink
Merge pull request #1764 from oracle/release_gh
Browse files Browse the repository at this point in the history
Releasing version 4.108.0
  • Loading branch information
MeharwadeDivya authored Feb 15, 2023
2 parents 1d37ada + 73baccf commit c29885d
Show file tree
Hide file tree
Showing 837 changed files with 19,591 additions and 605 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.108.0 (February 15, 2023)

### Added
- Support for Visual Builder Studio
- Support for ADB-C@C | Node Subsetting
- Support for Recovery Cloud Service Onboarding
- Resource discovery for

## 4.107.0 (February 08, 2023)

### Added
Expand Down
4 changes: 4 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ This directory contains Terraform configuration files showing how to create spec
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/pic.zip)
- queue
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/queue.zip)
- recovery
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/recovery.zip)
- resourcemanager
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/resourcemanager.zip)
- serviceManagerProxy
Expand All @@ -199,6 +201,8 @@ This directory contains Terraform configuration files showing how to create spec
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/usage_proxy.zip)
- vault_secret
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/vault_secret.zip)
- vbs_inst
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/vbs_inst.zip)
- visual_builder
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/visual_builder.zip)
- vn_monitoring
Expand Down
1 change: 1 addition & 0 deletions examples/database/exadata_cc/adbd/autonomous_vm_cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
resource "oci_database_autonomous_vm_cluster" "test_autonomous_vm_cluster" {
#Required
compartment_id = var.compartment_ocid
db_servers = [data.oci_database_db_servers.test_db_servers.db_servers.0.id, data.oci_database_db_servers.test_db_servers.db_servers.1.id]
display_name = "autonomousVmCluster"
exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
vm_cluster_network_id = oci_database_vm_cluster_network.test_vm_cluster_network.id
Expand Down
11 changes: 11 additions & 0 deletions examples/database/exadata_cc/adbd/datasources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,15 @@ data "oci_database_exadata_infrastructures" "test_exadata_infrastructures" {
#Required
compartment_id = var.compartment_ocid
}
variable "autonomous_virtual_machine_state" {
default = "AVAILABLE"
}

data "oci_database_autonomous_virtual_machines" "test_autonomous_virtual_machines" {
#Required
autonomous_vm_cluster_id = oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id
compartment_id = var.compartment_ocid

#Optional
state = var.autonomous_virtual_machine_state
}
12 changes: 12 additions & 0 deletions examples/database/exadata_cc/autonomous_virtual_machine.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
variable "autonomous_virtual_machine_state" {
default = "AVAILABLE"
}

data "oci_database_autonomous_virtual_machines" "test_autonomous_virtual_machines" {
#Required
autonomous_vm_cluster_id = oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id
compartment_id = var.compartment_id

#Optional
state = var.autonomous_virtual_machine_state
}
6 changes: 3 additions & 3 deletions examples/marketplace/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ provider "oci" {

resource "oci_marketplace_accepted_agreement" "test_accepted_agreement" {
#Required
agreement_id = oci_marketplace_listing_package_agreement.test_listing_package_agreement.agreement_id
agreement_id = data.oci_marketplace_listing_package_agreement.test_listing_package_agreement.agreement_id
compartment_id = var.compartment_ocid
listing_id = data.oci_marketplace_listing.test_listing.id
package_version = data.oci_marketplace_listing.test_listing.default_package_version
signature = oci_marketplace_listing_package_agreement.test_listing_package_agreement.signature
signature = data.oci_marketplace_listing_package_agreement.test_listing_package_agreement.signature
}

resource "oci_marketplace_listing_package_agreement" "test_listing_package_agreement" {
data "oci_marketplace_listing_package_agreement" "test_listing_package_agreement" {
#Required
agreement_id = data.oci_marketplace_listing_package_agreements.test_listing_package_agreements.agreements[0].id
listing_id = data.oci_marketplace_listing.test_listing.id
Expand Down
6 changes: 6 additions & 0 deletions examples/recovery/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Overview
This is a Terraform configuration that creates the `recovery` service on Oracle Cloud Infrastructure.

The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
## Magic Button
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/recovery.zip)
4 changes: 4 additions & 0 deletions examples/recovery/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Overview
This is a Terraform configuration that creates the `recovery` service on Oracle Cloud Infrastructure.

The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
20 changes: 20 additions & 0 deletions examples/recovery/network.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

resource "oci_core_vcn" "test_vcn" {
cidr_block = "10.0.0.0/16"
compartment_id = var.compartment_id
display_name = "exampleVCN"
dns_label = "tfexamplevcn"
}

resource "oci_core_subnet" "test_subnet" {
cidr_block = "10.0.0.0/24"
display_name = "tfexampleSubnet"
dns_label = "tfexampleSubnet"
compartment_id = var.compartment_id
vcn_id = oci_core_vcn.test_vcn.id
security_list_ids = [oci_core_vcn.test_vcn.default_security_list_id]
route_table_id = oci_core_vcn.test_vcn.default_route_table_id
dhcp_options_id = oci_core_vcn.test_vcn.default_dhcp_options_id
}
75 changes: 75 additions & 0 deletions examples/recovery/protected_database.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "protected_database_database_size" {
default = "XS"
}

variable "protected_database_db_unique_name" {
default = "dbUniqueName"
}

variable "protected_database_defined_tags_value" {
default = "value"
}

variable "protected_database_display_name" {
default = "displayName"
}

variable "database_id" {
default = "database-id"
}

variable "protected_database_freeform_tags" {
default = { "bar-key" = "value" }
}

variable "protected_database_id" {
default = "id"
}

variable "protected_database_is_redo_logs_shipped" {
default = false
}

variable "protected_database_password" {
default = "BEstrO0ng_secret#11"
}

variable "protected_database_state" {
default = "ACTIVE"
}


resource "oci_recovery_protected_database" "test_protected_database" {
#Required
compartment_id = var.compartment_id
db_unique_name = var.protected_database_db_unique_name
display_name = var.protected_database_display_name
password = var.protected_database_password
protection_policy_id = oci_recovery_protection_policy.test_protection_policy.id
recovery_service_subnets {
#Required
recovery_service_subnet_id = oci_recovery_recovery_service_subnet.test_recovery_service_subnet.id
}

#Optional
database_id = var.database_id
database_size = var.protected_database_database_size
freeform_tags = var.protected_database_freeform_tags
is_redo_logs_shipped = var.protected_database_is_redo_logs_shipped
}

data "oci_recovery_protected_databases" "test_protected_databases" {
#Required
compartment_id = var.compartment_id

#Optional
display_name = var.protected_database_display_name
id = var.protected_database_id
protection_policy_id = oci_recovery_protection_policy.test_protection_policy.id
recovery_service_subnet_id = oci_recovery_recovery_service_subnet.test_recovery_service_subnet.id
state = var.protected_database_state
}

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


variable "protected_database_fetch_configuration_configuration_type" {
default = "ALL"
}

data "oci_recovery_protected_database_fetch_configuration" "test_protected_database_fetch_configuration" {
#Required
protected_database_id = oci_recovery_protected_database.test_protected_database.id

#Optional
configuration_type = var.protected_database_fetch_configuration_configuration_type
base64_encode_content = true
}

resource "local_sensitive_file" "downloaded_configuration" {
filename = "${path.module}/configuration.zip"
content_base64 = data.oci_recovery_protected_database_fetch_configuration.test_protected_database_fetch_configuration.content
}
44 changes: 44 additions & 0 deletions examples/recovery/protection_policy.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "protection_policy_backup_retention_period_in_days" {
default = 10
}

variable "protection_policy_display_name" {
default = "displayName"
}

variable "protection_policy_freeform_tags" {
default = { "bar-key" = "value" }
}

variable "protection_policy_owner" {
default = "customer"
}

variable "protection_policy_state" {
default = "ACTIVE"
}


resource "oci_recovery_protection_policy" "test_protection_policy" {
#Required
backup_retention_period_in_days = var.protection_policy_backup_retention_period_in_days
compartment_id = var.compartment_id
display_name = var.protection_policy_display_name

#Optional
freeform_tags = var.protection_policy_freeform_tags
}

data "oci_recovery_protection_policies" "test_protection_policies" {
#Required
compartment_id = var.compartment_id

#Optional
display_name = var.protection_policy_display_name
owner = var.protection_policy_owner
protection_policy_id = oci_recovery_protection_policy.test_protection_policy.id
state = var.protection_policy_state
}
18 changes: 18 additions & 0 deletions examples/recovery/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright (c) 2017, 2021, 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" {}


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
}
46 changes: 46 additions & 0 deletions examples/recovery/recovery_service_subnet.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "recovery_service_subnet_defined_tags_value" {
default = "value"
}

variable "recovery_service_subnet_display_name" {
default = "displayName"
}

variable "recovery_service_subnet_freeform_tags" {
default = { "bar-key" = "value" }
}

variable "recovery_service_subnet_id" {
default = "id"
}

variable "recovery_service_subnet_state" {
default = "ACTIVE"
}


resource "oci_recovery_recovery_service_subnet" "test_recovery_service_subnet" {
#Required
compartment_id = var.compartment_id
display_name = var.recovery_service_subnet_display_name
subnet_id = oci_core_subnet.test_subnet.id
vcn_id = oci_core_vcn.test_vcn.id

#Optional
freeform_tags = var.recovery_service_subnet_freeform_tags
}

data "oci_recovery_recovery_service_subnets" "test_recovery_service_subnets" {
#Required
compartment_id = var.compartment_id

#Optional
display_name = var.recovery_service_subnet_display_name
id = var.recovery_service_subnet_id
state = var.recovery_service_subnet_state
vcn_id = oci_core_vcn.test_vcn.id
}

6 changes: 6 additions & 0 deletions examples/vbs_inst/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Overview
This is a Terraform configuration that creates the `vbs_inst` service on Oracle Cloud Infrastructure.

The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
## Magic Button
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/vbs_inst.zip)
4 changes: 4 additions & 0 deletions examples/vbs_inst/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Overview
This is a Terraform configuration that creates the `vbs_inst` service on Oracle Cloud Infrastructure.

The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
Loading

0 comments on commit c29885d

Please sign in to comment.