Skip to content

Commit 8e6c8e4

Browse files
authored
Merge pull request #1617 from oracle/release_gh
Releasing version 4.81.0
2 parents 872f492 + 943371a commit 8e6c8e4

File tree

2,520 files changed

+15001
-7339
lines changed

Some content is hidden

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

2,520 files changed

+15001
-7339
lines changed

CHANGELOG.md

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 4.81.0 (June 22, 2022)
2+
3+
### Added
4+
- Support for APM Configuration Options
5+
- Support for DBM: Database Diagnostics - Alert & Attention Log, OnDemand Run ADDM
6+
Data Labeling Service [DLS] FY22Q4 v3 Release
7+
### Bug Fix
8+
: Regression introduced database server datasource
9+
- New Datasource DevopsRepoFileLineDataSource
10+
111
## 4.80.1 (June 16, 2022)
212
### Bug Fix
313
- Fixed terraform crash for oci_core_route_table resource
@@ -458,7 +468,7 @@ support for - Cluster Network: new optional parameter to Update API
458468
- Support for Email Authentication: DKIM API
459469

460470
### Fixed
461-
- Update issue in `oci_database_autonomous_database` - Issue [1417](https://github.com/terraform-providers/terraform-provider-oci/issues/1417)
471+
- Update issue in `oci_database_autonomous_database` - Issue [1417](https://github.com/oracle/terraform-provider-oci/issues/1417)
462472

463473
## 4.36.0 (July 21, 2021)
464474

@@ -608,7 +618,7 @@ support for - Cluster Network: new optional parameter to Update API
608618

609619
### Fixed
610620
- Fixed functions resource to sync `image_digest` with `image` appropriately
611-
- Removed incorrect document for `oci_data_safe_on_prem_connectors_configuration`. Issue [1344](https://github.com/terraform-providers/terraform-provider-oci/issues/1344)
621+
- Removed incorrect document for `oci_data_safe_on_prem_connectors_configuration`. Issue [1344](https://github.com/oracle/terraform-provider-oci/issues/1344)
612622
- Property `ipv6cidr_block` and `ipv6public_cidr_block` are removed from `oci_core_vcn`
613623
- Property `ipv6public_cidr_block` is removed from `oci_core_subnet`
614624

@@ -741,7 +751,7 @@ support for - Cluster Network: new optional parameter to Update API
741751
## 4.8.0 (January 06, 2021)
742752

743753
### Fixed
744-
- Fixed typo in load balancer shape. Issue [#1252](https://github.com/terraform-providers/terraform-provider-oci/issues/1252)
754+
- Fixed typo in load balancer shape. Issue [#1252](https://github.com/oracle/terraform-provider-oci/issues/1252)
745755

746756
## 4.7.0 (December 16, 2020)
747757

@@ -758,7 +768,7 @@ support for - Cluster Network: new optional parameter to Update API
758768

759769
### Fixed
760770
- Fix `idcs_access_token` as `required` now. Note that this will break current import scenario, user need to add `idcs_access_token` to Terraform config.
761-
[Github issue 1264](https://github.com/terraform-providers/terraform-provider-oci/issues/1264)
771+
[Github issue 1264](https://github.com/oracle/terraform-provider-oci/issues/1264)
762772

763773
## 4.6.0 (December 09, 2020)
764774

@@ -806,7 +816,7 @@ support for - Cluster Network: new optional parameter to Update API
806816
### Fixed
807817
- Fix ExaCS cloud VM cluster as source of `oci_database_db_home` resource creation. ExaCS cloud VM clusters can be specified
808818
as source using `vm_cluster_id` and `SOURCE=VM_CLUSTER_NEW`.
809-
[Github issue 1218](https://github.com/terraform-providers/terraform-provider-oci/issues/1218)
819+
[Github issue 1218](https://github.com/oracle/terraform-provider-oci/issues/1218)
810820

811821
## 4.2.0 (November 04, 2020)
812822

@@ -1124,9 +1134,9 @@ importing such db_systems. New behavior will put an empty placeholder in the sta
11241134
- Support resource discovery for functions resources
11251135

11261136
### Fixed
1127-
- Add missing attributes for `oci_file_storage_mount_target` import [Github issue #1037](https://github.com/terraform-providers/terraform-provider-oci/issues/1037)
1128-
- Fixed the diff for `whitelisted_ips` arguments order in `oci_database_autonomous_database` resource [Issue #1050](https://github.com/terraform-providers/terraform-provider-oci/issues/1050)
1129-
- Fixed the `placement_configs` order mismatch in `oci_containerengine_node_pool` [GitHub issue #1045](https://github.com/terraform-providers/terraform-provider-oci/issues/1045)
1137+
- Add missing attributes for `oci_file_storage_mount_target` import [Github issue #1037](https://github.com/oracle/terraform-provider-oci/issues/1037)
1138+
- Fixed the diff for `whitelisted_ips` arguments order in `oci_database_autonomous_database` resource [Issue #1050](https://github.com/oracle/terraform-provider-oci/issues/1050)
1139+
- Fixed the `placement_configs` order mismatch in `oci_containerengine_node_pool` [GitHub issue #1045](https://github.com/oracle/terraform-provider-oci/issues/1045)
11301140
- Fixed Instance Metadata examples to use the Instance Metadata Service version 2
11311141

11321142
## 3.74.0 (May 06, 2020)
@@ -1158,7 +1168,7 @@ importing such db_systems. New behavior will put an empty placeholder in the sta
11581168
- Support for `maintenance_window` in `oci_database_db_system` resource for ExaCS infrastructure
11591169

11601170
### Fixed
1161-
- Update `cpu_core_count` with the other attributes in `oci_database_db_system` resource [Github issue #1026](https://github.com/terraform-providers/terraform-provider-oci/issues/1026)
1171+
- Update `cpu_core_count` with the other attributes in `oci_database_db_system` resource [Github issue #1026](https://github.com/oracle/terraform-provider-oci/issues/1026)
11621172

11631173
### Notes
11641174
`oci_streaming_stream_archiver` data source and resource were not supported by the service and removed from the provider since v3.72.0
@@ -1244,7 +1254,7 @@ importing such db_systems. New behavior will put an empty placeholder in the sta
12441254
- Support for Data Flow Service
12451255

12461256
### Fixed
1247-
- Address issue where budget resource `time_spend_computed` attribute results in error [Github issue #966](https://github.com/terraform-providers/terraform-provider-oci/issues/966)
1257+
- Address issue where budget resource `time_spend_computed` attribute results in error [Github issue #966](https://github.com/oracle/terraform-provider-oci/issues/966)
12481258

12491259
## 3.60.0 (January 29, 2020)
12501260

@@ -1400,7 +1410,7 @@ Load balancer certificates created with previous versions and upgrading to this
14001410

14011411
### Fixed
14021412

1403-
- Fix compositeId parsing for pre-authenticated requests in object storage [Issue #867](https://github.com/terraform-providers/terraform-provider-oci/issues/867)
1413+
- Fix compositeId parsing for pre-authenticated requests in object storage [Issue #867](https://github.com/oracle/terraform-provider-oci/issues/867)
14041414
- Fixed ssl_configuration is optional only in `oci_load_balancer_backend_set` resource
14051415

14061416
## 3.45.0 (September 25, 2019)
@@ -1467,7 +1477,7 @@ Load balancer certificates created with previous versions and upgrading to this
14671477
- Support for ipv6 in `oci_core_virtual_circuit` resources.
14681478

14691479
### Fixed
1470-
- Fixed the diff for `options` arguments order in `oci_core_dhcp_options` resource [Issue #829](https://github.com/terraform-providers/terraform-provider-oci/issues/829)
1480+
- Fixed the diff for `options` arguments order in `oci_core_dhcp_options` resource [Issue #829](https://github.com/oracle/terraform-provider-oci/issues/829)
14711481
- Fixed typo in docs for `source_type` in `oci_core_network_security_group_security_rule` and docs updated
14721482
- Fixed `listing_id` reference in docs for App Catalog
14731483
- Removing `compartment_id` from `oci_core_volume_attachment` as the service does not accept that parameter. The compartment_id of the volume is the one used by the service.
@@ -1494,7 +1504,7 @@ Load balancer certificates created with previous versions and upgrading to this
14941504
- Support for scheduling KMS vault deletion by specified time
14951505

14961506
### Fixed
1497-
- Fixed `oci_load_balancer_backend_set` by explicitly making `session_persistence_configuration` and `lb_cookie_session_persistence_configuration` mutually exclusive [Issue #825](https://github.com/terraform-providers/terraform-provider-oci/issues/825)
1507+
- Fixed `oci_load_balancer_backend_set` by explicitly making `session_persistence_configuration` and `lb_cookie_session_persistence_configuration` mutually exclusive [Issue #825](https://github.com/oracle/terraform-provider-oci/issues/825)
14981508
- Fixed use case of `oci_load_balancer_backend_set` with `lb_cookie_session_persistence_configuration` update operation without setting optional parameters `max_age_in_seconds` and `domain`
14991509
- Fixed `oci_identity_user_capabilities_management` to correctly set `can_use_auth_tokens` field
15001510

@@ -1530,7 +1540,7 @@ Load balancer certificates created with previous versions and upgrading to this
15301540
- Removing deprecated fields `content-length` and `content-type` from data source `oci_objectstorage_object_head`. `content_length` and `content_type` should be used instead
15311541
- Removing `compartment_id` from resource `oci_core_drg_attachment` as an Optional field as the service does not accept it. The compartment of the VCN is the one used by the service. Keeping it as a computed field.
15321542
- Removing deprecated field `db_data_size_in_mbs` from resource `oci_database_backup`. `database_size_in_gbs` should be used instead
1533-
- Fixed `extended_metadata` field in `oci_core_instance` to correctly handle JSON [Issue #817](https://github.com/terraform-providers/terraform-provider-oci/issues/817)
1543+
- Fixed `extended_metadata` field in `oci_core_instance` to correctly handle JSON [Issue #817](https://github.com/oracle/terraform-provider-oci/issues/817)
15341544
- Consistently use the new `oci_core_vcn` rather than the legacy `oci_core_virtual_network` resource for VCN in examples
15351545

15361546
## 3.33.0 (July 10, 2019)
@@ -1594,7 +1604,7 @@ Optional/Computed fields.
15941604
### Added
15951605
- `oci_core_ipsec_connection_tunnel_management` resource to manage IPSec tunnel connection
15961606
### Fixed
1597-
- `oci_core_ipsec` backward compatibility issue by removing `tunnel_configuration` property, which is reported by https://github.com/terraform-providers/terraform-provider-oci/issues/779
1607+
- `oci_core_ipsec` backward compatibility issue by removing `tunnel_configuration` property, which is reported by https://github.com/oracle/terraform-provider-oci/issues/779
15981608

15991609
## 3.28.1 (June 05, 2019)
16001610

@@ -1751,7 +1761,7 @@ Optional/Computed fields.
17511761

17521762
### Fixed
17531763
- Timeout should be updatable for the `oci_containerengine_cluster` and `oci_containerengine_node_pool` resources
1754-
- Virtual Circuit `public_prefixes` to be updatable and importable. [Issue #700](https://github.com/terraform-providers/terraform-provider-oci/issues/700)
1764+
- Virtual Circuit `public_prefixes` to be updatable and importable. [Issue #700](https://github.com/oracle/terraform-provider-oci/issues/700)
17551765

17561766
## 3.14.0 (January 29, 2019)
17571767

@@ -1765,8 +1775,8 @@ Optional/Computed fields.
17651775

17661776
### Fixed
17671777
- Fixed an issue where the default retry timeout is zero seconds if `retry_duration_seconds` isn't specified
1768-
- Modifying immutable `metadata` fields such as `ssh_authorized_keys` and `user_data` should result in new instances. [Issue #673](https://github.com/terraform-providers/terraform-provider-oci/issues/673)
1769-
- Vendored Terraform helper/schema SDK to return matching data type for maps in case of empty state. [Issue #685](https://github.com/terraform-providers/terraform-provider-oci/issues/685)
1778+
- Modifying immutable `metadata` fields such as `ssh_authorized_keys` and `user_data` should result in new instances. [Issue #673](https://github.com/oracle/terraform-provider-oci/issues/673)
1779+
- Vendored Terraform helper/schema SDK to return matching data type for maps in case of empty state. [Issue #685](https://github.com/oracle/terraform-provider-oci/issues/685)
17701780

17711781
## 3.12.0 (January 15, 2019)
17721782

@@ -1815,7 +1825,7 @@ Optional/Computed fields.
18151825
## 3.10.0 (December 11, 2018)
18161826

18171827
### Added
1818-
- Support for attaching Route Table to Subnet. Issue [#270](https://github.com/terraform-providers/terraform-provider-oci/issues/270)
1828+
- Support for attaching Route Table to Subnet. Issue [#270](https://github.com/oracle/terraform-provider-oci/issues/270)
18191829

18201830
## 3.9.0 (December 04, 2018)
18211831

@@ -1887,7 +1897,7 @@ Optional/Computed fields.
18871897
- Fields "assigned_entity_id" and "assigned_entity_type" to Public IPs to allow distinguishing Public IPs of the NAT Gateway.
18881898

18891899
### Fixed
1890-
- Importing of volumes with backup policies. Issue [#590](https://github.com/terraform-providers/terraform-provider-oci/issues/590)
1900+
- Importing of volumes with backup policies. Issue [#590](https://github.com/oracle/terraform-provider-oci/issues/590)
18911901
- Updating of Virtual Circuits fails with field bgpMd5AuthKey is not supported
18921902

18931903
## 3.3.0 (October 04, 2018)
@@ -1896,16 +1906,16 @@ Optional/Computed fields.
18961906
- Support for new Image launch mode: paravirtualization
18971907

18981908
### Fixed
1899-
- Fix logic to prevent unexpected diffs related to numbers. Issue [#607](https://github.com/terraform-providers/terraform-provider-oci/issues/607)
1909+
- Fix logic to prevent unexpected diffs related to numbers. Issue [#607](https://github.com/oracle/terraform-provider-oci/issues/607)
19001910

19011911
## 3.2.0 (September 28, 2018)
19021912

19031913
### Added
19041914
- Support updating size of offline volumes
19051915

19061916
### Fixed
1907-
- Specifying lifecycle state in container engine cluster datasource properly filters. Issue [#600](https://github.com/terraform-providers/terraform-provider-oci/issues/600)
1908-
- Importing the assign_public_ip attribute for instances has the correct default. Issue [#593](https://github.com/terraform-providers/terraform-provider-oci/issues/593)
1917+
- Specifying lifecycle state in container engine cluster datasource properly filters. Issue [#600](https://github.com/oracle/terraform-provider-oci/issues/600)
1918+
- Importing the assign_public_ip attribute for instances has the correct default. Issue [#593](https://github.com/oracle/terraform-provider-oci/issues/593)
19091919
- ADW and ATP resources destruction still succeeds if the database lifecycle state becomes `Unavailable`
19101920

19111921
## 3.1.1 (September 21, 2018)

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ vet:
5151

5252
fmt:
5353
gofmt -w $(GOFMT_FILES)
54-
goimports -w -local github.com/terraform-providers/terraform-provider-oci $(GOFMT_FILES)
54+
goimports -w -local terraform-provider-oci $(GOFMT_FILES)
5555
@if [ -x "$$(command -v terraform)" ]; then \
5656
terraform fmt; \
5757
else \

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Terraform Provider for Oracle Cloud Infrastructure
88
==================
99

1010
- [Documentation](https://www.terraform.io/docs/providers/oci/index.html)
11-
- [Examples](https://github.com/terraform-providers/terraform-provider-oci/tree/master/examples)
11+
- [Examples](https://github.com/oracle/terraform-provider-oci/tree/master/examples)
1212
- [OCI forums](https://cloudcustomerconnect.oracle.com/resources/9c8fa8f96f/summary)
13-
- [Github issues](https://github.com/terraform-providers/terraform-provider-oci/issues)
13+
- [Github issues](https://github.com/oracle/terraform-provider-oci/issues)
1414
- [Troubleshooting](https://www.terraform.io/docs/providers/oci/guides/troubleshooting.html)
1515

1616
[![wercker status](https://app.wercker.com/status/666d2ee10f45dde41189bb03248aadf9/s/master "wercker status")](https://app.wercker.com/project/byKey/666d2ee10f45dde41189bb03248aadf9)
@@ -28,7 +28,7 @@ Note: You may use any version 1.8 or above to build the provider. However, the `
2828
Building the Provider
2929
---------------------
3030

31-
Clone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-oci`
31+
Clone repository to: `$GOPATH/src/terraform-provider-oci`
3232

3333
```sh
3434
$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
@@ -38,7 +38,7 @@ $ git clone [email protected]:terraform-providers/terraform-provider-oci
3838
Enter the provider directory and build the provider
3939

4040
```sh
41-
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-oci
41+
$ cd $GOPATH/src/terraform-provider-oci
4242
$ make build
4343
```
4444

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
// Copyright (c) 2017, 2022, 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 "config_config_type" {
12+
default = "OPTIONS"
13+
}
14+
15+
variable "config_defined_tags_value" {
16+
default = "value"
17+
}
18+
19+
variable "config_description" {
20+
default = "description"
21+
}
22+
23+
variable "config_display_name" {
24+
default = "displayName"
25+
}
26+
27+
variable "config_group" {
28+
default = "my_group"
29+
}
30+
31+
variable "config_options" {
32+
default = "{ \"dummyKey\": \"dummyValue\" }"
33+
}
34+
35+
variable "config_freeform_tags" {
36+
default = { "bar-key" = "value" }
37+
}
38+
39+
variable "apm_domain_description" {
40+
default = "description"
41+
}
42+
43+
variable "apm_domain_display_name" {
44+
default = "displayName"
45+
}
46+
47+
variable "apm_domain_freeform_tags" {
48+
default = { "Department" = "Finance" }
49+
}
50+
51+
variable "apm_domain_is_free_tier" {
52+
default = true
53+
}
54+
55+
variable "apm_domain_state" {
56+
default = "ACTIVE"
57+
}
58+
59+
variable "data_key_data_key_type" {
60+
default = "PRIVATE"
61+
}
62+
63+
provider "oci" {
64+
tenancy_ocid = var.tenancy_ocid
65+
user_ocid = var.user_ocid
66+
fingerprint = var.fingerprint
67+
private_key_path = var.private_key_path
68+
region = var.region
69+
}
70+
71+
72+
resource "oci_apm_apm_domain" "test_apm_domain" {
73+
#Required
74+
compartment_id = var.compartment_ocid
75+
display_name = var.apm_domain_display_name
76+
77+
#Optional
78+
description = var.apm_domain_description
79+
freeform_tags = var.apm_domain_freeform_tags
80+
is_free_tier = var.apm_domain_is_free_tier
81+
}
82+
83+
resource "oci_apm_config_config" "test_config" {
84+
#Required
85+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
86+
config_type = var.config_config_type
87+
display_name = var.config_display_name
88+
89+
#Optional
90+
#defined_tags = map(oci_identity_tag_namespace.tag-namespace1.name.oci_identity_tag.tag1.name, var.config_defined_tags_value)
91+
description = var.config_description
92+
group = var.config_group
93+
options = var.config_options
94+
freeform_tags = var.config_freeform_tags
95+
}
96+
97+
data "oci_apm_config_configs" "test_configs" {
98+
#Required
99+
apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
100+
101+
#Optional
102+
config_type = var.config_config_type
103+
display_name = var.config_display_name
104+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
variable "tenancy_ocid" {}
2+
variable "user_ocid" {}
3+
variable "fingerprint" {}
4+
variable "private_key_path" {}
5+
variable "region" {}
6+
7+
provider "oci" {
8+
version = "4.79.0"
9+
tenancy_ocid = var.tenancy_ocid
10+
user_ocid = var.user_ocid
11+
fingerprint = var.fingerprint
12+
private_key_path = var.private_key_path
13+
region = var.region
14+
}
15+
16+
data "oci_devops_repo_file_line" "test_repo_file_lines" {
17+
#Required
18+
repository_id = "repository_id"
19+
revision = "main"
20+
file_path = "testfile"
21+
22+
#Optional
23+
start_line_number = 10
24+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
variable "tenancy_ocid" {}
2+
variable "user_ocid" {}
3+
variable "fingerprint" {}
4+
variable "private_key_path" {}
5+
variable "region" {}
6+
7+
provider "oci" {
8+
tenancy_ocid = var.tenancy_ocid
9+
user_ocid = var.user_ocid
10+
fingerprint = var.fingerprint
11+
private_key_path = var.private_key_path
12+
region = var.region
13+
}
14+
15+
data "oci_devops_repository_file_line" "test_repo_file_lines" {
16+
#Required
17+
repository_id = "repository_id"
18+
revision = "main"
19+
file_path = "testfile"
20+
21+
#Optional
22+
start_line_number = 10
23+
}

0 commit comments

Comments
 (0)