@@ -53,8 +53,6 @@ const (
53
53
ResNameCloudExadataInfrastructure = "Cloud Exadata Infrastructure"
54
54
)
55
55
56
- var ResourceCloudExadataInfrastructure = newResourceCloudExadataInfrastructure
57
-
58
56
type resourceCloudExadataInfrastructure struct {
59
57
framework.ResourceWithModel [cloudExadataInfrastructureResourceModel ]
60
58
framework.WithTimeouts
@@ -379,7 +377,7 @@ func (r *resourceCloudExadataInfrastructure) Read(ctx context.Context, req resou
379
377
return
380
378
}
381
379
382
- out , err := FindExadataInfraResourceByID (ctx , conn , state .CloudExadataInfrastructureId .ValueString ())
380
+ out , err := findExadataInfraResourceByID (ctx , conn , state .CloudExadataInfrastructureId .ValueString ())
383
381
if tfresource .NotFound (err ) {
384
382
resp .Diagnostics .Append (fwdiag .NewResourceNotFoundWarningDiagnostic (err ))
385
383
resp .State .RemoveResource (ctx )
@@ -536,7 +534,7 @@ func waitCloudExadataInfrastructureDeleted(ctx context.Context, conn *odb.Client
536
534
537
535
func statusCloudExadataInfrastructure (ctx context.Context , conn * odb.Client , id string ) retry.StateRefreshFunc {
538
536
return func () (any , string , error ) {
539
- out , err := FindExadataInfraResourceByID (ctx , conn , id )
537
+ out , err := findExadataInfraResourceByID (ctx , conn , id )
540
538
if tfresource .NotFound (err ) {
541
539
return nil , "" , nil
542
540
}
@@ -549,7 +547,7 @@ func statusCloudExadataInfrastructure(ctx context.Context, conn *odb.Client, id
549
547
}
550
548
}
551
549
552
- func FindExadataInfraResourceByID (ctx context.Context , conn * odb.Client , id string ) (* odbtypes.CloudExadataInfrastructure , error ) {
550
+ func findExadataInfraResourceByID (ctx context.Context , conn * odb.Client , id string ) (* odbtypes.CloudExadataInfrastructure , error ) {
553
551
input := odb.GetCloudExadataInfrastructureInput {
554
552
CloudExadataInfrastructureId : aws .String (id ),
555
553
}
0 commit comments