Skip to content

Commit a489357

Browse files
authored
Release merge v3.54.0
Release merge v3.54.0
2 parents 5e2b16c + 5a16d12 commit a489357

File tree

100 files changed

+907
-298
lines changed

Some content is hidden

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

100 files changed

+907
-298
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
## 3.53.1 (Unreleased)
1+
## 3.54.0 (Unreleased)
2+
3+
### Added
4+
- Support for Autonomous Database maintenance window
5+
- Support for `oci_database_autonomous_exadata_infrastructure_ocpu` datasource to get details of the OCPUs for the specified Autonomous Exadata Infrastructure instance
6+
7+
### Fixed
8+
- Fixes an issue in resource discovery when duplicates of the same service are specified to the `-services` argument
9+
- Support and validation for the `ike_version`, `routing` attributes in `oci_core_ipsec_connection_tunnel_management` resource
10+
211
## 3.53.0 (November 20, 2019)
312

413
### Added

examples/compute/cluster_network/cluster_network.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ resource "oci_core_vcn" "test_vcn" {
2727
}
2828

2929
resource "oci_core_route_table" "test_route_table" {
30-
compartment_id = "${var.compartment_id}"
30+
compartment_id = "${var.compartment_ocid}"
3131
vcn_id = "${oci_core_vcn.test_vcn.id}"
3232
display_name = "TestRouteTable"
3333
}
3434

3535
resource "oci_core_subnet" "test_subnet" {
3636
availability_domain = "${lower("${data.oci_identity_availability_domains.test_availability_domains.availability_domains.0.name}")}"
3737
cidr_block = "10.0.2.0/24"
38-
compartment_id = "${var.compartment_id}"
38+
compartment_id = "${var.compartment_ocid}"
3939
dhcp_options_id = "${oci_core_vcn.test_vcn.default_dhcp_options_id}"
4040
display_name = "TestSubnet"
4141
dns_label = "dnslabel"
@@ -59,7 +59,7 @@ variable "InstanceImageOCID" {
5959
}
6060

6161
resource "oci_core_network_security_group" "test_network_security_group1" {
62-
compartment_id = "${var.compartment_id}"
62+
compartment_id = "${var.compartment_ocid}"
6363
vcn_id = "${oci_core_vcn.test_vcn.id}"
6464
}
6565

@@ -72,7 +72,7 @@ resource "oci_core_instance_configuration" "test_instance_configuration" {
7272

7373
launch_details {
7474
availability_domain = "${data.oci_identity_availability_domains.test_availability_domains.availability_domains.0.name}"
75-
compartment_id = "${var.compartment_id}"
75+
compartment_id = "${var.compartment_ocid}"
7676

7777
create_vnic_details {
7878
assign_public_ip = "false"
@@ -112,7 +112,7 @@ resource "oci_core_instance_configuration" "test_instance_configuration" {
112112
}
113113

114114
resource "oci_core_cluster_network" "test_cluster_network" {
115-
compartment_id = "${var.compartment_id}"
115+
compartment_id = "${var.compartment_ocid}"
116116
display_name = "hpc-cluster-network"
117117

118118
instance_pools {

examples/compute/image/image.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ variable "private_key_path" {}
1515
variable "region" {}
1616
variable "compartment_ocid" {}
1717
variable "ssh_public_key" {}
18-
variable "shape" {}
1918

2019
variable "instance_image_ocid" {
2120
type = "map"
@@ -72,7 +71,7 @@ resource "oci_core_image" "custom_image" {
7271
resource "oci_core_shape_management" "compatible_shape" {
7372
compartment_id = "${var.compartment_ocid}"
7473
image_id = "${oci_core_image.custom_image.id}"
75-
shape_name = "${var.shape}"
74+
shape_name = "VM.Standard2.1"
7675
}
7776

7877
resource "oci_core_vcn" "test_vcn" {

examples/database/atp-d/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ data "oci_database_autonomous_databases" "autonomous_databases" {
7070
db_workload = "OLTP"
7171
}
7272

73+
data "oci_database_autonomous_exadata_infrastructure_ocpu" "test_autonomous_exadata_infrastructure_ocpu" {
74+
#Required
75+
autonomous_exadata_infrastructure_id = "${oci_database_autonomous_exadata_infrastructure.test_autonomous_exadata_infrastructure.id}"
76+
}
77+
78+
output "autonomous_database_consumed_cpu" {
79+
value = "${data.oci_database_autonomous_exadata_infrastructure_ocpu.test_autonomous_exadata_infrastructure_ocpu.consumed_cpu}"
80+
}
81+
7382
output "autonomous_database_admin_password" {
7483
value = "${random_string.autonomous_database_admin_password.result}"
7584
}

examples/database/db_systems/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ variable "db_version" {
4545
}
4646

4747
variable "db_home_display_name" {
48-
default = "MyTFDBHome"
48+
default = "MyTFDBHome1"
4949
}
5050

5151
variable "db_disk_redundancy" {

examples/database/exadata_cc/activation.zip

Whitespace-only changes.

examples/pic/agreement/app_catalog_listing_resource_version_agreement.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
22

3-
data "oci_core_app_catalog_listings" "test_app_catalog_listings" {
4-
filter {
5-
name = "publisher_name"
6-
values = ["Oracle CCE Image Management Pipeline"]
7-
}
8-
}
3+
data "oci_core_app_catalog_listings" "test_app_catalog_listings" {}
94

105
data "oci_core_app_catalog_listing_resource_versions" "test_app_catalog_listing_resource_versions" {
116
#Required

examples/pic/resource_version/app_catalog_listing_resource_version.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
22

3-
data "oci_core_app_catalog_listings" "test_app_catalog_listings" {
4-
filter {
5-
name = "publisher_name"
6-
values = ["Oracle CCE Image Management Pipeline"]
7-
}
8-
}
3+
data "oci_core_app_catalog_listings" "test_app_catalog_listings" {}
94

105
data "oci_core_app_catalog_listing_resource_versions" "test_app_catalog_listing_resource_versions" {
116
#Required

examples/waas/waas_full.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,11 @@ data "oci_waas_custom_protection_rules" "test_custom_protection_rules" {
396396
resource "oci_waas_http_redirect" "test_http_redirect" {
397397
#Required
398398
compartment_id = "${var.compartment_ocid}"
399-
domain = "example.net"
399+
domain = "example.com"
400400

401401
target {
402402
#Required
403-
host = "example.com"
403+
host = "example.net"
404404
path = "/test{path}"
405405
protocol = "HTTP"
406406
query = "{query}"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
77
github.com/hashicorp/terraform v0.12.4-0.20190628193153-a74738cd35fc
88
github.com/mitchellh/cli v1.0.0
9-
github.com/oracle/oci-go-sdk v12.5.0+incompatible
9+
github.com/oracle/oci-go-sdk v13.0.0+incompatible
1010
github.com/stretchr/objx v0.1.1 // indirect
1111
github.com/stretchr/testify v1.3.0
1212
gopkg.in/yaml.v2 v2.2.2

0 commit comments

Comments
 (0)