Skip to content

Commit 4a2d09e

Browse files
authored
test(vpc): isolate each private network in its own vpc to avoid subnet overlaps (#2105)
1 parent ee832b2 commit 4a2d09e

3 files changed

+452
-95
lines changed

scaleway/resource_vpc_private_network_test.go

+32-13
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,14 @@ func TestAccScalewayVPCPrivateNetwork_Subnets(t *testing.T) {
143143
CheckDestroy: testAccCheckScalewayVPCPrivateNetworkDestroy(tt),
144144
Steps: []resource.TestStep{
145145
{
146-
Config: `resource scaleway_vpc_private_network test {}`,
146+
Config: `
147+
resource scaleway_vpc vpc01 {
148+
name = "my vpc"
149+
}
150+
151+
resource scaleway_vpc_private_network test {
152+
vpc_id = scaleway_vpc.vpc01.id
153+
}`,
147154
Check: resource.ComposeTestCheckFunc(
148155
testAccCheckScalewayVPCPrivateNetworkExists(
149156
tt,
@@ -162,14 +169,20 @@ func TestAccScalewayVPCPrivateNetwork_Subnets(t *testing.T) {
162169
),
163170
},
164171
{
165-
Config: `resource scaleway_vpc_private_network test {
166-
ipv4_subnet {
167-
subnet = "172.16.32.0/22"
168-
}
169-
ipv6_subnets {
170-
subnet = "fd46:78ab:30b8:177c::/64"
172+
Config: `
173+
resource scaleway_vpc vpc01 {
174+
name = "my vpc"
171175
}
172-
}`,
176+
177+
resource scaleway_vpc_private_network test {
178+
ipv4_subnet {
179+
subnet = "172.16.32.0/22"
180+
}
181+
ipv6_subnets {
182+
subnet = "fd46:78ab:30b8:177c::/64"
183+
}
184+
vpc_id = scaleway_vpc.vpc01.id
185+
}`,
173186
Check: resource.ComposeTestCheckFunc(
174187
testAccCheckScalewayVPCPrivateNetworkExists(
175188
tt,
@@ -235,11 +248,17 @@ func TestAccScalewayVPCPrivateNetwork_OneSubnet(t *testing.T) {
235248
CheckDestroy: testAccCheckScalewayVPCPrivateNetworkDestroy(tt),
236249
Steps: []resource.TestStep{
237250
{
238-
Config: `resource scaleway_vpc_private_network test {
239-
ipv4_subnet {
240-
subnet = "172.16.64.0/22"
241-
}
242-
}`,
251+
Config: `
252+
resource scaleway_vpc vpc01 {
253+
name = "my vpc"
254+
}
255+
256+
resource scaleway_vpc_private_network test {
257+
ipv4_subnet {
258+
subnet = "172.16.64.0/22"
259+
}
260+
vpc_id = scaleway_vpc.vpc01.id
261+
}`,
243262
Check: resource.ComposeTestCheckFunc(
244263
testAccCheckScalewayVPCPrivateNetworkExists(
245264
tt,

scaleway/testdata/vpc-private-network-one-subnet.cassette.yaml

+162-27
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,77 @@
22
version: 1
33
interactions:
44
- request:
5-
body: '{"name":"tf-pn-goofy-montalcini","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","tags":null,"subnets":["172.16.64.0/22"],"vpc_id":null}'
5+
body: '{"name":"my vpc","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","tags":null}'
6+
form: {}
7+
headers:
8+
Content-Type:
9+
- application/json
10+
User-Agent:
11+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
12+
terraform/terraform-tests
13+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs
14+
method: POST
15+
response:
16+
body: '{"created_at":"2023-08-23T14:23:02.148204Z","id":"11206c89-245d-4962-9554-4116b4bd3ee9","is_default":false,"name":"my
17+
vpc","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","private_network_count":0,"project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","tags":[],"updated_at":"2023-08-23T14:23:02.148204Z"}'
18+
headers:
19+
Content-Length:
20+
- "338"
21+
Content-Security-Policy:
22+
- default-src 'none'; frame-ancestors 'none'
23+
Content-Type:
24+
- application/json
25+
Date:
26+
- Wed, 23 Aug 2023 14:23:02 GMT
27+
Server:
28+
- Scaleway API-Gateway
29+
Strict-Transport-Security:
30+
- max-age=63072000
31+
X-Content-Type-Options:
32+
- nosniff
33+
X-Frame-Options:
34+
- DENY
35+
X-Request-Id:
36+
- a0ee8047-ca01-430c-9283-db4bd9f541aa
37+
status: 200 OK
38+
code: 200
39+
duration: ""
40+
- request:
41+
body: ""
42+
form: {}
43+
headers:
44+
User-Agent:
45+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
46+
terraform/terraform-tests
47+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/11206c89-245d-4962-9554-4116b4bd3ee9
48+
method: GET
49+
response:
50+
body: '{"created_at":"2023-08-23T14:23:02.148204Z","id":"11206c89-245d-4962-9554-4116b4bd3ee9","is_default":false,"name":"my
51+
vpc","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","private_network_count":0,"project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","tags":[],"updated_at":"2023-08-23T14:23:02.148204Z"}'
52+
headers:
53+
Content-Length:
54+
- "338"
55+
Content-Security-Policy:
56+
- default-src 'none'; frame-ancestors 'none'
57+
Content-Type:
58+
- application/json
59+
Date:
60+
- Wed, 23 Aug 2023 14:23:02 GMT
61+
Server:
62+
- Scaleway API-Gateway
63+
Strict-Transport-Security:
64+
- max-age=63072000
65+
X-Content-Type-Options:
66+
- nosniff
67+
X-Frame-Options:
68+
- DENY
69+
X-Request-Id:
70+
- cc52e9a2-eb11-4d09-b789-70683e4dca47
71+
status: 200 OK
72+
code: 200
73+
duration: ""
74+
- request:
75+
body: '{"name":"tf-pn-elegant-murdock","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","tags":null,"subnets":["172.16.64.0/22"],"vpc_id":"11206c89-245d-4962-9554-4116b4bd3ee9"}'
676
form: {}
777
headers:
878
Content-Type:
@@ -13,16 +83,16 @@ interactions:
1383
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks
1484
method: POST
1585
response:
16-
body: '{"created_at":"2023-08-18T11:35:26.505768Z","dhcp_enabled":true,"id":"cd1d372c-3eeb-47bf-bc8d-8de763fa1689","name":"tf-pn-goofy-montalcini","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-18T11:35:26.505768Z","id":"eed4a03d-ecaa-41c2-b729-1744d0b2b814","subnet":"172.16.64.0/22","updated_at":"2023-08-18T11:35:26.505768Z"},{"created_at":"2023-08-18T11:35:26.505768Z","id":"2ed90606-8915-4143-a55c-3cbf3de26925","subnet":"fd46:78ab:30b8:e02a::/64","updated_at":"2023-08-18T11:35:26.505768Z"}],"tags":[],"updated_at":"2023-08-18T11:35:26.505768Z","vpc_id":"086a5171-f7ab-4667-a231-840a81203f19"}'
86+
body: '{"created_at":"2023-08-23T14:23:02.565778Z","dhcp_enabled":true,"id":"b186e87f-fbf4-4949-ab98-2f66a1b5f5d6","name":"tf-pn-elegant-murdock","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-23T14:23:02.565778Z","id":"d826136e-1d08-45be-8836-f7d783de0fa1","subnet":"172.16.64.0/22","updated_at":"2023-08-23T14:23:02.565778Z"},{"created_at":"2023-08-23T14:23:02.565778Z","id":"38aff6e3-aef2-4af1-8c6a-aa2bb9d1b88b","subnet":"fd46:78ab:30b8:a495::/64","updated_at":"2023-08-23T14:23:02.565778Z"}],"tags":[],"updated_at":"2023-08-23T14:23:02.565778Z","vpc_id":"11206c89-245d-4962-9554-4116b4bd3ee9"}'
1787
headers:
1888
Content-Length:
19-
- "723"
89+
- "722"
2090
Content-Security-Policy:
2191
- default-src 'none'; frame-ancestors 'none'
2292
Content-Type:
2393
- application/json
2494
Date:
25-
- Fri, 18 Aug 2023 11:35:30 GMT
95+
- Wed, 23 Aug 2023 14:23:04 GMT
2696
Server:
2797
- Scaleway API-Gateway
2898
Strict-Transport-Security:
@@ -32,7 +102,7 @@ interactions:
32102
X-Frame-Options:
33103
- DENY
34104
X-Request-Id:
35-
- 02ec798d-34df-48f4-8513-03c87008f004
105+
- 8d066342-7e88-4b05-b170-0dc3c00b9ce0
36106
status: 200 OK
37107
code: 200
38108
duration: ""
@@ -43,19 +113,19 @@ interactions:
43113
User-Agent:
44114
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
45115
terraform/terraform-tests
46-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/cd1d372c-3eeb-47bf-bc8d-8de763fa1689
116+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/b186e87f-fbf4-4949-ab98-2f66a1b5f5d6
47117
method: GET
48118
response:
49-
body: '{"created_at":"2023-08-18T11:35:26.505768Z","dhcp_enabled":true,"id":"cd1d372c-3eeb-47bf-bc8d-8de763fa1689","name":"tf-pn-goofy-montalcini","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-18T11:35:26.505768Z","id":"eed4a03d-ecaa-41c2-b729-1744d0b2b814","subnet":"172.16.64.0/22","updated_at":"2023-08-18T11:35:26.505768Z"},{"created_at":"2023-08-18T11:35:26.505768Z","id":"2ed90606-8915-4143-a55c-3cbf3de26925","subnet":"fd46:78ab:30b8:e02a::/64","updated_at":"2023-08-18T11:35:26.505768Z"}],"tags":[],"updated_at":"2023-08-18T11:35:26.505768Z","vpc_id":"086a5171-f7ab-4667-a231-840a81203f19"}'
119+
body: '{"created_at":"2023-08-23T14:23:02.565778Z","dhcp_enabled":true,"id":"b186e87f-fbf4-4949-ab98-2f66a1b5f5d6","name":"tf-pn-elegant-murdock","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-23T14:23:02.565778Z","id":"d826136e-1d08-45be-8836-f7d783de0fa1","subnet":"172.16.64.0/22","updated_at":"2023-08-23T14:23:02.565778Z"},{"created_at":"2023-08-23T14:23:02.565778Z","id":"38aff6e3-aef2-4af1-8c6a-aa2bb9d1b88b","subnet":"fd46:78ab:30b8:a495::/64","updated_at":"2023-08-23T14:23:02.565778Z"}],"tags":[],"updated_at":"2023-08-23T14:23:02.565778Z","vpc_id":"11206c89-245d-4962-9554-4116b4bd3ee9"}'
50120
headers:
51121
Content-Length:
52-
- "723"
122+
- "722"
53123
Content-Security-Policy:
54124
- default-src 'none'; frame-ancestors 'none'
55125
Content-Type:
56126
- application/json
57127
Date:
58-
- Fri, 18 Aug 2023 11:35:30 GMT
128+
- Wed, 23 Aug 2023 14:23:04 GMT
59129
Server:
60130
- Scaleway API-Gateway
61131
Strict-Transport-Security:
@@ -65,7 +135,7 @@ interactions:
65135
X-Frame-Options:
66136
- DENY
67137
X-Request-Id:
68-
- 7785e172-3140-42d7-969c-48133f561265
138+
- 83ae4e4d-b33a-4967-b422-eaa73c7d79d3
69139
status: 200 OK
70140
code: 200
71141
duration: ""
@@ -76,19 +146,19 @@ interactions:
76146
User-Agent:
77147
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
78148
terraform/terraform-tests
79-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/cd1d372c-3eeb-47bf-bc8d-8de763fa1689
149+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/b186e87f-fbf4-4949-ab98-2f66a1b5f5d6
80150
method: GET
81151
response:
82-
body: '{"created_at":"2023-08-18T11:35:26.505768Z","dhcp_enabled":true,"id":"cd1d372c-3eeb-47bf-bc8d-8de763fa1689","name":"tf-pn-goofy-montalcini","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-18T11:35:26.505768Z","id":"eed4a03d-ecaa-41c2-b729-1744d0b2b814","subnet":"172.16.64.0/22","updated_at":"2023-08-18T11:35:26.505768Z"},{"created_at":"2023-08-18T11:35:26.505768Z","id":"2ed90606-8915-4143-a55c-3cbf3de26925","subnet":"fd46:78ab:30b8:e02a::/64","updated_at":"2023-08-18T11:35:26.505768Z"}],"tags":[],"updated_at":"2023-08-18T11:35:26.505768Z","vpc_id":"086a5171-f7ab-4667-a231-840a81203f19"}'
152+
body: '{"created_at":"2023-08-23T14:23:02.565778Z","dhcp_enabled":true,"id":"b186e87f-fbf4-4949-ab98-2f66a1b5f5d6","name":"tf-pn-elegant-murdock","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-23T14:23:02.565778Z","id":"d826136e-1d08-45be-8836-f7d783de0fa1","subnet":"172.16.64.0/22","updated_at":"2023-08-23T14:23:02.565778Z"},{"created_at":"2023-08-23T14:23:02.565778Z","id":"38aff6e3-aef2-4af1-8c6a-aa2bb9d1b88b","subnet":"fd46:78ab:30b8:a495::/64","updated_at":"2023-08-23T14:23:02.565778Z"}],"tags":[],"updated_at":"2023-08-23T14:23:02.565778Z","vpc_id":"11206c89-245d-4962-9554-4116b4bd3ee9"}'
83153
headers:
84154
Content-Length:
85-
- "723"
155+
- "722"
86156
Content-Security-Policy:
87157
- default-src 'none'; frame-ancestors 'none'
88158
Content-Type:
89159
- application/json
90160
Date:
91-
- Fri, 18 Aug 2023 11:35:31 GMT
161+
- Wed, 23 Aug 2023 14:23:04 GMT
92162
Server:
93163
- Scaleway API-Gateway
94164
Strict-Transport-Security:
@@ -98,7 +168,7 @@ interactions:
98168
X-Frame-Options:
99169
- DENY
100170
X-Request-Id:
101-
- 42aff3c5-cccb-4094-956b-9e8abe7eb72b
171+
- 564a0584-6a0a-47fd-8b22-c1fc43d48095
102172
status: 200 OK
103173
code: 200
104174
duration: ""
@@ -109,19 +179,20 @@ interactions:
109179
User-Agent:
110180
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
111181
terraform/terraform-tests
112-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/cd1d372c-3eeb-47bf-bc8d-8de763fa1689
182+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/11206c89-245d-4962-9554-4116b4bd3ee9
113183
method: GET
114184
response:
115-
body: '{"created_at":"2023-08-18T11:35:26.505768Z","dhcp_enabled":true,"id":"cd1d372c-3eeb-47bf-bc8d-8de763fa1689","name":"tf-pn-goofy-montalcini","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-18T11:35:26.505768Z","id":"eed4a03d-ecaa-41c2-b729-1744d0b2b814","subnet":"172.16.64.0/22","updated_at":"2023-08-18T11:35:26.505768Z"},{"created_at":"2023-08-18T11:35:26.505768Z","id":"2ed90606-8915-4143-a55c-3cbf3de26925","subnet":"fd46:78ab:30b8:e02a::/64","updated_at":"2023-08-18T11:35:26.505768Z"}],"tags":[],"updated_at":"2023-08-18T11:35:26.505768Z","vpc_id":"086a5171-f7ab-4667-a231-840a81203f19"}'
185+
body: '{"created_at":"2023-08-23T14:23:02.148204Z","id":"11206c89-245d-4962-9554-4116b4bd3ee9","is_default":false,"name":"my
186+
vpc","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","private_network_count":1,"project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","tags":[],"updated_at":"2023-08-23T14:23:02.148204Z"}'
116187
headers:
117188
Content-Length:
118-
- "723"
189+
- "338"
119190
Content-Security-Policy:
120191
- default-src 'none'; frame-ancestors 'none'
121192
Content-Type:
122193
- application/json
123194
Date:
124-
- Fri, 18 Aug 2023 11:35:31 GMT
195+
- Wed, 23 Aug 2023 14:23:05 GMT
125196
Server:
126197
- Scaleway API-Gateway
127198
Strict-Transport-Security:
@@ -131,7 +202,7 @@ interactions:
131202
X-Frame-Options:
132203
- DENY
133204
X-Request-Id:
134-
- 82530768-6d12-49b9-b8f9-da1b6f4ed43a
205+
- b93b3b0d-384b-4657-a65d-64e0bcd81fdc
135206
status: 200 OK
136207
code: 200
137208
duration: ""
@@ -142,7 +213,71 @@ interactions:
142213
User-Agent:
143214
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
144215
terraform/terraform-tests
145-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/cd1d372c-3eeb-47bf-bc8d-8de763fa1689
216+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/b186e87f-fbf4-4949-ab98-2f66a1b5f5d6
217+
method: GET
218+
response:
219+
body: '{"created_at":"2023-08-23T14:23:02.565778Z","dhcp_enabled":true,"id":"b186e87f-fbf4-4949-ab98-2f66a1b5f5d6","name":"tf-pn-elegant-murdock","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","region":"fr-par","subnets":[{"created_at":"2023-08-23T14:23:02.565778Z","id":"d826136e-1d08-45be-8836-f7d783de0fa1","subnet":"172.16.64.0/22","updated_at":"2023-08-23T14:23:02.565778Z"},{"created_at":"2023-08-23T14:23:02.565778Z","id":"38aff6e3-aef2-4af1-8c6a-aa2bb9d1b88b","subnet":"fd46:78ab:30b8:a495::/64","updated_at":"2023-08-23T14:23:02.565778Z"}],"tags":[],"updated_at":"2023-08-23T14:23:02.565778Z","vpc_id":"11206c89-245d-4962-9554-4116b4bd3ee9"}'
220+
headers:
221+
Content-Length:
222+
- "722"
223+
Content-Security-Policy:
224+
- default-src 'none'; frame-ancestors 'none'
225+
Content-Type:
226+
- application/json
227+
Date:
228+
- Wed, 23 Aug 2023 14:23:05 GMT
229+
Server:
230+
- Scaleway API-Gateway
231+
Strict-Transport-Security:
232+
- max-age=63072000
233+
X-Content-Type-Options:
234+
- nosniff
235+
X-Frame-Options:
236+
- DENY
237+
X-Request-Id:
238+
- 6e3f7900-28e2-49ea-8db8-d096aa05f6f4
239+
status: 200 OK
240+
code: 200
241+
duration: ""
242+
- request:
243+
body: ""
244+
form: {}
245+
headers:
246+
User-Agent:
247+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
248+
terraform/terraform-tests
249+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/b186e87f-fbf4-4949-ab98-2f66a1b5f5d6
250+
method: DELETE
251+
response:
252+
body: ""
253+
headers:
254+
Content-Security-Policy:
255+
- default-src 'none'; frame-ancestors 'none'
256+
Content-Type:
257+
- application/json
258+
Date:
259+
- Wed, 23 Aug 2023 14:23:07 GMT
260+
Server:
261+
- Scaleway API-Gateway
262+
Strict-Transport-Security:
263+
- max-age=63072000
264+
X-Content-Type-Options:
265+
- nosniff
266+
X-Frame-Options:
267+
- DENY
268+
X-Request-Id:
269+
- 53be7fa5-34cb-4b87-9ecb-a05ab41b543e
270+
status: 204 No Content
271+
code: 204
272+
duration: ""
273+
- request:
274+
body: ""
275+
form: {}
276+
headers:
277+
User-Agent:
278+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
279+
terraform/terraform-tests
280+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/11206c89-245d-4962-9554-4116b4bd3ee9
146281
method: DELETE
147282
response:
148283
body: ""
@@ -152,7 +287,7 @@ interactions:
152287
Content-Type:
153288
- application/json
154289
Date:
155-
- Fri, 18 Aug 2023 11:35:33 GMT
290+
- Wed, 23 Aug 2023 14:23:07 GMT
156291
Server:
157292
- Scaleway API-Gateway
158293
Strict-Transport-Security:
@@ -162,7 +297,7 @@ interactions:
162297
X-Frame-Options:
163298
- DENY
164299
X-Request-Id:
165-
- 527a2734-1e39-4e54-946d-ff694fb943ea
300+
- 878ce8ed-6694-4e90-b5c3-fb13b72857ef
166301
status: 204 No Content
167302
code: 204
168303
duration: ""
@@ -173,10 +308,10 @@ interactions:
173308
User-Agent:
174309
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop
175310
terraform/terraform-tests
176-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/cd1d372c-3eeb-47bf-bc8d-8de763fa1689
311+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/b186e87f-fbf4-4949-ab98-2f66a1b5f5d6
177312
method: GET
178313
response:
179-
body: '{"message":"resource is not found","resource":"private_network","resource_id":"cd1d372c-3eeb-47bf-bc8d-8de763fa1689","type":"not_found"}'
314+
body: '{"message":"resource is not found","resource":"private_network","resource_id":"b186e87f-fbf4-4949-ab98-2f66a1b5f5d6","type":"not_found"}'
180315
headers:
181316
Content-Length:
182317
- "136"
@@ -185,7 +320,7 @@ interactions:
185320
Content-Type:
186321
- application/json
187322
Date:
188-
- Fri, 18 Aug 2023 11:35:33 GMT
323+
- Wed, 23 Aug 2023 14:23:07 GMT
189324
Server:
190325
- Scaleway API-Gateway
191326
Strict-Transport-Security:
@@ -195,7 +330,7 @@ interactions:
195330
X-Frame-Options:
196331
- DENY
197332
X-Request-Id:
198-
- db8a64e0-880c-4dde-8e3f-0f62470ab8c1
333+
- 906492c6-42c3-4609-888b-5491c5c62220
199334
status: 404 Not Found
200335
code: 404
201336
duration: ""

0 commit comments

Comments
 (0)