Skip to content

Commit 77ba4c1

Browse files
committed
fix 500 vpc
1 parent 18e2aed commit 77ba4c1

15 files changed

+3185
-3136
lines changed

internal/services/vpc/testdata/data-source-routes-basic.cassette.yaml

Lines changed: 834 additions & 785 deletions
Large diffs are not rendered by default.

internal/services/vpc/testdata/data-source-vp-cs-basic.cassette.yaml

Lines changed: 198 additions & 198 deletions
Large diffs are not rendered by default.

internal/services/vpc/testdata/data-source-vpc-basic.cassette.yaml

Lines changed: 163 additions & 163 deletions
Large diffs are not rendered by default.

internal/services/vpc/testdata/data-source-vpc-default.cassette.yaml

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

internal/services/vpc/testdata/data-source-vpc-private-network-basic.cassette.yaml

Lines changed: 185 additions & 185 deletions
Large diffs are not rendered by default.

internal/services/vpc/testdata/data-source-vpc-private-network-vpc-id.cassette.yaml

Lines changed: 358 additions & 358 deletions
Large diffs are not rendered by default.

internal/services/vpc/testdata/vpc-basic.cassette.yaml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,31 @@ interactions:
2727
proto_minor: 0
2828
transfer_encoding: []
2929
trailer: {}
30-
content_length: 354
30+
content_length: 364
3131
uncompressed: false
32-
body: '{"created_at":"2025-01-24T14:47:33.663332Z","id":"cdc6cf40-27c9-403d-b1e8-774e621e054a","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-24T14:47:33.663332Z"}'
32+
body: '{"created_at":"2025-01-28T10:05:15.946341Z","id":"01e9de51-1156-4ace-9b02-8048eb21ce68","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-28T10:05:15.946341Z"}'
3333
headers:
3434
Content-Length:
35-
- "354"
35+
- "364"
3636
Content-Security-Policy:
3737
- default-src 'none'; frame-ancestors 'none'
3838
Content-Type:
3939
- application/json
4040
Date:
41-
- Fri, 24 Jan 2025 14:47:33 GMT
41+
- Tue, 28 Jan 2025 10:05:15 GMT
4242
Server:
43-
- Scaleway API Gateway (fr-par-1;edge01)
43+
- Scaleway API Gateway (fr-par-1;edge02)
4444
Strict-Transport-Security:
4545
- max-age=63072000
4646
X-Content-Type-Options:
4747
- nosniff
4848
X-Frame-Options:
4949
- DENY
5050
X-Request-Id:
51-
- f8c4b7ba-c2c8-4b3e-ad1f-15eba614229f
51+
- e13796ae-45a3-40e5-8e9d-b4af2e3b710e
5252
status: 200 OK
5353
code: 200
54-
duration: 67.214292ms
54+
duration: 414.722792ms
5555
- id: 1
5656
request:
5757
proto: HTTP/1.1
@@ -68,7 +68,7 @@ interactions:
6868
headers:
6969
User-Agent:
7070
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests
71-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/cdc6cf40-27c9-403d-b1e8-774e621e054a
71+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/01e9de51-1156-4ace-9b02-8048eb21ce68
7272
method: GET
7373
response:
7474
proto: HTTP/2.0
@@ -78,7 +78,7 @@ interactions:
7878
trailer: {}
7979
content_length: 354
8080
uncompressed: false
81-
body: '{"created_at":"2025-01-24T14:47:33.663332Z","id":"cdc6cf40-27c9-403d-b1e8-774e621e054a","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-24T14:47:33.663332Z"}'
81+
body: '{"created_at":"2025-01-28T10:05:15.946341Z","id":"01e9de51-1156-4ace-9b02-8048eb21ce68","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-28T10:05:15.946341Z"}'
8282
headers:
8383
Content-Length:
8484
- "354"
@@ -87,20 +87,20 @@ interactions:
8787
Content-Type:
8888
- application/json
8989
Date:
90-
- Fri, 24 Jan 2025 14:47:33 GMT
90+
- Tue, 28 Jan 2025 10:05:15 GMT
9191
Server:
92-
- Scaleway API Gateway (fr-par-1;edge01)
92+
- Scaleway API Gateway (fr-par-1;edge02)
9393
Strict-Transport-Security:
9494
- max-age=63072000
9595
X-Content-Type-Options:
9696
- nosniff
9797
X-Frame-Options:
9898
- DENY
9999
X-Request-Id:
100-
- f78f4a77-0329-4293-9c2d-c4446824814a
100+
- 549403ec-acf6-4688-b88b-ab23d59d1746
101101
status: 200 OK
102102
code: 200
103-
duration: 28.364375ms
103+
duration: 30.044958ms
104104
- id: 2
105105
request:
106106
proto: HTTP/1.1
@@ -117,39 +117,39 @@ interactions:
117117
headers:
118118
User-Agent:
119119
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests
120-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/cdc6cf40-27c9-403d-b1e8-774e621e054a
120+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/01e9de51-1156-4ace-9b02-8048eb21ce68
121121
method: GET
122122
response:
123123
proto: HTTP/2.0
124124
proto_major: 2
125125
proto_minor: 0
126126
transfer_encoding: []
127127
trailer: {}
128-
content_length: 354
128+
content_length: 364
129129
uncompressed: false
130-
body: '{"created_at":"2025-01-24T14:47:33.663332Z","id":"cdc6cf40-27c9-403d-b1e8-774e621e054a","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-24T14:47:33.663332Z"}'
130+
body: '{"created_at":"2025-01-28T10:05:15.946341Z","id":"01e9de51-1156-4ace-9b02-8048eb21ce68","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-28T10:05:15.946341Z"}'
131131
headers:
132132
Content-Length:
133-
- "354"
133+
- "364"
134134
Content-Security-Policy:
135135
- default-src 'none'; frame-ancestors 'none'
136136
Content-Type:
137137
- application/json
138138
Date:
139-
- Fri, 24 Jan 2025 14:47:34 GMT
139+
- Tue, 28 Jan 2025 10:05:16 GMT
140140
Server:
141-
- Scaleway API Gateway (fr-par-1;edge01)
141+
- Scaleway API Gateway (fr-par-1;edge02)
142142
Strict-Transport-Security:
143143
- max-age=63072000
144144
X-Content-Type-Options:
145145
- nosniff
146146
X-Frame-Options:
147147
- DENY
148148
X-Request-Id:
149-
- b8fcf3af-dc4e-4c6b-809b-186809c11646
149+
- c3710d8b-c85f-4598-b064-007be4d16610
150150
status: 200 OK
151151
code: 200
152-
duration: 85.358541ms
152+
duration: 30.106083ms
153153
- id: 3
154154
request:
155155
proto: HTTP/1.1
@@ -166,39 +166,39 @@ interactions:
166166
headers:
167167
User-Agent:
168168
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests
169-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/cdc6cf40-27c9-403d-b1e8-774e621e054a
169+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/01e9de51-1156-4ace-9b02-8048eb21ce68
170170
method: GET
171171
response:
172172
proto: HTTP/2.0
173173
proto_major: 2
174174
proto_minor: 0
175175
transfer_encoding: []
176176
trailer: {}
177-
content_length: 354
177+
content_length: 364
178178
uncompressed: false
179-
body: '{"created_at":"2025-01-24T14:47:33.663332Z","id":"cdc6cf40-27c9-403d-b1e8-774e621e054a","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-24T14:47:33.663332Z"}'
179+
body: '{"created_at":"2025-01-28T10:05:15.946341Z","id":"01e9de51-1156-4ace-9b02-8048eb21ce68","is_default":false,"name":"test-vpc","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","private_network_count":0,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","routing_enabled":true,"tags":[],"updated_at":"2025-01-28T10:05:15.946341Z"}'
180180
headers:
181181
Content-Length:
182-
- "354"
182+
- "364"
183183
Content-Security-Policy:
184184
- default-src 'none'; frame-ancestors 'none'
185185
Content-Type:
186186
- application/json
187187
Date:
188-
- Fri, 24 Jan 2025 14:47:35 GMT
188+
- Tue, 28 Jan 2025 10:05:17 GMT
189189
Server:
190-
- Scaleway API Gateway (fr-par-1;edge01)
190+
- Scaleway API Gateway (fr-par-1;edge02)
191191
Strict-Transport-Security:
192192
- max-age=63072000
193193
X-Content-Type-Options:
194194
- nosniff
195195
X-Frame-Options:
196196
- DENY
197197
X-Request-Id:
198-
- e725d881-8368-4ef2-9e34-3cb797b1ed8e
198+
- 9734e596-fee9-4111-b7e7-90b65d26ea5d
199199
status: 200 OK
200200
code: 200
201-
duration: 32.775542ms
201+
duration: 38.359416ms
202202
- id: 4
203203
request:
204204
proto: HTTP/1.1
@@ -215,7 +215,7 @@ interactions:
215215
headers:
216216
User-Agent:
217217
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests
218-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/cdc6cf40-27c9-403d-b1e8-774e621e054a
218+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/01e9de51-1156-4ace-9b02-8048eb21ce68
219219
method: DELETE
220220
response:
221221
proto: HTTP/2.0
@@ -232,20 +232,20 @@ interactions:
232232
Content-Type:
233233
- application/json
234234
Date:
235-
- Fri, 24 Jan 2025 14:47:36 GMT
235+
- Tue, 28 Jan 2025 10:05:18 GMT
236236
Server:
237-
- Scaleway API Gateway (fr-par-1;edge01)
237+
- Scaleway API Gateway (fr-par-1;edge02)
238238
Strict-Transport-Security:
239239
- max-age=63072000
240240
X-Content-Type-Options:
241241
- nosniff
242242
X-Frame-Options:
243243
- DENY
244244
X-Request-Id:
245-
- 466ad000-bd0a-4a5a-8898-5a2f1939e2f6
245+
- 73d174bb-7192-4fd3-9814-9f8d34e85c57
246246
status: 204 No Content
247247
code: 204
248-
duration: 95.2145ms
248+
duration: 84.8405ms
249249
- id: 5
250250
request:
251251
proto: HTTP/1.1
@@ -262,7 +262,7 @@ interactions:
262262
headers:
263263
User-Agent:
264264
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests
265-
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/cdc6cf40-27c9-403d-b1e8-774e621e054a
265+
url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/01e9de51-1156-4ace-9b02-8048eb21ce68
266266
method: GET
267267
response:
268268
proto: HTTP/2.0
@@ -272,7 +272,7 @@ interactions:
272272
trailer: {}
273273
content_length: 124
274274
uncompressed: false
275-
body: '{"message":"resource is not found","resource":"vpc","resource_id":"cdc6cf40-27c9-403d-b1e8-774e621e054a","type":"not_found"}'
275+
body: '{"message":"resource is not found","resource":"vpc","resource_id":"01e9de51-1156-4ace-9b02-8048eb21ce68","type":"not_found"}'
276276
headers:
277277
Content-Length:
278278
- "124"
@@ -281,17 +281,17 @@ interactions:
281281
Content-Type:
282282
- application/json
283283
Date:
284-
- Fri, 24 Jan 2025 14:47:36 GMT
284+
- Tue, 28 Jan 2025 10:05:18 GMT
285285
Server:
286-
- Scaleway API Gateway (fr-par-1;edge01)
286+
- Scaleway API Gateway (fr-par-1;edge02)
287287
Strict-Transport-Security:
288288
- max-age=63072000
289289
X-Content-Type-Options:
290290
- nosniff
291291
X-Frame-Options:
292292
- DENY
293293
X-Request-Id:
294-
- 222e2840-328a-4d65-8c2e-e58538217b6d
294+
- 082adeea-c82d-4663-baa0-9a6519937e1a
295295
status: 404 Not Found
296296
code: 404
297-
duration: 25.270042ms
297+
duration: 29.944416ms

0 commit comments

Comments
 (0)