@@ -2414,14 +2414,14 @@ func TestAccServer_ScratchStorage(t *testing.T) {
24142414 {
24152415 Config : `
24162416 resource "scaleway_instance_volume" "main" {
2417- size_in_gb = 20
2417+ size_in_gb = 1600
24182418 type = "scratch"
24192419 zone = "fr-par-2"
24202420 }
24212421
24222422 resource "scaleway_instance_server" "main" {
24232423 name = "test-acc-server-scratch"
2424- type = "H100 -1-80G "
2424+ type = "L40S -1-48G "
24252425 image = "ubuntu_jammy_gpu_os_12"
24262426 state = "stopped"
24272427 zone = "fr-par-2"
@@ -2432,10 +2432,10 @@ func TestAccServer_ScratchStorage(t *testing.T) {
24322432 Check : resource .ComposeTestCheckFunc (
24332433 instancechecks .IsServerPresent (tt , "scaleway_instance_server.main" ),
24342434 instancechecks .IsVolumePresent (tt , "scaleway_instance_volume.main" ),
2435- resource .TestCheckResourceAttr ("scaleway_instance_server.main" , "type" , "H100 -1-80G " ),
2435+ resource .TestCheckResourceAttr ("scaleway_instance_server.main" , "type" , "L40S -1-48G " ),
24362436 resource .TestCheckResourceAttr ("scaleway_instance_server.main" , "image" , "ubuntu_jammy_gpu_os_12" ),
24372437 resource .TestCheckResourceAttrPair ("scaleway_instance_server.main" , "additional_volume_ids.0" , "scaleway_instance_volume.main" , "id" ),
2438- resource .TestCheckResourceAttr ("scaleway_instance_volume.main" , "size_in_gb" , "20 " ),
2438+ resource .TestCheckResourceAttr ("scaleway_instance_volume.main" , "size_in_gb" , "1600 " ),
24392439 ),
24402440 },
24412441 },
0 commit comments