Skip to content

Commit af62833

Browse files
authored
Merge pull request #1390 from terraform-providers/release_gh
Releasing version 4.30.0
2 parents cffcac6 + 9fcbb16 commit af62833

File tree

1,602 files changed

+226420
-43555
lines changed

Some content is hidden

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

1,602 files changed

+226420
-43555
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.12.3
1+
1.15.5
22

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
- docker
55
language: go
66
go:
7-
- "1.12.3"
7+
- "1.15.5"
88

99
install:
1010
# This script is used by the Travis build to install a cookie for

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 4.30.0 (Unreleased)
2+
3+
### Added
4+
- Support for Higher performance volumes added to `core`
5+
- Support for End-to-end encryption for Bare Metal hosts to `core`
6+
- Support for Java Management Service
7+
8+
### Fixed
9+
- Removed `oci_artifacts_container_configuration` from resource discovery due to its non-applicability.
10+
- Fix documentation for `oci_mysql_heat_wave_cluster` and `oci_core_drg_attachment`
11+
112
## 4.29.0 (June 02, 2021)
213

314
### Added

GNUmakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ sweep: fmtcheck gomodenv
3434
testacc: build
3535
TF_ACC=1 $(prefix) go test $(TEST) -v $(TESTARGS) $(run_regex) $(test_tags) -timeout $(timeout)
3636

37+
localinstall:
38+
mkdir -p $(GOPATH)/bin/registry.terraform.io/hashicorp/oci/1.0.0/darwin_amd64
39+
cp $(GOPATH)/bin/terraform-provider-oci $(HOME)/.terraform.d/plugins/registry.terraform.io/hashicorp/oci/1.0.0/darwin_amd64
40+
cp $(GOPATH)/bin/terraform-provider-oci $(GOPATH)/bin/registry.terraform.io/hashicorp/oci/1.0.0/darwin_amd64
41+
3742
vet:
3843
@echo "go vet ."
3944
@go vet $$(go list ./... | grep -v vendor/) ; if [ $$? -ne 0 ]; then \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Requirements
2020
------------
2121

2222
- [Terraform](https://www.terraform.io/downloads.html) v0.10.1 or greater
23-
- [Go](https://golang.org/doc/install) 1.12.3 (recommended)
23+
- [Go](https://golang.org/doc/install) 1.15.5 (recommended)
2424

25-
Note: You may use any version 1.8 or above to build the provider. However, the `goimports`, `go vet`, and `gofmt` code checks will only pass when using version 1.12.
25+
Note: You may use any version 1.8 or above to build the provider. However, the `goimports`, `go vet`, and `gofmt` code checks will only pass when using version 1.15.
2626

2727

2828
Building the Provider

examples/database/db_systems/db_exacs/resources.tf

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,27 @@ resource "oci_database_db_home" "test_db_home_vm_cluster" {
3131

3232
database {
3333
admin_password = "BEstrO0ng_#11"
34-
backup_id = oci_database_backup.test_backup.id
35-
backup_tde_password = "BEstrO0ng_#11"
3634
db_name = "dbVMClus"
3735
character_set = "AL32UTF8"
3836
ncharacter_set = "AL16UTF16"
3937
db_workload = "OLTP"
4038
pdb_name = "pdbName"
41-
39+
db_backup_config {
40+
auto_backup_enabled = false
41+
}
4242
freeform_tags = {
4343
"Department" = "Finance"
4444
}
4545
}
4646

47-
# VM_CLUSTER_NONE can also be specified as a source for cloud VM clusters.
48-
source = "VM_CLUSTER_BACKUP"
47+
# VM_CLUSTER_BACKUP can also be specified as a source for cloud VM clusters.
48+
source = "VM_CLUSTER_NEW"
49+
db_version = "19.0.0.0"
4950
display_name = "createdDbHome"
5051
}
5152

5253
resource "oci_database_backup" "test_backup" {
5354
depends_on = ["oci_database_db_home.test_db_home_vm_cluster"]
54-
database_id = oci_database_db_home.test_db_home_vm_cluster.database.id
55+
database_id = oci_database_db_home.test_db_home_vm_cluster.database.0.id
5556
display_name = "FirstBackup"
5657
}

examples/jms/fleet.tf

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Copyright (c) 2017, 2021, 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+
variable "fleet_description" {
12+
default = "Example Fleet created by Terraform"
13+
}
14+
15+
variable "fleet_display_name" {
16+
default = "Example Fleet"
17+
}
18+
19+
variable "fleet_freeform_tags" {
20+
default = { "bar-key" = "value" }
21+
}
22+
23+
variable "fleet_defined_tags" {
24+
default = { "example-tag-namespace-all.example-tag" = "value" }
25+
}
26+
27+
variable "fleet_id" {
28+
default = "id"
29+
}
30+
31+
variable "fleet_state" {
32+
default = "ACTIVE"
33+
}
34+
35+
provider "oci" {
36+
tenancy_ocid = var.tenancy_ocid
37+
user_ocid = var.user_ocid
38+
fingerprint = var.fingerprint
39+
private_key_path = var.private_key_path
40+
region = var.region
41+
}
42+
43+
resource "oci_jms_fleet" "example_fleet" {
44+
#Required
45+
compartment_id = var.compartment_ocid
46+
display_name = var.fleet_display_name
47+
48+
#Optional
49+
description = var.fleet_description
50+
freeform_tags = var.fleet_freeform_tags
51+
52+
# Create the Tag namespace in OCI before enabling
53+
# See user guide: https://docs.oracle.com/en-us/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm
54+
# defined_tags = var.fleet_defined_tags
55+
}
56+
57+
data "oci_jms_fleets" "example_fleets" {
58+
59+
#Optional
60+
compartment_id = var.compartment_ocid
61+
display_name = var.fleet_display_name
62+
id = var.fleet_id
63+
state = var.fleet_state
64+
}

go.mod

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ require (
44
github.com/fatih/color v1.7.0
55
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce // indirect
66
github.com/hashicorp/hcl2 v0.0.0-20190618163856-0b64543c968c
7-
github.com/hashicorp/terraform-exec v0.6.0
8-
github.com/hashicorp/terraform-plugin-sdk v1.15.0
9-
github.com/oracle/oci-go-sdk/v41 v41.1.0
10-
github.com/stretchr/objx v0.1.1 // indirect
11-
github.com/stretchr/testify v1.6.1
7+
github.com/hashicorp/terraform-exec v0.13.3
8+
github.com/hashicorp/terraform-plugin-sdk v1.17.2
9+
github.com/oracle/oci-go-sdk/v41 v41.2.0
10+
github.com/stretchr/testify v1.7.0
1211
golang.org/x/mod v0.3.0
13-
gopkg.in/yaml.v2 v2.2.2
12+
gopkg.in/yaml.v2 v2.3.0
1413
)
1514

1615
// Uncomment this line to get OCI Go SDK from local source instead of github

0 commit comments

Comments
 (0)