@@ -958,6 +958,7 @@ func TestAccServer_Bootscript(t *testing.T) {
958
958
image = "ubuntu_focal"
959
959
boot_type = "bootscript"
960
960
bootscript_id = "%s"
961
+ routed_ip_enabled = false
961
962
}
962
963
` , bootscript ),
963
964
Check : resource .ComposeTestCheckFunc (
@@ -1485,6 +1486,7 @@ func TestAccServer_RoutedIPEnable(t *testing.T) {
1485
1486
image = "ubuntu_jammy"
1486
1487
type = "PRO2-XXS"
1487
1488
state = "stopped"
1489
+ routed_ip_enabled = false
1488
1490
}` ,
1489
1491
Check : resource .ComposeTestCheckFunc (
1490
1492
arePrivateNICsPresent (tt , "scaleway_instance_server.main" ),
@@ -1520,6 +1522,7 @@ func TestAccServer_RoutedIPEnableWithIP(t *testing.T) {
1520
1522
{
1521
1523
Config : `
1522
1524
resource "scaleway_instance_ip" "main" {
1525
+ type = "nat"
1523
1526
}
1524
1527
1525
1528
resource "scaleway_instance_server" "main" {
@@ -1528,6 +1531,7 @@ func TestAccServer_RoutedIPEnableWithIP(t *testing.T) {
1528
1531
image = "ubuntu_jammy"
1529
1532
type = "PRO2-XXS"
1530
1533
state = "stopped"
1534
+ routed_ip_enabled = false
1531
1535
}` ,
1532
1536
Check : resource .ComposeTestCheckFunc (
1533
1537
arePrivateNICsPresent (tt , "scaleway_instance_server.main" ),
@@ -1536,8 +1540,7 @@ func TestAccServer_RoutedIPEnableWithIP(t *testing.T) {
1536
1540
},
1537
1541
{
1538
1542
Config : `
1539
- resource "scaleway_instance_ip" "main" {
1540
- }
1543
+ resource "scaleway_instance_ip" "main" {}
1541
1544
1542
1545
resource "scaleway_instance_server" "main" {
1543
1546
name = "tf-tests-instance-server-routedip-enable-with-ip"
@@ -1779,13 +1782,16 @@ func TestAccServer_IPMigrate(t *testing.T) {
1779
1782
{
1780
1783
ProviderFactories : providerFactories ,
1781
1784
Config : fmt .Sprintf (`
1782
- resource "scaleway_instance_ip" "ip" {}
1785
+ resource "scaleway_instance_ip" "ip" {
1786
+ type = "nat"
1787
+ }
1783
1788
1784
1789
resource "scaleway_instance_server" "main" {
1785
1790
ip_id = scaleway_instance_ip.ip.id
1786
1791
image = "ubuntu_jammy"
1787
1792
type = "PRO2-XXS"
1788
1793
state = "stopped"
1794
+ routed_ip_enabled = false
1789
1795
}
1790
1796
1791
1797
resource "scaleway_iam_application" "app" {
0 commit comments