Skip to content

Commit 1830674

Browse files
Merge pull request #2367 from oracle/release_gh
Releasing version 6.35.0
2 parents fcba116 + 9afcc2b commit 1830674

File tree

181 files changed

+1874
-127
lines changed

Some content is hidden

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

181 files changed

+1874
-127
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions

examples/database/adb/autonomous_database.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,3 @@ resource "oci_database_autonomous_database" "test_autonomous_database_shrink" {
401401
shrink_adb_trigger = "2"
402402
is_auto_scaling_for_storage_enabled = "true"
403403
}
404-
405-
resource "oci_database_autonomous_database" "test_autonomous_database_subscriptionId" {
406-
admin_password = random_string.autonomous_database_admin_password.result
407-
compartment_id = var.compartment_ocid
408-
cpu_core_count = "1"
409-
data_storage_size_in_tbs = "1"
410-
db_name = "adbsubscription"
411-
db_version = "19c"
412-
db_workload = "OLTP"
413-
license_model = "LICENSE_INCLUDED"
414-
subscription_id = "SubscriptionID"
415-
}

examples/zips/adm.zip

0 Bytes
Binary file not shown.

examples/zips/aiAnomalyDetection.zip

0 Bytes
Binary file not shown.

examples/zips/aiDocument.zip

0 Bytes
Binary file not shown.

examples/zips/aiLanguage.zip

0 Bytes
Binary file not shown.

examples/zips/aiVision.zip

0 Bytes
Binary file not shown.

examples/zips/always_free.zip

0 Bytes
Binary file not shown.

examples/zips/analytics.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/api_gateway.zip

0 Bytes
Binary file not shown.

examples/zips/apm.zip

0 Bytes
Binary file not shown.

examples/zips/appmgmt_control.zip

0 Bytes
Binary file not shown.

examples/zips/artifacts.zip

0 Bytes
Binary file not shown.

examples/zips/audit.zip

0 Bytes
Binary file not shown.

examples/zips/autoscaling.zip

0 Bytes
Binary file not shown.

examples/zips/bastion.zip

0 Bytes
Binary file not shown.

examples/zips/big_data_service.zip

0 Bytes
Binary file not shown.

examples/zips/blockchain.zip

0 Bytes
Binary file not shown.

examples/zips/budget.zip

0 Bytes
Binary file not shown.

examples/zips/capacity_management.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/cloudBridge.zip

0 Bytes
Binary file not shown.

examples/zips/cloudMigrations.zip

0 Bytes
Binary file not shown.

examples/zips/cloudguard.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/compute.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/concepts.zip

0 Bytes
Binary file not shown.

examples/zips/container_engine.zip

0 Bytes
Binary file not shown.

examples/zips/container_instances.zip

0 Bytes
Binary file not shown.

examples/zips/database.zip

-35 Bytes
Binary file not shown.

examples/zips/databaseTools.zip

0 Bytes
Binary file not shown.

examples/zips/databasemanagement.zip

0 Bytes
Binary file not shown.

examples/zips/databasemigration.zip

0 Bytes
Binary file not shown.

examples/zips/datacatalog.zip

0 Bytes
Binary file not shown.

examples/zips/dataflow.zip

0 Bytes
Binary file not shown.

examples/zips/dataintegration.zip

0 Bytes
Binary file not shown.

examples/zips/datalabeling.zip

0 Bytes
Binary file not shown.

examples/zips/datasafe.zip

0 Bytes
Binary file not shown.

examples/zips/datascience.zip

0 Bytes
Binary file not shown.

examples/zips/dblm.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/demand_signal.zip

0 Bytes
Binary file not shown.

examples/zips/desktops.zip

0 Bytes
Binary file not shown.

examples/zips/devops.zip

0 Bytes
Binary file not shown.

examples/zips/disaster_recovery.zip

0 Bytes
Binary file not shown.

examples/zips/dns.zip

0 Bytes
Binary file not shown.

examples/zips/em_warehouse.zip

0 Bytes
Binary file not shown.

examples/zips/email.zip

0 Bytes
Binary file not shown.

examples/zips/events.zip

0 Bytes
Binary file not shown.

examples/zips/fast_connect.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/fleetsoftwareupdate.zip

0 Bytes
Binary file not shown.

examples/zips/functions.zip

0 Bytes
Binary file not shown.

examples/zips/fusionapps.zip

0 Bytes
Binary file not shown.

examples/zips/generative_ai.zip

0 Bytes
Binary file not shown.

examples/zips/generative_ai_agent.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/goldengate.zip

0 Bytes
Binary file not shown.

examples/zips/health_checks.zip

0 Bytes
Binary file not shown.

examples/zips/id6.zip

0 Bytes
Binary file not shown.

examples/zips/identity.zip

0 Bytes
Binary file not shown.

examples/zips/identity_data_plane.zip

0 Bytes
Binary file not shown.

examples/zips/identity_domains.zip

0 Bytes
Binary file not shown.

examples/zips/integration.zip

0 Bytes
Binary file not shown.

examples/zips/jms.zip

0 Bytes
Binary file not shown.

examples/zips/jms_java_downloads.zip

0 Bytes
Binary file not shown.

examples/zips/kms.zip

0 Bytes
Binary file not shown.

examples/zips/license_manager.zip

0 Bytes
Binary file not shown.

examples/zips/limits.zip

0 Bytes
Binary file not shown.

examples/zips/load_balancer.zip

0 Bytes
Binary file not shown.

examples/zips/log_analytics.zip

0 Bytes
Binary file not shown.

examples/zips/logging.zip

0 Bytes
Binary file not shown.

examples/zips/lustre_file_storage.zip

521 Bytes
Binary file not shown.

examples/zips/management_agent.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/marketplace.zip

0 Bytes
Binary file not shown.

examples/zips/media_services.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/monitoring.zip

0 Bytes
Binary file not shown.

examples/zips/mysql.zip

0 Bytes
Binary file not shown.

examples/zips/network_firewall.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/networking.zip

0 Bytes
Binary file not shown.

examples/zips/nosql.zip

0 Bytes
Binary file not shown.

examples/zips/notifications.zip

0 Bytes
Binary file not shown.

examples/zips/object_storage.zip

0 Bytes
Binary file not shown.

examples/zips/ocvp.zip

0 Bytes
Binary file not shown.

examples/zips/onesubscription.zip

0 Bytes
Binary file not shown.

examples/zips/opa.zip

0 Bytes
Binary file not shown.

examples/zips/opensearch.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/opsi.zip

0 Bytes
Binary file not shown.

examples/zips/optimizer.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/os_management_hub.zip

0 Bytes
Binary file not shown.

examples/zips/osmanagement.zip

0 Bytes
Binary file not shown.

examples/zips/osp_gateway.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/osub_subscription.zip

0 Bytes
Binary file not shown.

examples/zips/osub_usage.zip

0 Bytes
Binary file not shown.

examples/zips/pic.zip

0 Bytes
Binary file not shown.

examples/zips/psql.zip

0 Bytes
Binary file not shown.

examples/zips/queue.zip

0 Bytes
Binary file not shown.

examples/zips/recovery.zip

0 Bytes
Binary file not shown.

examples/zips/redis.zip

0 Bytes
Binary file not shown.

examples/zips/resourcemanager.zip

0 Bytes
Binary file not shown.

examples/zips/resourcescheduler.zip

0 Bytes
Binary file not shown.

examples/zips/security_attribute.zip

0 Bytes
Binary file not shown.

examples/zips/serviceManagerProxy.zip

0 Bytes
Binary file not shown.

examples/zips/service_catalog.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/service_mesh.zip

0 Bytes
Binary file not shown.

examples/zips/stack_monitoring.zip

0 Bytes
Binary file not shown.

examples/zips/storage.zip

0 Bytes
Binary file not shown.

examples/zips/streaming.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/usage_proxy.zip

0 Bytes
Binary file not shown.

examples/zips/vault_secret.zip

0 Bytes
Binary file not shown.

examples/zips/vbs_inst.zip

0 Bytes
Binary file not shown.

examples/zips/visual_builder.zip

0 Bytes
Binary file not shown.

examples/zips/vn_monitoring.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

examples/zips/web_app_firewall.zip

0 Bytes
Binary file not shown.
Binary file not shown.

examples/zips/zpr.zip

0 Bytes
Binary file not shown.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/hashicorp/terraform-plugin-mux v0.16.0
1515
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0
1616
github.com/hashicorp/terraform-plugin-testing v1.9.0
17-
github.com/oracle/oci-go-sdk/v65 v65.88.1
17+
github.com/oracle/oci-go-sdk/v65 v65.89.1
1818
github.com/stretchr/testify v1.8.4
1919
golang.org/x/mod v0.20.0
2020
gopkg.in/yaml.v2 v2.3.0
@@ -72,6 +72,6 @@ require (
7272
)
7373

7474
// Uncomment this line to get OCI Go SDK from local source instead of github
75-
replace github.com/oracle/oci-go-sdk/v65 v65.88.1 => ./vendor/github.com/oracle/oci-go-sdk
75+
//replace github.com/oracle/oci-go-sdk => ../../oracle/oci-go-sdk
7676

7777
go 1.21

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ
147147
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
148148
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
149149
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
150+
github.com/oracle/oci-go-sdk/v65 v65.89.1 h1:8sVjxYPNQ83yqUgZKkdeUA0CnSodmL1Bme2oxq8gyKg=
151+
github.com/oracle/oci-go-sdk/v65 v65.89.1/go.mod h1:u6XRPsw9tPziBh76K7GrrRXPa8P8W3BQeqJ6ZZt9VLA=
150152
github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4=
151153
github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI=
152154
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=

internal/globalvar/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"log"
88
)
99

10-
const Version = "6.34.0"
11-
const ReleaseDate = "2025-04-13"
10+
const Version = "6.35.0"
11+
const ReleaseDate = "2025-04-16"
1212

1313
func PrintVersion() {
1414
log.Printf("[INFO] terraform-provider-oci %s\n", Version)

internal/integrationtest/golden_gate_deployment_peer_test.go

Lines changed: 357 additions & 0 deletions
Large diffs are not rendered by default.

internal/integrationtest/golden_gate_deployment_test.go

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
4747
OBJECTSTORAGE_BUCKET_NAME = "objectstorage_bucket_name"
4848
OBJECTSTORAGE_NAMESPACE = "objectstorage_namespace"
4949
OBJECTSTORAGE_UPDATE_BUCKET_NAME = "objectstorage_update_bucket_name"
50+
AVAILABILITY_DOMAIN = "availability_domain"
51+
FAULT_DOMAIN = "fault_domain"
5052
)
5153

5254
var (
@@ -158,12 +160,12 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
158160

159161
goldenGateDeploymentRepresentation = map[string]interface{}{
160162
"compartment_id": acctest.Representation{RepType: acctest.Required, Create: `${var.compartment_id}`},
161-
"cpu_core_count": acctest.Representation{RepType: acctest.Required, Create: `1`},
162-
"deployment_type": acctest.Representation{RepType: acctest.Required, Create: `DATABASE_ORACLE`},
163+
"cpu_core_count": acctest.Representation{RepType: acctest.Optional, Create: `1`},
164+
"deployment_type": acctest.Representation{RepType: acctest.Optional, Create: `DATABASE_ORACLE`},
163165
"display_name": acctest.Representation{RepType: acctest.Required, Create: `Terraform_integration_test`, Update: `Terraform_integration_test2`},
164-
"is_auto_scaling_enabled": acctest.Representation{RepType: acctest.Required, Create: `false`},
166+
"is_auto_scaling_enabled": acctest.Representation{RepType: acctest.Optional, Create: `false`, Update: `true`},
165167
"subnet_id": acctest.Representation{RepType: acctest.Required, Create: `${var.test_subnet_id}`},
166-
"license_model": acctest.Representation{RepType: acctest.Required, Create: `LICENSE_INCLUDED`},
168+
"license_model": acctest.Representation{RepType: acctest.Optional, Create: `LICENSE_INCLUDED`},
167169
"description": acctest.Representation{RepType: acctest.Optional, Create: `description`, Update: `description2`},
168170
"fqdn": acctest.Representation{RepType: acctest.Optional, Update: `fqdn1.oggdevops.us`},
169171
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
@@ -173,6 +175,10 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
173175
"maintenance_configuration": acctest.RepresentationGroup{RepType: acctest.Optional, Group: deploymentMaintenanceConfigurationRepresentation},
174176
"maintenance_window": acctest.RepresentationGroup{RepType: acctest.Required, Group: deploymentMaintenanceWindowRepresentation},
175177
"backup_schedule": acctest.RepresentationGroup{RepType: acctest.Optional, Group: deploymentBackupScheduleRepresentation},
178+
"availability_domain": acctest.Representation{RepType: acctest.Optional, Create: `${var.availability_domain}`},
179+
"fault_domain": acctest.Representation{RepType: acctest.Optional, Create: `${var.fault_domain}`},
180+
"placements": []acctest.RepresentationGroup{}, // start with empty peer list
181+
"source_deployment_id": acctest.Representation{RepType: acctest.Optional, Create: nil},
176182
}
177183

178184
deploymentLocksRepresentation = map[string]interface{}{
@@ -217,6 +223,8 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
217223
makeVariableStr(OBJECTSTORAGE_BUCKET_NAME, t) +
218224
makeVariableStr(OBJECTSTORAGE_UPDATE_BUCKET_NAME, t) +
219225
makeVariableStr(OBJECTSTORAGE_NAMESPACE, t) +
226+
makeVariableStr(AVAILABILITY_DOMAIN, t) +
227+
makeVariableStr(FAULT_DOMAIN, t) +
220228
GoldenGateDeploymentResourceDependencies
221229

222230
if identityDomainId != "" {
@@ -288,7 +296,7 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
288296
},
289297
),
290298
},
291-
// delete before next Create
299+
//delete before next Create
292300
{
293301
Config: config,
294302
},
@@ -396,7 +404,7 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
396404
resource.TestCheckResourceAttr(resourceName, "deployment_type", "DATABASE_ORACLE"),
397405
resource.TestCheckResourceAttr(resourceName, "description", "description2"),
398406
resource.TestCheckResourceAttr(resourceName, "display_name", "Terraform_integration_test2"),
399-
resource.TestCheckResourceAttr(resourceName, "is_auto_scaling_enabled", "false"),
407+
resource.TestCheckResourceAttr(resourceName, "is_auto_scaling_enabled", "true"),
400408
resource.TestCheckResourceAttr(resourceName, "subnet_id", subnetId),
401409
resource.TestCheckResourceAttr(resourceName, "license_model", "LICENSE_INCLUDED"),
402410
resource.TestCheckResourceAttr(resourceName, "ogg_data.#", "1"),
@@ -433,10 +441,12 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
433441
resource.TestCheckResourceAttr(resourceName, "backup_schedule.0.is_metadata_only", "false"),
434442
resource.TestCheckResourceAttrSet(resourceName, "backup_schedule.0.namespace"),
435443
resource.TestCheckResourceAttr(resourceName, "backup_schedule.0.time_backup_scheduled", timeBackupScheduledForCreate),
444+
resource.TestCheckResourceAttrSet(resourceName, "availability_domain"),
436445
resource.TestCheckResourceAttr(resourceName, "compartment_id", compartmentId),
437446
resource.TestCheckResourceAttr(resourceName, "cpu_core_count", "1"),
438447
resource.TestCheckResourceAttr(resourceName, "deployment_type", "DATABASE_ORACLE"),
439448
resource.TestCheckResourceAttr(resourceName, "description", "description"),
449+
resource.TestCheckResourceAttrSet(resourceName, "fault_domain"),
440450
resource.TestCheckResourceAttr(resourceName, "display_name", "Terraform_integration_test"),
441451
resource.TestCheckResourceAttrSet(resourceName, "fqdn"),
442452
resource.TestCheckResourceAttr(resourceName, "freeform_tags.%", "1"),
@@ -457,6 +467,9 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
457467
resource.TestCheckResourceAttr(resourceName, "ogg_data.0.credential_store", "GOLDENGATE"),
458468
resource.TestCheckResourceAttr(resourceName, "ogg_data.0.admin_username", "adminUsername"),
459469
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.deployment_name"),
470+
resource.TestCheckResourceAttr(resourceName, "placements.#", "1"),
471+
resource.TestCheckResourceAttrSet(resourceName, "placements.0.availability_domain"),
472+
resource.TestCheckResourceAttrSet(resourceName, "placements.0.fault_domain"),
460473
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.ogg_version"),
461474
resource.TestCheckResourceAttrSet(resourceName, "subnet_id"),
462475

@@ -488,6 +501,8 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
488501
resource.TestCheckResourceAttr(resourceName, "backup_schedule.0.is_metadata_only", "false"),
489502
resource.TestCheckResourceAttrSet(resourceName, "backup_schedule.0.namespace"),
490503
resource.TestCheckResourceAttr(resourceName, "backup_schedule.0.time_backup_scheduled", timeBackupScheduledForCreate),
504+
resource.TestCheckResourceAttrSet(resourceName, "availability_domain"),
505+
resource.TestCheckResourceAttrSet(resourceName, "fault_domain"),
491506
resource.TestCheckResourceAttr(resourceName, "compartment_id", compartmentIdForMove),
492507
resource.TestCheckResourceAttr(resourceName, "cpu_core_count", "1"),
493508
resource.TestCheckResourceAttr(resourceName, "deployment_type", "DATABASE_ORACLE"),
@@ -512,6 +527,9 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
512527
resource.TestCheckResourceAttr(resourceName, "ogg_data.0.credential_store", "GOLDENGATE"),
513528
resource.TestCheckResourceAttr(resourceName, "ogg_data.0.admin_username", "adminUsername"),
514529
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.deployment_name"),
530+
resource.TestCheckResourceAttr(resourceName, "placements.#", "1"),
531+
resource.TestCheckResourceAttrSet(resourceName, "placements.0.availability_domain"),
532+
resource.TestCheckResourceAttrSet(resourceName, "placements.0.fault_domain"),
515533
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.ogg_version"),
516534
resource.TestCheckResourceAttrSet(resourceName, "subnet_id"),
517535

@@ -536,15 +554,17 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
536554
resource.TestCheckResourceAttr(resourceName, "backup_schedule.0.is_metadata_only", "true"),
537555
resource.TestCheckResourceAttrSet(resourceName, "backup_schedule.0.namespace"),
538556
resource.TestCheckResourceAttr(resourceName, "backup_schedule.0.time_backup_scheduled", timeBackupScheduledForUpdate),
557+
resource.TestCheckResourceAttrSet(resourceName, "availability_domain"),
539558
resource.TestCheckResourceAttr(resourceName, "compartment_id", compartmentId),
540559
resource.TestCheckResourceAttr(resourceName, "cpu_core_count", "1"),
541560
resource.TestCheckResourceAttr(resourceName, "deployment_type", "DATABASE_ORACLE"),
542561
resource.TestCheckResourceAttr(resourceName, "description", "description2"),
562+
resource.TestCheckResourceAttrSet(resourceName, "fault_domain"),
543563
resource.TestCheckResourceAttr(resourceName, "display_name", "Terraform_integration_test2"),
544564
resource.TestCheckResourceAttrSet(resourceName, "fqdn"),
545565
resource.TestCheckResourceAttr(resourceName, "freeform_tags.%", "1"),
546566
resource.TestCheckResourceAttrSet(resourceName, "id"),
547-
resource.TestCheckResourceAttr(resourceName, "is_auto_scaling_enabled", "false"),
567+
resource.TestCheckResourceAttr(resourceName, "is_auto_scaling_enabled", "true"),
548568
resource.TestCheckResourceAttr(resourceName, "is_public", "false"),
549569
resource.TestCheckResourceAttr(resourceName, "license_model", "LICENSE_INCLUDED"),
550570
resource.TestCheckResourceAttr(resourceName, "maintenance_configuration.#", "1"),
@@ -561,6 +581,9 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
561581
resource.TestCheckResourceAttr(resourceName, "ogg_data.0.admin_username", "adminUsername2"),
562582
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.certificate"),
563583
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.deployment_name"),
584+
resource.TestCheckResourceAttr(resourceName, "placements.#", "1"),
585+
resource.TestCheckResourceAttrSet(resourceName, "placements.0.availability_domain"),
586+
resource.TestCheckResourceAttrSet(resourceName, "placements.0.fault_domain"),
564587
resource.TestCheckResourceAttrSet(resourceName, "ogg_data.0.ogg_version"),
565588
resource.TestCheckResourceAttrSet(resourceName, "subnet_id"),
566589

@@ -618,6 +641,8 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
618641
resource.TestCheckResourceAttr(singularDatasourceName, "backup_schedule.0.is_metadata_only", "true"),
619642
resource.TestCheckResourceAttrSet(singularDatasourceName, "backup_schedule.0.namespace"),
620643
resource.TestCheckResourceAttrSet(singularDatasourceName, "backup_schedule.0.time_backup_scheduled"),
644+
resource.TestCheckResourceAttrSet(singularDatasourceName, "availability_domain"),
645+
resource.TestCheckResourceAttrSet(singularDatasourceName, "fault_domain"),
621646
resource.TestCheckResourceAttr(singularDatasourceName, "compartment_id", compartmentId),
622647
resource.TestCheckResourceAttr(singularDatasourceName, "cpu_core_count", "1"),
623648
resource.TestCheckResourceAttr(singularDatasourceName, "deployment_type", "DATABASE_ORACLE"),
@@ -627,7 +652,7 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
627652
resource.TestCheckResourceAttrSet(singularDatasourceName, "fqdn"),
628653
resource.TestCheckResourceAttr(singularDatasourceName, "freeform_tags.%", "1"),
629654
resource.TestCheckResourceAttrSet(singularDatasourceName, "id"),
630-
resource.TestCheckResourceAttr(singularDatasourceName, "is_auto_scaling_enabled", "false"),
655+
resource.TestCheckResourceAttr(singularDatasourceName, "is_auto_scaling_enabled", "true"),
631656
resource.TestCheckResourceAttrSet(singularDatasourceName, "is_healthy"),
632657
resource.TestCheckResourceAttrSet(singularDatasourceName, "is_latest_version"),
633658
resource.TestCheckResourceAttrSet(singularDatasourceName, "is_public"),
@@ -645,6 +670,9 @@ func TestGoldenGateDeploymentResource_basic(t *testing.T) {
645670
resource.TestCheckResourceAttr(singularDatasourceName, "ogg_data.#", "1"),
646671
resource.TestCheckResourceAttr(singularDatasourceName, "ogg_data.0.credential_store", "GOLDENGATE"),
647672
resource.TestCheckResourceAttr(singularDatasourceName, "ogg_data.0.admin_username", "adminUsername2"),
673+
resource.TestCheckResourceAttr(singularDatasourceName, "placements.#", "1"),
674+
resource.TestCheckResourceAttrSet(singularDatasourceName, "placements.0.availability_domain"),
675+
resource.TestCheckResourceAttrSet(singularDatasourceName, "placements.0.fault_domain"),
648676
resource.TestCheckResourceAttrSet(singularDatasourceName, "ogg_data.0.certificate"),
649677
resource.TestCheckResourceAttrSet(singularDatasourceName, "ogg_data.0.ogg_version"),
650678
resource.TestCheckResourceAttrSet(singularDatasourceName, "private_ip_address"),

internal/integrationtest/load_balancer_load_balancer_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ var (
5454

5555
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"Department": "Finance"}, Update: map[string]string{"Department": "Accounting"}},
5656
"is_private": acctest.Representation{RepType: acctest.Optional, Create: `false`},
57+
"security_attributes": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"oracle-zpr.sa-test-lbaas.mode": "enforce", "oracle-zpr.sa-test-lbaas.value": "create-zpr-tersi-lbaas"}, Update: map[string]string{"oracle-zpr.sa-test-lbaas.value": "update-zpr-tersi-lbaas", "oracle-zpr.sa-test-lbaas.mode": "enforce"}},
5758
"is_request_id_enabled": acctest.Representation{RepType: acctest.Optional, Create: `true`, Update: `true`},
5859
"request_id_header": acctest.Representation{RepType: acctest.Optional, Create: ``, Update: `X-MyRequestB-Id`},
5960
"is_delete_protection_enabled": acctest.Representation{RepType: acctest.Optional, Create: `false`, Update: `true`},
@@ -211,6 +212,9 @@ func TestLoadBalancerLoadBalancerResource_basic(t *testing.T) {
211212
resource.TestCheckResourceAttr(resourceName, "is_request_id_enabled", "true"),
212213
resource.TestCheckResourceAttr(resourceName, "request_id_header", "X-Request-Id"),
213214
resource.TestCheckResourceAttr(resourceName, "reserved_ips.#", "1"),
215+
resource.TestCheckResourceAttr(resourceName, "security_attributes.%", "2"),
216+
resource.TestCheckResourceAttr(resourceName, "security_attributes.oracle-zpr.sa-test-lbaas.value", "create-zpr-tersi-lbaas"),
217+
resource.TestCheckResourceAttr(resourceName, "security_attributes.oracle-zpr.sa-test-lbaas.mode", "enforce"),
214218
resource.TestCheckResourceAttrSet(resourceName, "reserved_ips.0.id"),
215219
resource.TestCheckResourceAttr(resourceName, "network_security_group_ids.#", "1"),
216220
resource.TestCheckResourceAttr(resourceName, "shape", "100Mbps"),
@@ -247,6 +251,8 @@ func TestLoadBalancerLoadBalancerResource_basic(t *testing.T) {
247251
resource.TestCheckResourceAttr(resourceName, "is_request_id_enabled", "true"),
248252
resource.TestCheckResourceAttr(resourceName, "request_id_header", "X-Request-Id"),
249253
resource.TestCheckResourceAttr(resourceName, "reserved_ips.#", "1"),
254+
resource.TestCheckResourceAttr(resourceName, "security_attributes.%", "2"),
255+
250256
resource.TestCheckResourceAttrSet(resourceName, "reserved_ips.0.id"),
251257
resource.TestCheckResourceAttr(resourceName, "shape", "100Mbps"),
252258
resource.TestCheckResourceAttrSet(resourceName, "state"),
@@ -277,6 +283,9 @@ func TestLoadBalancerLoadBalancerResource_basic(t *testing.T) {
277283
resource.TestCheckResourceAttr(resourceName, "is_request_id_enabled", "true"),
278284
resource.TestCheckResourceAttr(resourceName, "request_id_header", "X-MyRequestB-Id"),
279285
resource.TestCheckResourceAttr(resourceName, "reserved_ips.#", "1"),
286+
resource.TestCheckResourceAttr(resourceName, "security_attributes.%", "2"),
287+
resource.TestCheckResourceAttr(resourceName, "security_attributes.oracle-zpr.sa-test-lbaas.value", "update-zpr-tersi-lbaas"),
288+
resource.TestCheckResourceAttr(resourceName, "security_attributes.oracle-zpr.sa-test-lbaas.mode", "enforce"),
280289
resource.TestCheckResourceAttr(resourceName, "shape", "400Mbps"),
281290
resource.TestCheckResourceAttrSet(resourceName, "reserved_ips.0.id"),
282291
resource.TestCheckResourceAttr(resourceName, "network_security_group_ids.#", "0"),
@@ -315,6 +324,7 @@ func TestLoadBalancerLoadBalancerResource_basic(t *testing.T) {
315324
resource.TestCheckResourceAttr(datasourceName, "load_balancers.0.is_private", "false"),
316325
resource.TestCheckResourceAttr(datasourceName, "load_balancers.0.network_security_group_ids.#", "0"),
317326
resource.TestCheckResourceAttr(datasourceName, "load_balancers.0.is_request_id_enabled", "true"),
327+
resource.TestCheckResourceAttr(datasourceName, "load_balancers.0.security_attributes.%", "2"),
318328
resource.TestCheckResourceAttr(datasourceName, "load_balancers.0.request_id_header", "X-MyRequestB-Id"),
319329
resource.TestCheckResourceAttr(datasourceName, "load_balancers.0.shape", "400Mbps"),
320330
resource.TestCheckResourceAttrSet(datasourceName, "load_balancers.0.state"),

internal/integrationtest/os_management_hub_software_source_remove_packages_management_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ package integrationtest
55

66
import (
77
"fmt"
8+
"strconv"
9+
"testing"
10+
811
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
912
"github.com/hashicorp/terraform-plugin-testing/terraform"
1013
"github.com/oracle/terraform-provider-oci/internal/resourcediscovery"
11-
"strconv"
12-
"testing"
1314

1415
"github.com/oracle/terraform-provider-oci/httpreplay"
1516
"github.com/oracle/terraform-provider-oci/internal/acctest"

0 commit comments

Comments
 (0)