Skip to content

Commit 14429dd

Browse files
authored
tests(lb): decouple lb ips (scaleway#2580)
1 parent c3109e5 commit 14429dd

File tree

2 files changed

+304
-199
lines changed

2 files changed

+304
-199
lines changed

internal/services/lb/lb_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ func TestAccLB_WithIPv6(t *testing.T) {
172172
ProviderFactories: tt.ProviderFactories,
173173
CheckDestroy: isLbDestroyed(tt),
174174
Steps: []resource.TestStep{
175+
{
176+
Config: `
177+
resource "scaleway_lb_ip" "v4" {
178+
}
179+
`,
180+
},
175181
{
176182
Config: `
177183
resource "scaleway_lb_ip" "v4" {
@@ -180,6 +186,7 @@ func TestAccLB_WithIPv6(t *testing.T) {
180186
resource "scaleway_lb_ip" "v6" {
181187
is_ipv6 = true
182188
}
189+
183190
resource scaleway_lb main {
184191
ip_ids = [scaleway_lb_ip.v4.id, scaleway_lb_ip.v6.id]
185192
name = "test-lb-ip-ids"

0 commit comments

Comments
 (0)