Skip to content

Commit 82b2b18

Browse files
Merge pull request #1879 from oracle/release_gh
Releasing version 4.122.0
2 parents 38c434c + d6f963b commit 82b2b18

File tree

526 files changed

+5490
-1108
lines changed

Some content is hidden

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

526 files changed

+5490
-1108
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 4.122.0 (May 24, 2023)
2+
3+
### Added
4+
- Remove hardcoded passwords from golden_gate integration test codes
5+
- ExaDB-C@C (EXACC) Data Plane Guest VMs (API/UI Only)
6+
- Support for Node Subsetting | ADB-D
7+
- Support for DNS Secondary Egress and creating DNS zones from zone files
8+
- Support for unified agent config CRI parser
9+
- Support for Create oci_dns_rrsets data source
10+
- Changes for setting resource ID in state file before workrequest completion
11+
### Bug Fix
12+
- Populate user resource optional fields only if they arent empty
13+
- Remove system tags from SZ requests
14+
- adding fix for cloudguard detector rule condition paramter unmarshalling issue
15+
116
## 4.121.0 (May 17, 2023)
217

318
### Added

examples/cloudguard/security_zone/security_zone.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,4 @@ resource "oci_cloud_guard_security_zone" "test_security_zone" {
7777
#Optional
7878
description = "${var.security_zone_description}"
7979

80-
//Added only because we are testing this in a splat-disabled env
81-
lifecycle {
82-
ignore_changes = [system_tags]
83-
}
8480
}

examples/cloudguard/security_zone_recipe/security_zone_recipe.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,4 @@ resource "oci_cloud_guard_security_recipe" "test_security_recipe" {
6666
#Optional
6767
description = "${var.security_recipe_description}"
6868

69-
//Added only because we are testing this in a splat-disabled env
70-
lifecycle {
71-
ignore_changes = [system_tags]
72-
}
7369
}

examples/database/atp-d/main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ resource "oci_database_autonomous_container_database" "test_autonomous_container
5959
db_version = "19.18.0.1.0"
6060
}
6161

62+
variable "cloud_exadata_infrastructure_un_allocated_resource_db_servers" {
63+
default = []
64+
}
65+
6266
resource "random_string" "autonomous_database_admin_password" {
6367
length = 16
6468
min_numeric = 1
@@ -146,4 +150,7 @@ output "autonomous_container_databases" {
146150
data "oci_database_cloud_exadata_infrastructure_un_allocated_resource" "test_cloud_exadata_infrastructure_un_allocated_resources" {
147151
#Required
148152
cloud_exadata_infrastructure_id = oci_database_cloud_exadata_infrastructure.test_cloud_exadata_infrastructure.id
153+
154+
#Optional
155+
db_servers = var.cloud_exadata_infrastructure_un_allocated_resource_db_servers
149156
}

examples/dns/global/rrset.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,8 @@ data "oci_dns_rrset" "test_rrset" {
5050
zone_name_or_id = oci_dns_zone.zone3.id
5151
}
5252

53+
data "oci_dns_rrsets" "test_rrsets" {
54+
domain = "el.${oci_dns_zone.zone3.name}"
55+
rtype = "CNAME"
56+
zone_name_or_id = oci_dns_zone.zone3.id
57+
}

examples/dns/global/zone.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,35 @@ resource "oci_dns_zone" "zone1" {
1717
zone_type = "PRIMARY"
1818
}
1919

20-
resource "oci_dns_zone" "zone3" {
21-
compartment_id = var.compartment_ocid
22-
name = "${data.oci_identity_tenancy.tenancy.name}-${random_string.random_prefix.result}-tf-example3-primary.oci-dns1"
23-
zone_type = "PRIMARY"
24-
}
25-
2620
resource "oci_dns_tsig_key" "test_tsig_key" {
2721
algorithm = "hmac-sha1"
2822
compartment_id = var.compartment_ocid
29-
name = "${random_string.random_prefix.result}-test_tsig_key-name"
23+
name = "${random_string.random_prefix.result}-test-tsig-key-name"
3024
secret = "c2VjcmV0"
3125
}
3226

3327
resource "oci_dns_zone" "zone2" {
3428
compartment_id = var.compartment_ocid
35-
name = "${data.oci_identity_tenancy.tenancy.name}-${random_string.random_prefix.result}-tf-example-secondary.oci-dns2"
36-
zone_type = "SECONDARY"
29+
name = "${data.oci_identity_tenancy.tenancy.name}-${random_string.random_prefix.result}-tf-example2-primary.oci-dns2"
30+
zone_type = "PRIMARY"
3731

38-
external_masters {
32+
external_downstreams {
3933
address = "77.64.12.1"
4034
tsig_key_id = oci_dns_tsig_key.test_tsig_key.id
4135
}
4236

43-
external_masters {
37+
external_downstreams {
4438
address = "77.64.12.2"
4539
tsig_key_id = oci_dns_tsig_key.test_tsig_key.id
4640
}
4741
}
4842

43+
resource "oci_dns_zone" "zone3" {
44+
compartment_id = var.compartment_ocid
45+
name = "${data.oci_identity_tenancy.tenancy.name}-${random_string.random_prefix.result}-tf-example3-primary.oci-dns1"
46+
zone_type = "PRIMARY"
47+
}
48+
4949
data "oci_dns_zones" "zs" {
5050
compartment_id = var.compartment_ocid
5151
name_contains = "example"

examples/dns/private/rrset/rrset.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,10 @@ data "oci_dns_rrset" "test_rrset" {
6565
view_id = oci_dns_view.test_view.id
6666
}
6767

68+
data "oci_dns_rrsets" "test_rrsets" {
69+
domain = "el.${oci_dns_zone.zone3.name}"
70+
rtype = "CNAME"
71+
zone_name_or_id = oci_dns_zone.zone3.id
72+
scope = "PRIVATE"
73+
view_id = oci_dns_view.test_view.id
74+
}

examples/dns/zone_file/provider.tf

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
/*
5+
* Provider config for dns sample
6+
*/
7+
8+
variable "tenancy_ocid" {
9+
}
10+
11+
variable "user_ocid" {
12+
}
13+
14+
variable "fingerprint" {
15+
}
16+
17+
variable "private_key_path" {
18+
}
19+
20+
variable "compartment_ocid" {
21+
}
22+
23+
variable "region" {
24+
}
25+
26+
provider "oci" {
27+
region = var.region
28+
tenancy_ocid = var.tenancy_ocid
29+
user_ocid = var.user_ocid
30+
fingerprint = var.fingerprint
31+
private_key_path = var.private_key_path
32+
}
33+

examples/dns/zone_file/zone.tf

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
/*
5+
* This file demonstrates creating a zone from a zone file using terraform.
6+
*/
7+
8+
/*
9+
* Step 1: Create the zone from the zone file.
10+
* Run Terraform plan/apply and wait until the zone has been created. Note the OCID of the zone.
11+
* Step 2: Uncomment the oci_dns_zone below, and comment out the oci_dns_action_create_zone_from_zone_file
12+
Run `terraform import oci_dns_zone.zone ZONE_OCID`, replacing ZONE_OCID with the OCID of the zone from step 1.
13+
* Step 3: Run Terraform plan/apply.
14+
Terraform will show that it is deleting the oci_dns_action_create_zone_from_zone_file resource, but the zone will not be deleted. The zone is now fully managed by the oci_dns_zone resource.
15+
*/
16+
17+
resource "random_string" "random_prefix" {
18+
length = 4
19+
number = false
20+
special = false
21+
}
22+
23+
data "oci_identity_tenancy" "tenancy" {
24+
tenancy_id = var.tenancy_ocid
25+
}
26+
27+
locals {
28+
zone_name = "${data.oci_identity_tenancy.tenancy.name}-${random_string.random_prefix.result}-tf-example-primary.oci-dns1"
29+
}
30+
31+
resource "oci_dns_action_create_zone_from_zone_file" "zonefile" {
32+
compartment_id = var.compartment_ocid
33+
create_zone_from_zone_file_details = "$ORIGIN ${local.zone_name}.\n$TTL 3600\n${local.zone_name}. IN SOA ns1.${local.zone_name}. admin.${local.zone_name}. ( 1 7200 3600 14400 3600)\n${local.zone_name}. IN NS ns1.${local.zone_name}."
34+
}
35+
36+
#resource "oci_dns_zone" "zone" {
37+
# name = local.zone_name
38+
# compartment_id = var.compartment_ocid
39+
# zone_type = "PRIMARY"
40+
#}

examples/identity_domains/api_key.tf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resource "oci_identity_domains_api_key" "test_api_key" {
4646
schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:apikey"]
4747

4848
#Optional
49-
attribute_sets = []
49+
attribute_sets = ["all"]
5050
attributes = ""
5151
authorization = var.api_key_authorization
5252
description = var.api_key_description
@@ -68,6 +68,13 @@ resource "oci_identity_domains_api_key" "test_api_key" {
6868
#must be a user that exists
6969
value = oci_identity_domains_user.test_user.id
7070
}
71+
72+
lifecycle {
73+
ignore_changes = [
74+
// ignore fields that will never be returned
75+
urnietfparamsscimschemasoracleidcsextensionself_change_user
76+
]
77+
}
7178
}
7279

7380
data "oci_identity_domains_api_keys" "test_api_keys" {

0 commit comments

Comments
 (0)