|
| 1 | +--- |
| 2 | +version: 1 |
| 3 | +interactions: |
| 4 | +- request: |
| 5 | + body: '{"project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","name":"tf-pn-xenodochial-mendel","tags":[],"type":"VPC-GW-S","upstream_dns_servers":[],"ip_id":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.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 12 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways |
| 13 | + method: POST |
| 14 | + response: |
| 15 | + body: '{"id":"d683eaeb-403d-4337-a456-56ddc0820c90","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.253724Z","updated_at":"2021-08-05T09:35:22.253724Z","type":{"name":"VPC-GW-S","bandwidth":100000000,"zone":"fr-par-1"},"status":"stopped","name":"tf-pn-xenodochial-mendel","tags":[],"ip":{"id":"b1a0264f-390e-4c27-9a60-476c3df3391c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.232232Z","updated_at":"2021-08-05T09:35:22.232232Z","tags":[],"address":"163.172.168.73","reverse":null,"zone":"fr-par-1"},"gateway_networks":[],"upstream_dns_servers":[],"version":null,"can_upgrade_to":null,"zone":"fr-par-1"}' |
| 16 | + headers: |
| 17 | + Content-Length: |
| 18 | + - "789" |
| 19 | + Content-Security-Policy: |
| 20 | + - default-src 'none'; frame-ancestors 'none' |
| 21 | + Content-Type: |
| 22 | + - application/json |
| 23 | + Date: |
| 24 | + - Thu, 05 Aug 2021 09:35:22 GMT |
| 25 | + Server: |
| 26 | + - Scaleway API-Gateway |
| 27 | + Strict-Transport-Security: |
| 28 | + - max-age=63072000 |
| 29 | + X-Content-Type-Options: |
| 30 | + - nosniff |
| 31 | + X-Frame-Options: |
| 32 | + - DENY |
| 33 | + X-Request-Id: |
| 34 | + - 4f952011-9981-4dfa-8c21-36803d3f8ce2 |
| 35 | + status: 200 OK |
| 36 | + code: 200 |
| 37 | + duration: "" |
| 38 | +- request: |
| 39 | + body: "" |
| 40 | + form: {} |
| 41 | + headers: |
| 42 | + User-Agent: |
| 43 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 44 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways/d683eaeb-403d-4337-a456-56ddc0820c90 |
| 45 | + method: GET |
| 46 | + response: |
| 47 | + body: '{"id":"d683eaeb-403d-4337-a456-56ddc0820c90","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.253724Z","updated_at":"2021-08-05T09:35:22.297433Z","type":{"name":"VPC-GW-S","bandwidth":100000000,"zone":"fr-par-1"},"status":"stopped","name":"tf-pn-xenodochial-mendel","tags":[],"ip":{"id":"b1a0264f-390e-4c27-9a60-476c3df3391c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.232232Z","updated_at":"2021-08-05T09:35:22.232232Z","tags":[],"address":"163.172.168.73","reverse":null,"zone":"fr-par-1"},"gateway_networks":[],"upstream_dns_servers":[],"version":"0.2.10","can_upgrade_to":null,"zone":"fr-par-1"}' |
| 48 | + headers: |
| 49 | + Content-Length: |
| 50 | + - "793" |
| 51 | + Content-Security-Policy: |
| 52 | + - default-src 'none'; frame-ancestors 'none' |
| 53 | + Content-Type: |
| 54 | + - application/json |
| 55 | + Date: |
| 56 | + - Thu, 05 Aug 2021 09:35:22 GMT |
| 57 | + Server: |
| 58 | + - Scaleway API-Gateway |
| 59 | + Strict-Transport-Security: |
| 60 | + - max-age=63072000 |
| 61 | + X-Content-Type-Options: |
| 62 | + - nosniff |
| 63 | + X-Frame-Options: |
| 64 | + - DENY |
| 65 | + X-Request-Id: |
| 66 | + - e23ed3c4-ede8-4873-b06a-39c1b57a3be0 |
| 67 | + status: 200 OK |
| 68 | + code: 200 |
| 69 | + duration: "" |
| 70 | +- request: |
| 71 | + body: "" |
| 72 | + form: {} |
| 73 | + headers: |
| 74 | + User-Agent: |
| 75 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 76 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways/d683eaeb-403d-4337-a456-56ddc0820c90 |
| 77 | + method: GET |
| 78 | + response: |
| 79 | + body: '{"id":"d683eaeb-403d-4337-a456-56ddc0820c90","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.253724Z","updated_at":"2021-08-05T09:35:22.297433Z","type":{"name":"VPC-GW-S","bandwidth":100000000,"zone":"fr-par-1"},"status":"stopped","name":"tf-pn-xenodochial-mendel","tags":[],"ip":{"id":"b1a0264f-390e-4c27-9a60-476c3df3391c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.232232Z","updated_at":"2021-08-05T09:35:22.232232Z","tags":[],"address":"163.172.168.73","reverse":null,"zone":"fr-par-1"},"gateway_networks":[],"upstream_dns_servers":[],"version":"0.2.10","can_upgrade_to":null,"zone":"fr-par-1"}' |
| 80 | + headers: |
| 81 | + Content-Length: |
| 82 | + - "793" |
| 83 | + Content-Security-Policy: |
| 84 | + - default-src 'none'; frame-ancestors 'none' |
| 85 | + Content-Type: |
| 86 | + - application/json |
| 87 | + Date: |
| 88 | + - Thu, 05 Aug 2021 09:35:22 GMT |
| 89 | + Server: |
| 90 | + - Scaleway API-Gateway |
| 91 | + Strict-Transport-Security: |
| 92 | + - max-age=63072000 |
| 93 | + X-Content-Type-Options: |
| 94 | + - nosniff |
| 95 | + X-Frame-Options: |
| 96 | + - DENY |
| 97 | + X-Request-Id: |
| 98 | + - 5aea9c26-1bd0-4d96-9ee8-7985c6770ea1 |
| 99 | + status: 200 OK |
| 100 | + code: 200 |
| 101 | + duration: "" |
| 102 | +- request: |
| 103 | + body: "" |
| 104 | + form: {} |
| 105 | + headers: |
| 106 | + User-Agent: |
| 107 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 108 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways/d683eaeb-403d-4337-a456-56ddc0820c90 |
| 109 | + method: GET |
| 110 | + response: |
| 111 | + body: '{"id":"d683eaeb-403d-4337-a456-56ddc0820c90","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.253724Z","updated_at":"2021-08-05T09:35:22.804428Z","type":{"name":"VPC-GW-S","bandwidth":100000000,"zone":"fr-par-1"},"status":"running","name":"tf-pn-xenodochial-mendel","tags":[],"ip":{"id":"b1a0264f-390e-4c27-9a60-476c3df3391c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.232232Z","updated_at":"2021-08-05T09:35:22.232232Z","tags":[],"address":"163.172.168.73","reverse":null,"zone":"fr-par-1"},"gateway_networks":[],"upstream_dns_servers":[],"version":"0.2.10","can_upgrade_to":null,"zone":"fr-par-1"}' |
| 112 | + headers: |
| 113 | + Content-Length: |
| 114 | + - "793" |
| 115 | + Content-Security-Policy: |
| 116 | + - default-src 'none'; frame-ancestors 'none' |
| 117 | + Content-Type: |
| 118 | + - application/json |
| 119 | + Date: |
| 120 | + - Thu, 05 Aug 2021 09:35:23 GMT |
| 121 | + Server: |
| 122 | + - Scaleway API-Gateway |
| 123 | + Strict-Transport-Security: |
| 124 | + - max-age=63072000 |
| 125 | + X-Content-Type-Options: |
| 126 | + - nosniff |
| 127 | + X-Frame-Options: |
| 128 | + - DENY |
| 129 | + X-Request-Id: |
| 130 | + - b9cf1aa0-f46c-4684-97eb-3f65f941d704 |
| 131 | + status: 200 OK |
| 132 | + code: 200 |
| 133 | + duration: "" |
| 134 | +- request: |
| 135 | + body: "" |
| 136 | + form: {} |
| 137 | + headers: |
| 138 | + User-Agent: |
| 139 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 140 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways/d683eaeb-403d-4337-a456-56ddc0820c90 |
| 141 | + method: GET |
| 142 | + response: |
| 143 | + body: '{"id":"d683eaeb-403d-4337-a456-56ddc0820c90","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.253724Z","updated_at":"2021-08-05T09:35:22.804428Z","type":{"name":"VPC-GW-S","bandwidth":100000000,"zone":"fr-par-1"},"status":"running","name":"tf-pn-xenodochial-mendel","tags":[],"ip":{"id":"b1a0264f-390e-4c27-9a60-476c3df3391c","organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2021-08-05T09:35:22.232232Z","updated_at":"2021-08-05T09:35:22.232232Z","tags":[],"address":"163.172.168.73","reverse":null,"zone":"fr-par-1"},"gateway_networks":[],"upstream_dns_servers":[],"version":"0.2.10","can_upgrade_to":null,"zone":"fr-par-1"}' |
| 144 | + headers: |
| 145 | + Content-Length: |
| 146 | + - "793" |
| 147 | + Content-Security-Policy: |
| 148 | + - default-src 'none'; frame-ancestors 'none' |
| 149 | + Content-Type: |
| 150 | + - application/json |
| 151 | + Date: |
| 152 | + - Thu, 05 Aug 2021 09:35:23 GMT |
| 153 | + Server: |
| 154 | + - Scaleway API-Gateway |
| 155 | + Strict-Transport-Security: |
| 156 | + - max-age=63072000 |
| 157 | + X-Content-Type-Options: |
| 158 | + - nosniff |
| 159 | + X-Frame-Options: |
| 160 | + - DENY |
| 161 | + X-Request-Id: |
| 162 | + - edb08666-deb0-4ad0-9c22-366712f679c9 |
| 163 | + status: 200 OK |
| 164 | + code: 200 |
| 165 | + duration: "" |
| 166 | +- request: |
| 167 | + body: '{"gateway_id":"d683eaeb-403d-4337-a456-56ddc0820c90","public_port":8080,"private_ip":"192.168.0.1","private_port":8080,"protocol":"both"}' |
| 168 | + form: {} |
| 169 | + headers: |
| 170 | + Content-Type: |
| 171 | + - application/json |
| 172 | + User-Agent: |
| 173 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 174 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/pat-rules |
| 175 | + method: POST |
| 176 | + response: |
| 177 | + body: '{"help_message":"Gateway has no private network with address 192.168.0.1","message":"precondition is not respected","precondition":"resource_still_in_use","type":"precondition_failed"}' |
| 178 | + headers: |
| 179 | + Content-Length: |
| 180 | + - "184" |
| 181 | + Content-Security-Policy: |
| 182 | + - default-src 'none'; frame-ancestors 'none' |
| 183 | + Content-Type: |
| 184 | + - application/json |
| 185 | + Date: |
| 186 | + - Thu, 05 Aug 2021 09:35:24 GMT |
| 187 | + Server: |
| 188 | + - Scaleway API-Gateway |
| 189 | + Strict-Transport-Security: |
| 190 | + - max-age=63072000 |
| 191 | + X-Content-Type-Options: |
| 192 | + - nosniff |
| 193 | + X-Frame-Options: |
| 194 | + - DENY |
| 195 | + X-Request-Id: |
| 196 | + - 12972f7b-988a-41ab-97e9-3fc5c5c57b42 |
| 197 | + status: 412 Precondition Failed |
| 198 | + code: 412 |
| 199 | + duration: "" |
| 200 | +- request: |
| 201 | + body: "" |
| 202 | + form: {} |
| 203 | + headers: |
| 204 | + User-Agent: |
| 205 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 206 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways/d683eaeb-403d-4337-a456-56ddc0820c90 |
| 207 | + method: DELETE |
| 208 | + response: |
| 209 | + body: "" |
| 210 | + headers: |
| 211 | + Content-Security-Policy: |
| 212 | + - default-src 'none'; frame-ancestors 'none' |
| 213 | + Content-Type: |
| 214 | + - application/json |
| 215 | + Date: |
| 216 | + - Thu, 05 Aug 2021 09:35:24 GMT |
| 217 | + Server: |
| 218 | + - Scaleway API-Gateway |
| 219 | + Strict-Transport-Security: |
| 220 | + - max-age=63072000 |
| 221 | + X-Content-Type-Options: |
| 222 | + - nosniff |
| 223 | + X-Frame-Options: |
| 224 | + - DENY |
| 225 | + X-Request-Id: |
| 226 | + - b18f4d95-139a-4894-b3d2-1cfdf2997977 |
| 227 | + status: 204 No Content |
| 228 | + code: 204 |
| 229 | + duration: "" |
| 230 | +- request: |
| 231 | + body: "" |
| 232 | + form: {} |
| 233 | + headers: |
| 234 | + User-Agent: |
| 235 | + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.16.6; darwin; amd64) terraform-provider/develop terraform/terraform-tests |
| 236 | + url: https://api.scaleway.com/vpc-gw/v1beta1/zones/fr-par-1/gateways/d683eaeb-403d-4337-a456-56ddc0820c90 |
| 237 | + method: GET |
| 238 | + response: |
| 239 | + body: '{"message":"resource is not found","resource":"gateway","resource_id":"d683eaeb-403d-4337-a456-56ddc0820c90","type":"not_found"}' |
| 240 | + headers: |
| 241 | + Content-Length: |
| 242 | + - "128" |
| 243 | + Content-Security-Policy: |
| 244 | + - default-src 'none'; frame-ancestors 'none' |
| 245 | + Content-Type: |
| 246 | + - application/json |
| 247 | + Date: |
| 248 | + - Thu, 05 Aug 2021 09:35:24 GMT |
| 249 | + Server: |
| 250 | + - Scaleway API-Gateway |
| 251 | + Strict-Transport-Security: |
| 252 | + - max-age=63072000 |
| 253 | + X-Content-Type-Options: |
| 254 | + - nosniff |
| 255 | + X-Frame-Options: |
| 256 | + - DENY |
| 257 | + X-Request-Id: |
| 258 | + - e60c32f6-39d7-4cb7-95bf-de23717e3cb5 |
| 259 | + status: 404 Not Found |
| 260 | + code: 404 |
| 261 | + duration: "" |
0 commit comments