@@ -167,22 +167,22 @@ func TestAccIPAMIP_WithCustomResource(t *testing.T) {
167167 Steps : []resource.TestStep {
168168 {
169169 Config : `
170- resource scaleway_vpc vpc01 {
170+ resource " scaleway_vpc" " vpc01" {
171171 name = "my vpc"
172172 }
173-
174- resource scaleway_vpc_private_network pn01 {
173+
174+ resource " scaleway_vpc_private_network" " pn01" {
175175 vpc_id = scaleway_vpc.vpc01.id
176176 ipv4_subnet {
177- subnet = "172.16.32.0/22"
177+ subnet = "172.16.32.0/22"
178178 }
179179 }
180-
181- resource scaleway_ipam_ip ip01 {
180+
181+ resource " scaleway_ipam_ip" " ip01" {
182182 source {
183183 private_network_id = scaleway_vpc_private_network.pn01.id
184- }
185- custom_resource {
184+ }
185+ custom_resource {
186186 mac_address = "bc:24:11:74:d0:5a"
187187 }
188188 }
@@ -194,22 +194,22 @@ func TestAccIPAMIP_WithCustomResource(t *testing.T) {
194194 },
195195 {
196196 Config : `
197- resource scaleway_vpc vpc01 {
198- name = "my vpc"
197+ resource " scaleway_vpc" " vpc01" {
198+ name = "my vpc"
199199 }
200-
201- resource scaleway_vpc_private_network pn01 {
202- vpc_id = scaleway_vpc.vpc01.id
203- ipv4_subnet {
204- subnet = "172.16.32.0/22"
205- }
200+
201+ resource " scaleway_vpc_private_network" " pn01" {
202+ vpc_id = scaleway_vpc.vpc01.id
203+ ipv4_subnet {
204+ subnet = "172.16.32.0/22"
205+ }
206206 }
207-
208- resource scaleway_ipam_ip ip01 {
207+
208+ resource " scaleway_ipam_ip" " ip01" {
209209 source {
210210 private_network_id = scaleway_vpc_private_network.pn01.id
211- }
212- custom_resource {
211+ }
212+ custom_resource {
213213 mac_address = "bc:24:11:74:d0:5b"
214214 }
215215 }
@@ -221,21 +221,21 @@ func TestAccIPAMIP_WithCustomResource(t *testing.T) {
221221 },
222222 {
223223 Config : `
224- resource scaleway_vpc vpc01 {
225- name = "my vpc"
224+ resource " scaleway_vpc" " vpc01" {
225+ name = "my vpc"
226226 }
227-
228- resource scaleway_vpc_private_network pn01 {
229- vpc_id = scaleway_vpc.vpc01.id
230- ipv4_subnet {
231- subnet = "172.16.32.0/22"
232- }
227+
228+ resource " scaleway_vpc_private_network" " pn01" {
229+ vpc_id = scaleway_vpc.vpc01.id
230+ ipv4_subnet {
231+ subnet = "172.16.32.0/22"
232+ }
233233 }
234-
235- resource scaleway_ipam_ip ip01 {
234+
235+ resource " scaleway_ipam_ip" " ip01" {
236236 source {
237237 private_network_id = scaleway_vpc_private_network.pn01.id
238- }
238+ }
239239 }
240240 ` ,
241241 Check : resource .ComposeTestCheckFunc (
0 commit comments