File tree Expand file tree Collapse file tree 2 files changed +1257
-280
lines changed Expand file tree Collapse file tree 2 files changed +1257
-280
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,45 @@ func TestAccScalewayDataSourceLbs_Basic(t *testing.T) {
3030 resource scaleway_lb_ip ip2 {
3131 }
3232
33+ resource scaleway_lb lb1 {
34+ ip_id = scaleway_lb_ip.ip1.id
35+ name = "tf-lb-datasource0"
36+ description = "a description"
37+ type = "LB-S"
38+ }
39+ ` ,
40+ },
41+ {
42+ Config : `
43+ resource scaleway_lb_ip ip1 {
44+ }
45+
46+ resource scaleway_lb_ip ip2 {
47+ }
48+
49+ resource scaleway_lb lb1 {
50+ ip_id = scaleway_lb_ip.ip1.id
51+ name = "tf-lb-datasource0"
52+ description = "a description"
53+ type = "LB-S"
54+ }
55+
56+ resource scaleway_lb lb2 {
57+ ip_id = scaleway_lb_ip.ip2.id
58+ name = "tf-lb-datasource1"
59+ description = "a description"
60+ type = "LB-S"
61+ }
62+ ` ,
63+ },
64+ {
65+ Config : `
66+ resource scaleway_lb_ip ip1 {
67+ }
68+
69+ resource scaleway_lb_ip ip2 {
70+ }
71+
3372 resource scaleway_lb lb1 {
3473 ip_id = scaleway_lb_ip.ip1.id
3574 name = "tf-lb-datasource0"
You can’t perform that action at this time.
0 commit comments