Skip to content

Commit 76a755e

Browse files
committed
BugFix - Fixed code to add globallydistributeddatabase resources and data sources
1 parent d00e8e0 commit 76a755e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

internal/provider/register_datasource.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ import (
6262
tf_fusion_apps "github.com/oracle/terraform-provider-oci/internal/service/fusion_apps"
6363
tf_generative_ai "github.com/oracle/terraform-provider-oci/internal/service/generative_ai"
6464
tf_generic_artifacts_content "github.com/oracle/terraform-provider-oci/internal/service/generic_artifacts_content"
65+
tf_globally_distributed_database "github.com/oracle/terraform-provider-oci/internal/service/globally_distributed_database"
6566
tf_golden_gate "github.com/oracle/terraform-provider-oci/internal/service/golden_gate"
6667
tf_health_checks "github.com/oracle/terraform-provider-oci/internal/service/health_checks"
6768
tf_identity "github.com/oracle/terraform-provider-oci/internal/service/identity"
@@ -302,6 +303,9 @@ func init() {
302303
if common.CheckForEnabledServices("genericartifactscontent") {
303304
tf_generic_artifacts_content.RegisterDatasource()
304305
}
306+
if common.CheckForEnabledServices("globallydistributeddatabase") {
307+
tf_globally_distributed_database.RegisterDatasource()
308+
}
305309
if common.CheckForEnabledServices("goldengate") {
306310
tf_golden_gate.RegisterDatasource()
307311
}

internal/provider/register_resource.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ import (
6262
tf_fusion_apps "github.com/oracle/terraform-provider-oci/internal/service/fusion_apps"
6363
tf_generative_ai "github.com/oracle/terraform-provider-oci/internal/service/generative_ai"
6464
tf_generic_artifacts_content "github.com/oracle/terraform-provider-oci/internal/service/generic_artifacts_content"
65+
tf_globally_distributed_database "github.com/oracle/terraform-provider-oci/internal/service/globally_distributed_database"
6566
tf_golden_gate "github.com/oracle/terraform-provider-oci/internal/service/golden_gate"
6667
tf_health_checks "github.com/oracle/terraform-provider-oci/internal/service/health_checks"
6768
tf_identity "github.com/oracle/terraform-provider-oci/internal/service/identity"
@@ -302,6 +303,9 @@ func init() {
302303
if common.CheckForEnabledServices("genericartifactscontent") {
303304
tf_generic_artifacts_content.RegisterResource()
304305
}
306+
if common.CheckForEnabledServices("globallydistributeddatabase") {
307+
tf_globally_distributed_database.RegisterResource()
308+
}
305309
if common.CheckForEnabledServices("goldengate") {
306310
tf_golden_gate.RegisterResource()
307311
}

0 commit comments

Comments
 (0)