diff --git a/internal/services/cockpit/cockpit_test.go b/internal/services/cockpit/cockpit_test.go index 4debd0b75..146802415 100644 --- a/internal/services/cockpit/cockpit_test.go +++ b/internal/services/cockpit/cockpit_test.go @@ -63,22 +63,6 @@ func TestAccCockpit_Basic(t *testing.T) { checkGrafanaURL("scaleway_cockpit.main", "scaleway_account_project.project"), ), }, - { - Config: ` - resource "scaleway_account_project" "project" { - name = "tf_tests_cockpit_project_basic" - } - resource "scaleway_cockpit" "main" { - project_id = scaleway_account_project.project.id - plan = "premium" - } - `, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan_id"), - resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan", "premium"), - ), - }, }, }) } diff --git a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml index 235a28d0a..8cec727b6 100644 --- a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 250 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:34.542123Z","description":"","id":"a3b65640-7e49-43e2-8470-189485ca5fc5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:34.542123Z"}' + body: '{"created_at":"2024-09-30T09:35:52.355645Z","description":"","id":"175f3c8f-3333-4a1a-8852-48e780ca6667","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-30T09:35:52.355645Z"}' headers: Content-Length: - "250" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:34 GMT + - Mon, 30 Sep 2024 09:35:52 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f6f971e3-581e-476e-86d6-d82e89b6f687 + - 9c33df10-9a1c-4390-ae84-d12e60944ed2 status: 200 OK code: 200 - duration: 291.365358ms + duration: 457.500204ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/account/v3/projects/175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 250 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:34.542123Z","description":"","id":"a3b65640-7e49-43e2-8470-189485ca5fc5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:34.542123Z"}' + body: '{"created_at":"2024-09-30T09:35:52.355645Z","description":"","id":"175f3c8f-3333-4a1a-8852-48e780ca6667","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-30T09:35:52.355645Z"}' headers: Content-Length: - "250" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:34 GMT + - Mon, 30 Sep 2024 09:35:52 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7be9c56d-1c1d-4c07-a1c6-1470dfd1c66e + - b57b0345-8632-42f9-a2b6-dad114771a65 status: 200 OK code: 200 - duration: 103.71654ms + duration: 145.178728ms - id: 2 request: proto: HTTP/1.1 @@ -136,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:34 GMT + - Mon, 30 Sep 2024 09:35:52 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3354fa71-14d2-4608-b830-716dd9e06c51 + - 85da475e-f0f4-428f-b820-caef6fa43bc5 status: 200 OK code: 200 - duration: 23.035378ms + duration: 33.745216ms - id: 3 request: proto: HTTP/1.1 @@ -161,7 +161,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a3b65640-7e49-43e2-8470-189485ca5fc5","plan_name":"free"}' + body: '{"project_id":"175f3c8f-3333-4a1a-8852-48e780ca6667","plan_name":"free"}' form: {} headers: Content-Type: @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:34 GMT + - Mon, 30 Sep 2024 09:35:52 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12799beb-8102-4648-bf1d-9c6b30010686 + - 9da5437c-cbfb-4d8a-8432-eb2ee08d84f2 status: 200 OK code: 200 - duration: 71.900139ms + duration: 141.52799ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:35 GMT + - Mon, 30 Sep 2024 09:35:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e56b6574-cc1f-49ee-b02a-917b6152b333 + - f6b005ca-3359-4827-8af6-5f0cc5f5959a status: 200 OK code: 200 - duration: 64.621136ms + duration: 72.199352ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:35 GMT + - Mon, 30 Sep 2024 09:35:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 77425c10-a77e-4ccc-afbc-4537b85c1a5b + - 98eda9ff-97c2-456a-aba0-347e67f36df9 status: 200 OK code: 200 - duration: 269.191016ms + duration: 324.378499ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:35 GMT + - Mon, 30 Sep 2024 09:35:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3fdf96dc-4a20-4763-8ea7-8c6b39bd9ca8 + - fe4eefc4-c84a-451f-a43e-cf40ad3a5b62 status: 200 OK code: 200 - duration: 78.705712ms + duration: 80.997381ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -383,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:35 GMT + - Mon, 30 Sep 2024 09:35:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2af8cf57-1d1d-48ad-b9f2-b248ead203f2 + - 82dbad3f-14d9-4cc6-b0fd-5cf094f3bdb6 status: 200 OK code: 200 - duration: 66.879112ms + duration: 83.072085ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/account/v3/projects/175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -423,7 +423,7 @@ interactions: trailer: {} content_length: 250 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:34.542123Z","description":"","id":"a3b65640-7e49-43e2-8470-189485ca5fc5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:34.542123Z"}' + body: '{"created_at":"2024-09-30T09:35:52.355645Z","description":"","id":"175f3c8f-3333-4a1a-8852-48e780ca6667","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-30T09:35:52.355645Z"}' headers: Content-Length: - "250" @@ -432,9 +432,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:35 GMT + - Mon, 30 Sep 2024 09:35:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7e856433-fa08-45e3-8b5c-7e2920f89cd2 + - 920d27c0-3770-4f4a-9ded-c9d55009bb76 status: 200 OK code: 200 - duration: 94.59315ms + duration: 115.963121ms - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -481,9 +481,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:36 GMT + - Mon, 30 Sep 2024 09:35:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -491,10 +491,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0c30d8e4-8d14-4df2-8fde-54768d09d43f + - db0c6e90-d4c1-48dc-957a-61c997141c58 status: 200 OK code: 200 - duration: 66.949619ms + duration: 82.567062ms - id: 10 request: proto: HTTP/1.1 @@ -511,7 +511,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -530,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:36 GMT + - Mon, 30 Sep 2024 09:35:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 722de31b-7961-4ce7-a790-1938f079b2e8 + - 143e89a5-8462-446e-b68d-1421609d2945 status: 200 OK code: 200 - duration: 249.400608ms + duration: 354.331183ms - id: 11 request: proto: HTTP/1.1 @@ -560,7 +560,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -579,9 +579,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:36 GMT + - Mon, 30 Sep 2024 09:35:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e1ccbbe4-f5ed-43c7-bbf1-4583af7aa0d0 + - 5675bd34-6e23-4dcb-9e9e-54eb3fc437a9 status: 200 OK code: 200 - duration: 58.789211ms + duration: 153.96064ms - id: 12 request: proto: HTTP/1.1 @@ -609,7 +609,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 method: GET response: proto: HTTP/2.0 @@ -628,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:36 GMT + - Mon, 30 Sep 2024 09:35:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8d670fc5-b461-4e5a-9fcb-537f52937372 + - 4aefcae1-0c9d-4b51-875d-36c02522d813 status: 200 OK code: 200 - duration: 65.02073ms + duration: 82.148415ms - id: 13 request: proto: HTTP/1.1 @@ -658,793 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 250 - uncompressed: false - body: '{"created_at":"2024-09-19T09:04:34.542123Z","description":"","id":"a3b65640-7e49-43e2-8470-189485ca5fc5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:34.542123Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:36 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 62066223-6817-4d1a-9ebc-56e53b4aea1d - status: 200 OK - code: 200 - duration: 110.583664ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 236 - uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' - headers: - Content-Length: - - "236" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:36 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9967eeda-7758-401c-be81-8ba988f4cfbb - status: 200 OK - code: 200 - duration: 50.249501ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 36 - uncompressed: false - body: '{"data_sources":[],"total_count":0}' - headers: - Content-Length: - - "36" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a372c560-7669-48c8-acf1-83665b1f57e5 - status: 200 OK - code: 200 - duration: 246.074078ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 18 - uncompressed: false - body: '{"grafana_url":""}' - headers: - Content-Length: - - "18" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dbe899e7-807a-4b13-ab8a-491c0147d764 - status: 200 OK - code: 200 - duration: 63.118991ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 108 - uncompressed: false - body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' - headers: - Content-Length: - - "108" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b71d59c7-f12f-4438-aefc-50689e5f1ccc - status: 200 OK - code: 200 - duration: 62.923309ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 754 - uncompressed: false - body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' - headers: - Content-Length: - - "754" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 345e2080-7c2e-4131-a6f5-1c4e92db929b - status: 200 OK - code: 200 - duration: 20.341214ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 75 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"project_id":"a3b65640-7e49-43e2-8470-189485ca5fc5","plan_name":"premium"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/plans - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 243 - uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' - headers: - Content-Length: - - "243" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b5ec3881-e9a2-4d79-8446-27c929050cee - status: 200 OK - code: 200 - duration: 83.314629ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 243 - uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' - headers: - Content-Length: - - "243" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cb85d3c3-6dc8-49c4-b0ea-7a41a61d556b - status: 200 OK - code: 200 - duration: 85.54391ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 36 - uncompressed: false - body: '{"data_sources":[],"total_count":0}' - headers: - Content-Length: - - "36" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 31ba28b4-0058-43b8-ba32-1915a354e57c - status: 200 OK - code: 200 - duration: 247.999405ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 18 - uncompressed: false - body: '{"grafana_url":""}' - headers: - Content-Length: - - "18" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 94703a13-657d-455a-82a5-13b824ada490 - status: 200 OK - code: 200 - duration: 56.913893ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 108 - uncompressed: false - body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' - headers: - Content-Length: - - "108" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 16d7c162-dac2-4c3c-b852-32f81f4ea916 - status: 200 OK - code: 200 - duration: 56.066512ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 250 - uncompressed: false - body: '{"created_at":"2024-09-19T09:04:34.542123Z","description":"","id":"a3b65640-7e49-43e2-8470-189485ca5fc5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:34.542123Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1a75a0ef-9505-4428-826d-a41c84e167ea - status: 200 OK - code: 200 - duration: 104.048481ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 243 - uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' - headers: - Content-Length: - - "243" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6d158679-67a4-4c81-8022-e2321e59921f - status: 200 OK - code: 200 - duration: 70.619835ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 36 - uncompressed: false - body: '{"data_sources":[],"total_count":0}' - headers: - Content-Length: - - "36" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:39 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9bee0f70-35af-44df-9f28-c9bfef0118ec - status: 200 OK - code: 200 - duration: 267.139127ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 18 - uncompressed: false - body: '{"grafana_url":""}' - headers: - Content-Length: - - "18" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:39 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - aef995d5-1aa5-4c09-ba1d-dcb6f0239485 - status: 200 OK - code: 200 - duration: 56.30529ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a3b65640-7e49-43e2-8470-189485ca5fc5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 108 - uncompressed: false - body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' - headers: - Content-Length: - - "108" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 19 Sep 2024 09:04:39 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 98bbee29-f846-4a1f-9137-4aaa18455ae6 - status: 200 OK - code: 200 - duration: 56.345048ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a3b65640-7e49-43e2-8470-189485ca5fc5 + url: https://api.scaleway.com/account/v3/projects/175f3c8f-3333-4a1a-8852-48e780ca6667 method: DELETE response: proto: HTTP/2.0 @@ -1461,9 +675,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:41 GMT + - Mon, 30 Sep 2024 09:35:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1471,7 +685,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a192190-601e-4f7c-acad-15eddfa2d7d6 + - bfbe96c9-df2b-4055-8568-322647174e52 status: 204 No Content code: 204 - duration: 1.233274075s + duration: 1.368979987s