Skip to content

Commit 7f34c4e

Browse files
committed
Merge branch 'master' of ssh://bitbucket.oci.oraclecorp.com:7999/orc/terraform-provider into release_gh
2 parents d224d50 + 2fb30a8 commit 7f34c4e

File tree

152 files changed

+8521
-378
lines changed

Some content is hidden

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

152 files changed

+8521
-378
lines changed

.go-version

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
1.18.8
2-
1+
1.20.7

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 5.13.0 (Unreleased)
2+
3+
### Added
4+
- Support for DBM Service: Database Management SQL Tuning Sets
5+
- Support for ADB-S: ADB Service Name Change to Serverless
6+
- Support for Stack Monitoring: Auto-Promotion of Hosts
7+
- Support for LifecycleDetails in Data catalog Data assets resources
8+
- Support for Terraform for Serial Console Phase 1 ExaDB-C@C (EXACC) Serial Console Access to VM
9+
- Support for refreshing security token auth
10+
### Bug Fix
11+
- Fixed documentation errors for VCNCP
12+
113
## 5.12.0 (September 06, 2023)
214

315
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
## Requirements
1616

1717
- [Terraform](https://www.terraform.io/downloads.html) v0.12.31 or greater
18-
- [Go](https://golang.org/doc/install) 1.18.8 (recommended)
18+
- [Go](https://golang.org/doc/install) 1.20.7 (recommended)
1919

2020

2121
## Building the Provider

examples/database/adb/autonomous_database.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ resource "oci_database_autonomous_database" "autonomous_database_private_ip" {
229229
nsg_ids = ["test-bn-nsg-id-1"]
230230
}
231231

232+
data "oci_database_autonomous_database_character_sets" "autonomous_databases_character_sets" {
233+
#Optional
234+
character_set_type = var.autonomous_database_character_set_character_set_type
235+
is_shared = var.autonomous_database_character_set_is_shared
236+
is_dedicated = var.autonomous_database_character_set_is_dedicated
237+
}
238+
232239
data "oci_database_autonomous_databases" "autonomous_databases" {
233240
#Required
234241
compartment_id = var.compartment_ocid

examples/database/adb/variables.tf

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,18 @@ variable "autonomous_database_character_set" {
5959

6060
variable "autonomous_database_ncharacter_set" {
6161
default = "AL16UTF16"
62-
}
62+
}
63+
64+
variable "autonomous_database_character_set_character_set_type" {
65+
default = "DATABASE"
66+
}
67+
68+
variable "autonomous_database_character_set_is_shared" {
69+
default = true
70+
71+
}
72+
73+
variable "autonomous_database_character_set_is_dedicated" {
74+
default = false
75+
}
76+

examples/databasemanagement/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ resource "oci_database_management_managed_database_group" "test_managed_database
212212
}
213213
}
214214

215+
data "oci_database_management_managed_database_sql_tuning_sets" "test_managed_database_sql_tuning_sets" {
216+
#Required
217+
managed_database_id = oci_database_management_managed_database.test_managed_database.id
218+
219+
#Optional
220+
name_contains = var.managed_database_sql_tuning_set_name_contains
221+
owner = var.managed_database_sql_tuning_set_owner
222+
}
223+
215224
data "oci_database_management_managed_database_groups" "test_managed_database_groups_with_id" {
216225
#Required
217226
compartment_id = var.compartment_id
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Copyright (c) 2017, 2023, 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+
variable "compartment_ocid" {}
10+
11+
provider "oci" {
12+
tenancy_ocid = var.tenancy_ocid
13+
user_ocid = var.user_ocid
14+
fingerprint = var.fingerprint
15+
private_key_path = var.private_key_path
16+
region = var.region
17+
}
18+
19+
resource "oci_stack_monitoring_config" "test_config_autopromote" {
20+
compartment_id = var.compartment_ocid
21+
config_type = "AUTO_PROMOTE"
22+
resource_type = "HOST"
23+
is_enabled = true
24+
}

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ require (
5353
github.com/mitchellh/mapstructure v1.1.2 // indirect
5454
github.com/mitchellh/reflectwalk v1.0.2 // indirect
5555
github.com/oklog/run v1.0.0 // indirect
56-
github.com/oracle/oci-go-sdk/v65 v65.49.0
56+
github.com/oracle/oci-go-sdk/v65 v65.49.1
5757
github.com/pmezard/go-difflib v1.0.0 // indirect
5858
github.com/sony/gobreaker v0.5.0 // indirect
5959
github.com/ulikunitz/xz v0.5.8 // indirect
@@ -78,4 +78,4 @@ require (
7878
// Uncomment this line to get OCI Go SDK from local source instead of github
7979
//replace github.com/oracle/oci-go-sdk => ../../oracle/oci-go-sdk
8080

81-
go 1.18
81+
go 1.20

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ
289289
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
290290
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
291291
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
292-
github.com/oracle/oci-go-sdk/v65 v65.49.0 h1:A/G4SuzLixNy43DsXj9Vok9TygRZRX15I62ebGTHj2Y=
293-
github.com/oracle/oci-go-sdk/v65 v65.49.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0=
292+
github.com/oracle/oci-go-sdk/v65 v65.49.1 h1:2c2txRWdeNNCVWO+4vJao4cq0MOCIZoRGVw5u6rcvlk=
293+
github.com/oracle/oci-go-sdk/v65 v65.49.1/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0=
294294
github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
295295
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
296296
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

internal/globalvar/constants.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const (
2020
TestTerraformCLIVersion = "test"
2121
UserAgentFormatter = "Oracle-GoSDK/%s (go/%s; %s/%s; terraform/%s; terraform-cli/%s) %s/%s"
2222
UserAgentProviderNameEnv = "USER_AGENT_PROVIDER_NAME"
23+
UserAgentTerraformNameEnv = "TF_APPEND_USER_AGENT"
24+
UserAgentSDKNameEnv = "OCI_SDK_APPEND_USER_AGENT"
2325
DomainNameOverrideEnv = "domain_name_override"
2426
HasCorrectDomainNameEnv = "has_correct_domain_name"
2527
ClientHostOverridesEnv = "CLIENT_HOST_OVERRIDES"

0 commit comments

Comments
 (0)