Skip to content

Commit e57435b

Browse files
authored
Merge pull request #950 from terraform-providers/release_merge_v3.57.0
Candidate for release_v3.57.0
2 parents bc2b5c7 + a9a59fe commit e57435b

File tree

96 files changed

+822
-223
lines changed

Some content is hidden

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

96 files changed

+822
-223
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
## 3.56.1 (Unreleased)
1+
## 3.57.0 (Unreleased)
2+
3+
### Added
4+
- Support for change in `corporate_proxy` parameter in `oci_database_exadata_infrastructure`
5+
- Support for `maintenance_window_details` attribute in `database_autonomous_container_database` resource and datasource
6+
7+
### Fixed
8+
- Support of the deprecated `node_image_id`, `node_image_name` attributes in `oci_containerengine_node_pool` resource for Terraform v0.11
9+
210
## 3.56.0 (December 18, 2019)
311

412
### Added

examples/database/atp-d/main.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ resource "oci_database_autonomous_container_database" "test_autonomous_container
2323
compartment_id = "${var.compartment_ocid}"
2424
freeform_tags = "${var.autonomous_database_freeform_tags}"
2525
service_level_agreement_type = "STANDARD"
26+
27+
maintenance_window_details {
28+
preference = "CUSTOM_PREFERENCE"
29+
30+
days_of_week {
31+
name = "MONDAY"
32+
}
33+
34+
hours_of_day = ["4"]
35+
36+
months {
37+
name = "APRIL"
38+
}
39+
40+
weeks_of_month = ["2"]
41+
}
2642
}
2743

2844
resource "random_string" "autonomous_database_admin_password" {

examples/database/exadata_cc/exadata-infrastructure.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ provider "oci" {
1818

1919
resource "oci_database_exadata_infrastructure" "test_exadata_infrastructure" {
2020
#Required
21-
admin_network_cidr = "192.168.19.2/16"
21+
admin_network_cidr = "192.168.0.0/16"
2222
cloud_control_plane_server1 = "192.168.19.1"
2323
cloud_control_plane_server2 = "192.168.19.2"
2424
compartment_id = "${var.compartment_id}"
25-
corporate_proxy = "http://192.168.19.1:80"
2625
display_name = "tstExaInfra"
2726
dns_server = ["192.168.10.10"]
2827
gateway = "192.168.20.1"
29-
infini_band_network_cidr = "10.172.19.1/22"
28+
infini_band_network_cidr = "10.172.0.0/19"
3029
netmask = "255.255.0.0"
3130
ntp_server = ["192.168.10.20"]
3231
shape = "ExadataCC.Quarter3.100"
3332
time_zone = "US/Pacific"
3433
activation_file = "activation.zip"
3534

3635
#Optional
37-
defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "updatedvalue")}"
36+
corporate_proxy = "http://192.168.19.1:80"
37+
defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "updatedvalue")}"
3838

3939
freeform_tags = {
4040
"Department" = "Accounting"

examples/database/exadata_cc/vm_cluster.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ data "oci_database_vm_cluster_recommended_network" "test_vm_cluster_recommended_
109109
network_type = "CLIENT"
110110
prefix = "myprefix1"
111111
vlan_id = "10"
112-
domain = "oracle.com"
113112
}
114113

115114
networks {
@@ -121,7 +120,6 @@ data "oci_database_vm_cluster_recommended_network" "test_vm_cluster_recommended_
121120
network_type = "BACKUP"
122121
prefix = "myprefix2"
123122
vlan_id = "11"
124-
domain = "oracle.com"
125123
}
126124

127125
defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "updatedvalue")}"

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 v14.0.0+incompatible
9+
github.com/oracle/oci-go-sdk v15.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

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ github.com/oracle/oci-go-sdk v13.1.0+incompatible h1:inwbT0b/mMbnTfzYoW2xcU1cCMI
340340
github.com/oracle/oci-go-sdk v13.1.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888=
341341
github.com/oracle/oci-go-sdk v14.0.0+incompatible h1:DqmXj/YCn1RLTBO4wKNdZ5lTT6DbhU0ymFYDm6lHZSY=
342342
github.com/oracle/oci-go-sdk v14.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888=
343+
github.com/oracle/oci-go-sdk v15.0.0+incompatible h1:DN9mJZUJMm2IKY9z+lDg7Hz6e+ns1PtWSSbQ8PrmOmw=
344+
github.com/oracle/oci-go-sdk v15.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888=
343345
github.com/packer-community/winrmcp v0.0.0-20180102160824-81144009af58 h1:m3CEgv3ah1Rhy82L+c0QG/U3VyY1UsvsIdkh0/rU97Y=
344346
github.com/packer-community/winrmcp v0.0.0-20180102160824-81144009af58/go.mod h1:f6Izs6JvFTdnRbziASagjZ2vmf55NSIkC/weStxCHqk=
345347
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs=

oci/analytics_analytics_instance_resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ func AnalyticsAnalyticsInstanceResource() *schema.Resource {
2323
State: schema.ImportStatePassthrough,
2424
},
2525
Timeouts: &schema.ResourceTimeout{
26-
Create: &OneHour,
27-
Update: &OneHour,
28-
Delete: &OneHour,
26+
Create: getTimeoutDuration("1h"),
27+
Update: getTimeoutDuration("1h"),
28+
Delete: getTimeoutDuration("1h"),
2929
},
3030
Create: createAnalyticsAnalyticsInstance,
3131
Read: readAnalyticsAnalyticsInstance,

oci/containerengine_cluster_resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ func ContainerengineClusterResource() *schema.Resource {
2626
State: schema.ImportStatePassthrough,
2727
},
2828
Timeouts: &schema.ResourceTimeout{
29-
Create: &OneHour,
30-
Update: &OneHour,
31-
Delete: &OneHour,
29+
Create: getTimeoutDuration("1h"),
30+
Update: getTimeoutDuration("1h"),
31+
Delete: getTimeoutDuration("1h"),
3232
},
3333
Create: createContainerengineCluster,
3434
Read: readContainerengineCluster,

oci/containerengine_node_pool_resource.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ func ContainerengineNodePoolResource() *schema.Resource {
2020
State: schema.ImportStatePassthrough,
2121
},
2222
Timeouts: &schema.ResourceTimeout{
23-
Create: &TwentyMinutes,
24-
Update: &TwentyMinutes,
25-
Delete: &TwentyMinutes,
23+
Create: getTimeoutDuration("20m"),
24+
Update: getTimeoutDuration("20m"),
25+
Delete: getTimeoutDuration("20m"),
2626
},
2727
Create: createContainerengineNodePool,
2828
Read: readContainerengineNodePool,
@@ -148,7 +148,6 @@ func ContainerengineNodePoolResource() *schema.Resource {
148148
"node_source_details": {
149149
Type: schema.TypeList,
150150
Optional: true,
151-
Computed: true,
152151
ForceNew: true,
153152
MaxItems: 1,
154153
MinItems: 1,

oci/core_image_resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ func CoreImageResource() *schema.Resource {
2020
State: schema.ImportStatePassthrough,
2121
},
2222
Timeouts: &schema.ResourceTimeout{
23-
Create: &TwoHours,
24-
Update: &TwoHours,
25-
Delete: &TwoHours,
23+
Create: getTimeoutDuration("2h"),
24+
Update: getTimeoutDuration("2h"),
25+
Delete: getTimeoutDuration("2h"),
2626
},
2727
Create: createCoreImage,
2828
Read: readCoreImage,

0 commit comments

Comments
 (0)