Skip to content

Commit 2430752

Browse files
Added - Disabled resource discovery code for os_management_hub service due to infinite loop issue
1 parent 7ec8a16 commit 2430752

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

internal/service/os_management_hub/os_management_hub_export.go

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
func init() {
10-
tf_export.RegisterCompartmentGraphs("os_management_hub", osManagementHubResourceGraph)
10+
//tf_export.RegisterCompartmentGraphs("os_management_hub", osManagementHubResourceGraph)
1111
}
1212

1313
// Hints for discovering and exporting this resource to configuration and state files
@@ -286,12 +286,15 @@ var osManagementHubResourceGraph = tf_export.TerraformResourceGraph{
286286
{TerraformResourceHints: exportOsManagementHubSoftwareSourceHints},
287287
{TerraformResourceHints: exportOsManagementHubEventHints},
288288
},
289-
"oci_os_management_hub_software_source": {
290-
{
291-
TerraformResourceHints: exportOsManagementHubSoftwareSourceHints,
292-
DatasourceQueryParams: map[string]string{
293-
"software_source_id": "id",
289+
/*
290+
Below code is causing infinite loop in resource discovery
291+
"oci_os_management_hub_software_source": {
292+
{
293+
TerraformResourceHints: exportOsManagementHubSoftwareSourceHints,
294+
DatasourceQueryParams: map[string]string{
295+
"software_source_id": "id",
296+
},
294297
},
295298
},
296-
},
299+
*/
297300
}

0 commit comments

Comments
 (0)