@@ -1040,7 +1040,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) Update() error {
10401040 }
10411041
10421042 if ocpuCount , ok := s .D .GetOkExists ("ocpu_count" ); ok {
1043- tmp := ocpuCount .(float32 )
1043+ tmp := float32 ( ocpuCount .(float64 ) )
10441044 request .OcpuCount = & tmp
10451045 }
10461046
@@ -1636,7 +1636,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) populateTopLevelPolymorphicCrea
16361636 }
16371637 }
16381638 if ocpuCount , ok := s .D .GetOkExists ("ocpu_count" ); ok {
1639- tmp := ocpuCount .(float32 )
1639+ tmp := float32 ( ocpuCount .(float64 ) )
16401640 details .OcpuCount = & tmp
16411641 }
16421642 if privateEndpointLabel , ok := s .D .GetOkExists ("private_endpoint_label" ); ok {
@@ -1805,7 +1805,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) populateTopLevelPolymorphicCrea
18051805 }
18061806 }
18071807 if ocpuCount , ok := s .D .GetOkExists ("ocpu_count" ); ok {
1808- tmp := ocpuCount .(float32 )
1808+ tmp := float32 ( ocpuCount .(float64 ) )
18091809 details .OcpuCount = & tmp
18101810 }
18111811 if privateEndpointLabel , ok := s .D .GetOkExists ("private_endpoint_label" ); ok {
@@ -1967,7 +1967,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) populateTopLevelPolymorphicCrea
19671967 }
19681968 }
19691969 if ocpuCount , ok := s .D .GetOkExists ("ocpu_count" ); ok {
1970- tmp := ocpuCount .(float32 )
1970+ tmp := float32 ( ocpuCount .(float64 ) )
19711971 details .OcpuCount = & tmp
19721972 }
19731973 if privateEndpointLabel , ok := s .D .GetOkExists ("private_endpoint_label" ); ok {
@@ -2135,7 +2135,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) populateTopLevelPolymorphicCrea
21352135 }
21362136 }
21372137 if ocpuCount , ok := s .D .GetOkExists ("ocpu_count" ); ok {
2138- tmp := ocpuCount .(float32 )
2138+ tmp := float32 ( ocpuCount .(float64 ) )
21392139 details .OcpuCount = & tmp
21402140 }
21412141 if privateEndpointLabel , ok := s .D .GetOkExists ("private_endpoint_label" ); ok {
@@ -2292,7 +2292,7 @@ func (s *DatabaseAutonomousDatabaseResourceCrud) populateTopLevelPolymorphicCrea
22922292 }
22932293 }
22942294 if ocpuCount , ok := s .D .GetOkExists ("ocpu_count" ); ok {
2295- tmp := ocpuCount .(float32 )
2295+ tmp := float32 ( ocpuCount .(float64 ) )
22962296 details .OcpuCount = & tmp
22972297 }
22982298 if privateEndpointLabel , ok := s .D .GetOkExists ("private_endpoint_label" ); ok {
0 commit comments