From c412b8d27b740fba4d6787aa32e98fbe8f42f75f Mon Sep 17 00:00:00 2001 From: Christian Lechner Date: Tue, 25 Jul 2023 16:24:38 +0200 Subject: [PATCH] fix: polling service instances (delete) (#319) --- ...account_service_instance_import_error.yaml | 309 ++++++++--- ...ount_service_instance_with_parameters.yaml | 333 ++++++++---- ...ccount_service_instance_wo_parameters.yaml | 489 ++++++++++++------ .../resource_subaccount_service_instance.go | 30 ++ 4 files changed, 828 insertions(+), 333 deletions(-) diff --git a/internal/provider/fixtures/resource_subaccount_service_instance_import_error.yaml b/internal/provider/fixtures/resource_subaccount_service_instance_import_error.yaml index b4a4f023..1d95c735 100644 --- a/internal/provider/fixtures/resource_subaccount_service_instance_import_error.yaml +++ b/internal/provider/fixtures/resource_subaccount_service_instance_import_error.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 831ccc53-88c4-61cb-eb09-c2cf2a18c118 + - a4c6aea2-5e06-5cf7-81f9-24ccd513a9f3 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -43,7 +43,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:09 GMT + - Mon, 24 Jul 2023 12:51:07 GMT Expires: - "0" Pragma: @@ -57,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c7c2d5f1-d8e0-4a54-443c-7d7f216cde8c + - 8f28dba9-5f77-43ec-61e3-6e9cb0c9755c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 399.1316ms + duration: 889.7429ms - id: 1 request: proto: HTTP/1.1 @@ -83,7 +83,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 98550c9d-cb13-dd81-ca41-da79374f1353 + - 8143774f-1796-0b13-9994-7bd8007708c7 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -105,7 +105,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:10 GMT + - Mon, 24 Jul 2023 12:51:08 GMT Expires: - "0" Pragma: @@ -119,12 +119,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 95739f45-3d56-4b23-43b7-0baeb2238d0a + - e7ad299e-b96a-4a27-7867-d34a5c7b26b7 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 369.9656ms + duration: 436.862ms - id: 2 request: proto: HTTP/1.1 @@ -145,7 +145,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 4dc50075-f39b-e992-a010-2c0643d6af32 + - 7b87190c-99ee-8cd1-f208-e3c253e4ed51 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -167,7 +167,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:10 GMT + - Mon, 24 Jul 2023 12:51:08 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0480fad5-4104-4770-44e8-6404be3fc977 + - f8bbd945-04ba-4ead-5144-945ba2af5f71 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 387.5499ms + duration: 505.5208ms - id: 3 request: proto: HTTP/1.1 @@ -207,7 +207,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 184c7c05-7b37-137e-251a-219cef9dc34d + - 6c6caeda-e339-7f2b-9415-2c5faaec7304 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:46:11 GMT + - Mon, 24 Jul 2023 12:51:09 GMT Expires: - "0" Location: @@ -257,12 +257,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 7b89c4a2-af86-453b-4693-ae08f538ec6b + - 0ab1be84-65c5-44d5-487e-96d281d288ca X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 229.2541ms + duration: 239.6242ms - id: 4 request: proto: "" @@ -285,7 +285,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 184c7c05-7b37-137e-251a-219cef9dc34d + - 6c6caeda-e339-7f2b-9415-2c5faaec7304 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -306,14 +306,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","ready":true,"last_operation":{"id":"a5c4106b-35bb-4741-836e-61bc76ebb920","ready":true,"type":"create","state":"succeeded","resource_id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"184c7c05-7b37-137e-251a-219cef9dc34d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:46:11.20183Z","updated_at":"2023-07-19T10:46:11.508616Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"platform":"sapcp","subdomain":"integration-test-services-4ie3yr1a","crm_customer_id":"","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","region":"cf-eu12","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:46:11.201827Z","updated_at":"2023-07-19T10:46:11.502981796Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}' + body: '{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","ready":true,"last_operation":{"id":"79ff9bf1-2a71-411f-aecb-a34b7b5c7334","ready":true,"type":"create","state":"succeeded","resource_id":"63c0476b-44de-4925-ac20-bbd0438e904b","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"6c6caeda-e339-7f2b-9415-2c5faaec7304","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:51:09.487218Z","updated_at":"2023-07-24T12:51:09.813076Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:51:09.487215Z","updated_at":"2023-07-24T12:51:09.808277781Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:11 GMT + - Mon, 24 Jul 2023 12:51:09 GMT Expires: - "0" Pragma: @@ -335,12 +335,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a1b98ae4-3993-4627-43a8-0798bce3156d + - 1a309af6-c1d8-40a1-40aa-7e54430bcba1 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 496.8562ms + duration: 625.111ms - id: 5 request: proto: HTTP/1.1 @@ -353,7 +353,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -361,7 +361,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 744dabaa-0e04-36f3-0554-9ede6fcc605a + - 9fbdca2a-201f-510f-9602-673d2c531eac X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -387,7 +387,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:46:16 GMT + - Mon, 24 Jul 2023 12:51:15 GMT Expires: - "0" Location: @@ -411,12 +411,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - b022302f-b236-43ff-656b-752894bde07f + - 9190797b-99b9-4a23-4f32-e69cf4cdf29d X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 141.0609ms + duration: 194.0631ms - id: 6 request: proto: "" @@ -429,7 +429,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -439,7 +439,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 744dabaa-0e04-36f3-0554-9ede6fcc605a + - 9fbdca2a-201f-510f-9602-673d2c531eac X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -460,14 +460,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","ready":true,"last_operation":{"id":"a5c4106b-35bb-4741-836e-61bc76ebb920","ready":true,"type":"create","state":"succeeded","resource_id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"184c7c05-7b37-137e-251a-219cef9dc34d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:46:11.20183Z","updated_at":"2023-07-19T10:46:11.508616Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"platform":"sapcp","subdomain":"integration-test-services-4ie3yr1a","crm_customer_id":"","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","region":"cf-eu12","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:46:11.201827Z","updated_at":"2023-07-19T10:46:11.502982Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","ready":true,"last_operation":{"id":"79ff9bf1-2a71-411f-aecb-a34b7b5c7334","ready":true,"type":"create","state":"succeeded","resource_id":"63c0476b-44de-4925-ac20-bbd0438e904b","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"6c6caeda-e339-7f2b-9415-2c5faaec7304","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:51:09.487218Z","updated_at":"2023-07-24T12:51:09.813076Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:51:09.487215Z","updated_at":"2023-07-24T12:51:09.808278Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:16 GMT + - Mon, 24 Jul 2023 12:51:15 GMT Expires: - "0" Pragma: @@ -489,12 +489,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a8e2f1ae-4efb-49a8-4e12-dfec51a0ac97 + - eda701db-0005-449d-516d-233fbe4a12a3 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 90.7402ms + duration: 217.1091ms - id: 7 request: proto: HTTP/1.1 @@ -515,7 +515,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - e57fbd20-b06e-6a2e-c700-1bb1a7131e7d + - ad052b4a-3101-690f-48b0-c788799919b5 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -537,7 +537,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:17 GMT + - Mon, 24 Jul 2023 12:51:15 GMT Expires: - "0" Pragma: @@ -551,12 +551,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a0f2d206-57da-4a71-40d5-a2d3b162224e + - 4e39be55-5165-49ce-6b7d-3b190705e6c0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 359.7742ms + duration: 395.2792ms - id: 8 request: proto: HTTP/1.1 @@ -577,7 +577,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - e69656f6-3be3-be3f-d39b-96aef6f843d8 + - 41b50f7e-b0aa-3b98-97f3-2ff064811f8f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -599,7 +599,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:17 GMT + - Mon, 24 Jul 2023 12:51:16 GMT Expires: - "0" Pragma: @@ -613,12 +613,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 6e98d8d0-ad41-4631-583a-c1937914a2e5 + - 762d3504-85e7-4a04-500d-97f7c9ebd80c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 337.5245ms + duration: 362.367ms - id: 9 request: proto: HTTP/1.1 @@ -631,7 +631,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -639,7 +639,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - cd81d3f1-c630-3eaa-846b-d4ee6f7ecf70 + - e7149d3d-a6a9-d469-208c-e0341bfb6ae2 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -665,7 +665,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:46:17 GMT + - Mon, 24 Jul 2023 12:51:16 GMT Expires: - "0" Location: @@ -689,12 +689,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - e3939cff-76ec-4ad3-4614-be0f1b8765a3 + - b032262d-bcc2-4288-7058-8a4e58170ddd X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 168.576ms + duration: 168.7891ms - id: 10 request: proto: "" @@ -707,7 +707,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -717,7 +717,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - cd81d3f1-c630-3eaa-846b-d4ee6f7ecf70 + - e7149d3d-a6a9-d469-208c-e0341bfb6ae2 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -738,14 +738,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","ready":true,"last_operation":{"id":"a5c4106b-35bb-4741-836e-61bc76ebb920","ready":true,"type":"create","state":"succeeded","resource_id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"184c7c05-7b37-137e-251a-219cef9dc34d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:46:11.20183Z","updated_at":"2023-07-19T10:46:11.508616Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"platform":"sapcp","subdomain":"integration-test-services-4ie3yr1a","crm_customer_id":"","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","region":"cf-eu12","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:46:11.201827Z","updated_at":"2023-07-19T10:46:11.502982Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","ready":true,"last_operation":{"id":"79ff9bf1-2a71-411f-aecb-a34b7b5c7334","ready":true,"type":"create","state":"succeeded","resource_id":"63c0476b-44de-4925-ac20-bbd0438e904b","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"6c6caeda-e339-7f2b-9415-2c5faaec7304","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:51:09.487218Z","updated_at":"2023-07-24T12:51:09.813076Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:51:09.487215Z","updated_at":"2023-07-24T12:51:09.808278Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:17 GMT + - Mon, 24 Jul 2023 12:51:16 GMT Expires: - "0" Pragma: @@ -767,12 +767,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - af77166f-731d-47e1-7221-8d936116d554 + - cd27083a-a96f-4965-7769-351254147065 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 129.0026ms + duration: 137.5091ms - id: 11 request: proto: HTTP/1.1 @@ -793,7 +793,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - d66d8122-346a-33dc-804b-b9b74eb03487 + - 0233dd6c-4a74-2205-c200-cf2ed9adc7f8 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -815,7 +815,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:18 GMT + - Mon, 24 Jul 2023 12:51:17 GMT Expires: - "0" Pragma: @@ -829,12 +829,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 5e96a211-0e49-4c39-72b0-a95e58816f00 + - ff758243-8f58-42c8-6f17-a0410844b116 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 376.2019ms + duration: 469.7596ms - id: 12 request: proto: HTTP/1.1 @@ -855,7 +855,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - b9ee9630-c63f-f76f-ddd7-bb17953cf38c + - d2b16c84-f218-159a-3310-e39607051e58 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -877,7 +877,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:18 GMT + - Mon, 24 Jul 2023 12:51:17 GMT Expires: - "0" Pragma: @@ -891,12 +891,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - be9fc1fe-0b6b-46e3-42bc-9b5988b81b3c + - edabccb9-65b7-4029-49c2-8448880b80ac X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 357.6447ms + duration: 459.8668ms - id: 13 request: proto: HTTP/1.1 @@ -917,7 +917,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 3a4ee4fc-dc74-5420-3fcf-4cd113bdf63a + - 9c94cdfd-2050-f5f8-5368-24e845dd2841 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -939,7 +939,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:19 GMT + - Mon, 24 Jul 2023 12:51:18 GMT Expires: - "0" Pragma: @@ -953,12 +953,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 4c1bc3d9-26ba-46ff-5efb-2ca3f492a7aa + - 711db186-5ad9-4757-4ba6-388456841ecc X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 361.0986ms + duration: 388.1625ms - id: 14 request: proto: HTTP/1.1 @@ -979,7 +979,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 49087dd3-5ff2-11ef-e154-237875f548d0 + - 9438b85c-275d-66f6-b0c0-365257b18721 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1001,7 +1001,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:19 GMT + - Mon, 24 Jul 2023 12:51:18 GMT Expires: - "0" Pragma: @@ -1015,12 +1015,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 4d2c5a07-7376-4b53-5e4a-e4fd93e16c60 + - 509c98f8-a323-4228-6637-5583c292c100 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 341.4284ms + duration: 416.4863ms - id: 15 request: proto: HTTP/1.1 @@ -1033,7 +1033,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"confirm":"true","id":"63c0476b-44de-4925-ac20-bbd0438e904b","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1041,7 +1041,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - e9db7f79-26fb-5abf-1f04-5242ed06e34e + - 54d14bf0-e89d-a3c5-14d1-90215646c6ea X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1067,7 +1067,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:46:19 GMT + - Mon, 24 Jul 2023 12:51:18 GMT Expires: - "0" Location: @@ -1091,12 +1091,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 2656713d-d9ff-4963-5d14-197867c850ff + - 22880055-5dd5-42fb-61d2-fe646d6ae06d X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 164.4478ms + duration: 200.1161ms - id: 16 request: proto: "" @@ -1109,7 +1109,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","id":"2ef97e9f-a7e7-4464-b0fb-44add75552ce","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"confirm":"true","id":"63c0476b-44de-4925-ac20-bbd0438e904b","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1119,7 +1119,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - e9db7f79-26fb-5abf-1f04-5242ed06e34e + - 54d14bf0-e89d-a3c5-14d1-90215646c6ea X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1147,7 +1147,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:46:20 GMT + - Mon, 24 Jul 2023 12:51:19 GMT Expires: - "0" Pragma: @@ -1169,9 +1169,164 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - cf774025-fd85-41a6-47df-a10f0c70d0fa + - 9e641779-61c8-415a-78a8-c0569eee268a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 337.9681ms + duration: 310.059ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 31b5e98e-8ebc-faa8-2d38-568a24585082 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Mon, 24 Jul 2023 12:51:24 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/instance?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - faf61506-6723-4f98-74c6-917c92c38f9d + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 269.5362ms + - id: 18 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"id":"63c0476b-44de-4925-ac20-bbd0438e904b","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 31b5e98e-8ebc-faa8-2d38-568a24585082 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"error":"NotFound","description":"could not find such /v1/service_instances"} + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Mon, 24 Jul 2023 12:51:24 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "404" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e9438f8f-834c-427c-458d-a9ad750839b6 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 115.4941ms diff --git a/internal/provider/fixtures/resource_subaccount_service_instance_with_parameters.yaml b/internal/provider/fixtures/resource_subaccount_service_instance_with_parameters.yaml index 7da36ffa..e635e877 100644 --- a/internal/provider/fixtures/resource_subaccount_service_instance_with_parameters.yaml +++ b/internal/provider/fixtures/resource_subaccount_service_instance_with_parameters.yaml @@ -19,9 +19,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 18818644-0331-ae01-3fbb-758e9247dd98 + - da50079e-6f67-2ead-93f7-63863102874f X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -43,7 +43,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:29:28 GMT + - Mon, 24 Jul 2023 13:02:20 GMT Expires: - "0" Pragma: @@ -57,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 7e1a9cd9-21b5-4a50-731b-82d9be0e457c + - 16033709-eaa7-4e7a-6df0-4a2273fe54c5 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 681.7151ms + duration: 788.3949ms - id: 1 request: proto: HTTP/1.1 @@ -81,9 +81,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 65020add-2484-a0c2-237f-ec5b98696030 + - af2e6c8b-5865-1e30-b836-4c7d65bcca53 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -105,7 +105,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:29:28 GMT + - Mon, 24 Jul 2023 13:02:21 GMT Expires: - "0" Pragma: @@ -119,12 +119,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - efaa907e-276c-41c7-7506-a5115625ff91 + - ecad9d2c-50df-42f9-5b22-17f688cae255 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 459.369ms + duration: 619.9856ms - id: 2 request: proto: HTTP/1.1 @@ -143,9 +143,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 4df4f185-7d2a-02b5-bded-6fc86d3bf451 + - 132f5e0b-346d-1f01-552a-68ed9ce7e379 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -167,7 +167,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:29:29 GMT + - Mon, 24 Jul 2023 13:02:21 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 061b2500-983b-42e4-4dea-ae4031516c3b + - f457daf5-f3e4-467b-5697-cc74924995fa X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 595.128ms + duration: 535.2513ms - id: 3 request: proto: HTTP/1.1 @@ -205,9 +205,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c95bf289-6a3c-6d28-0bc8-ac618731d078 + - a49a94af-06ac-e691-5455-a7da2bf12a38 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Length: - "0" Date: - - Tue, 04 Jul 2023 09:29:53 GMT + - Mon, 24 Jul 2023 13:02:22 GMT Expires: - "0" Location: @@ -257,12 +257,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - bd9e6984-dcca-476f-6d3f-99b61960c5c2 + - eb4125c3-5a4b-4592-7382-9c5d226d0a98 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 223.7692ms + duration: 263.8921ms - id: 4 request: proto: "" @@ -283,9 +283,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?create User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c95bf289-6a3c-6d28-0bc8-ac618731d078 + - a49a94af-06ac-e691-5455-a7da2bf12a38 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -306,14 +306,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","ready":true,"last_operation":{"id":"6be2b516-67dd-47f8-ab3d-e9aac87570e9","ready":true,"type":"create","state":"succeeded","resource_id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"c95bf289-6a3c-6d28-0bc8-ac618731d078","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-04T09:29:53.858207Z","updated_at":"2023-07-04T09:29:54.513121Z"},"name":"tf-test-destintion","service_plan_id":"cdf9c103-ef56-43e5-ac1d-4f1c5b15e05c","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","region":"cf-eu12","crm_customer_id":"","platform":"sapcp","origin":"sapcp","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","instance_name":"tf-test-destintion"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-04T09:29:53.858203Z","updated_at":"2023-07-04T09:29:54.509316427Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}' + body: '{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","ready":true,"last_operation":{"id":"4e27e554-aad8-49b0-8792-3a24b8f7dead","ready":true,"type":"create","state":"succeeded","resource_id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"a49a94af-06ac-e691-5455-a7da2bf12a38","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T13:02:22.580459Z","updated_at":"2023-07-24T13:02:23.333103Z"},"name":"tf-test-destintion","service_plan_id":"cdf9c103-ef56-43e5-ac1d-4f1c5b15e05c","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","crm_customer_id":"","platform":"sapcp","origin":"sapcp","license_type":"SAPDEV","instance_name":"tf-test-destintion"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T13:02:22.580444Z","updated_at":"2023-07-24T13:02:23.328572939Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:29:54 GMT + - Mon, 24 Jul 2023 13:02:23 GMT Expires: - "0" Pragma: @@ -335,12 +335,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - f61b8566-9df4-4277-71c4-bc73fd62a102 + - a011e815-a1dc-4cc1-5a0b-1579c7950093 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 973.9946ms + duration: 1.2032809s - id: 5 request: proto: HTTP/1.1 @@ -353,15 +353,15 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 31afb5e1-799e-ea83-d0f1-18bb500a2eeb + - 24ca7cf8-d2bf-11a4-7807-5dcb78607948 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -387,7 +387,7 @@ interactions: Content-Length: - "0" Date: - - Tue, 04 Jul 2023 09:30:05 GMT + - Mon, 24 Jul 2023 13:02:28 GMT Expires: - "0" Location: @@ -411,12 +411,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - b25edce0-cecf-40d6-5e5e-3119eea8d796 + - 70b52ef6-817a-4b03-56cc-2563808902e3 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 175.2098ms + duration: 270.5302ms - id: 6 request: proto: "" @@ -429,7 +429,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -437,9 +437,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 31afb5e1-799e-ea83-d0f1-18bb500a2eeb + - 24ca7cf8-d2bf-11a4-7807-5dcb78607948 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -460,14 +460,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","ready":true,"last_operation":{"id":"6be2b516-67dd-47f8-ab3d-e9aac87570e9","ready":true,"type":"create","state":"succeeded","resource_id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"c95bf289-6a3c-6d28-0bc8-ac618731d078","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-04T09:29:53.858207Z","updated_at":"2023-07-04T09:29:54.513121Z"},"name":"tf-test-destintion","service_plan_id":"cdf9c103-ef56-43e5-ac1d-4f1c5b15e05c","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","region":"cf-eu12","crm_customer_id":"","platform":"sapcp","origin":"sapcp","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","instance_name":"tf-test-destintion"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-04T09:29:53.858203Z","updated_at":"2023-07-04T09:29:54.509316Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","ready":true,"last_operation":{"id":"4e27e554-aad8-49b0-8792-3a24b8f7dead","ready":true,"type":"create","state":"succeeded","resource_id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"a49a94af-06ac-e691-5455-a7da2bf12a38","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T13:02:22.580459Z","updated_at":"2023-07-24T13:02:23.333103Z"},"name":"tf-test-destintion","service_plan_id":"cdf9c103-ef56-43e5-ac1d-4f1c5b15e05c","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","crm_customer_id":"","platform":"sapcp","origin":"sapcp","license_type":"SAPDEV","instance_name":"tf-test-destintion"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T13:02:22.580444Z","updated_at":"2023-07-24T13:02:23.328573Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:06 GMT + - Mon, 24 Jul 2023 13:02:28 GMT Expires: - "0" Pragma: @@ -489,12 +489,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - fee59d8d-2d17-4a08-756f-12f4a7c9a5ba + - 6360c896-2042-41d4-7363-9de40e93fbf6 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 114.509ms + duration: 229.4681ms - id: 7 request: proto: HTTP/1.1 @@ -513,9 +513,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 6111aa7b-b5ba-ff21-9748-9a901b343044 + - 068d6835-ea2f-f80f-47c2-9185e532e0fa X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -537,7 +537,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:18 GMT + - Mon, 24 Jul 2023 13:02:29 GMT Expires: - "0" Pragma: @@ -551,12 +551,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a7a4216a-7b59-497d-5996-9bedb4ada4d5 + - 70943d34-2d7c-4737-60f1-08b8478c0c35 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 550.0327ms + duration: 433.1004ms - id: 8 request: proto: HTTP/1.1 @@ -575,9 +575,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - f3fd60df-cba1-02ca-7f6d-bcbc7ae1f974 + - aa63d6b8-a639-0d90-d160-09f09a9e431a X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -599,7 +599,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:18 GMT + - Mon, 24 Jul 2023 13:02:29 GMT Expires: - "0" Pragma: @@ -613,12 +613,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - af243e37-37e8-46c0-6367-047f25170dfc + - 6301b8a4-66df-4df0-45f6-bb602f686346 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 429.9997ms + duration: 464.1251ms - id: 9 request: proto: HTTP/1.1 @@ -631,15 +631,15 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 49dbfe18-0d74-5a7d-293c-eb3112cc3d50 + - 36856b5f-e213-a247-f0a7-f5b75a4ef714 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -665,7 +665,7 @@ interactions: Content-Length: - "0" Date: - - Tue, 04 Jul 2023 09:30:19 GMT + - Mon, 24 Jul 2023 13:02:30 GMT Expires: - "0" Location: @@ -689,12 +689,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 521d8aa9-e1c8-4018-727c-435edd8b3371 + - 2fb36a84-9d1e-4dee-5f75-b706613c396e X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 181.2503ms + duration: 154.4079ms - id: 10 request: proto: "" @@ -707,7 +707,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -715,9 +715,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 49dbfe18-0d74-5a7d-293c-eb3112cc3d50 + - 36856b5f-e213-a247-f0a7-f5b75a4ef714 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -738,14 +738,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","ready":true,"last_operation":{"id":"6be2b516-67dd-47f8-ab3d-e9aac87570e9","ready":true,"type":"create","state":"succeeded","resource_id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"c95bf289-6a3c-6d28-0bc8-ac618731d078","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-04T09:29:53.858207Z","updated_at":"2023-07-04T09:29:54.513121Z"},"name":"tf-test-destintion","service_plan_id":"cdf9c103-ef56-43e5-ac1d-4f1c5b15e05c","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","region":"cf-eu12","crm_customer_id":"","platform":"sapcp","origin":"sapcp","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","instance_name":"tf-test-destintion"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-04T09:29:53.858203Z","updated_at":"2023-07-04T09:29:54.509316Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","ready":true,"last_operation":{"id":"4e27e554-aad8-49b0-8792-3a24b8f7dead","ready":true,"type":"create","state":"succeeded","resource_id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"a49a94af-06ac-e691-5455-a7da2bf12a38","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T13:02:22.580459Z","updated_at":"2023-07-24T13:02:23.333103Z"},"name":"tf-test-destintion","service_plan_id":"cdf9c103-ef56-43e5-ac1d-4f1c5b15e05c","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","crm_customer_id":"","platform":"sapcp","origin":"sapcp","license_type":"SAPDEV","instance_name":"tf-test-destintion"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T13:02:22.580444Z","updated_at":"2023-07-24T13:02:23.328573Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:19 GMT + - Mon, 24 Jul 2023 13:02:30 GMT Expires: - "0" Pragma: @@ -767,12 +767,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 23a4406d-dae6-4483-68f5-a9c5b6c53658 + - 87480ea0-fd51-418d-54ad-7969f776262d X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 138.9318ms + duration: 164.9076ms - id: 11 request: proto: HTTP/1.1 @@ -791,9 +791,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - fca335ee-9b65-8702-c1e4-a7dcc2b505ae + - 21ac3193-68e0-de34-1ebe-20ad65ada27e X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -815,7 +815,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:19 GMT + - Mon, 24 Jul 2023 13:02:30 GMT Expires: - "0" Pragma: @@ -829,12 +829,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 3a6f69c2-20b1-42b9-686c-964b6f30ac5d + - 094a0309-16a4-4999-40fa-3f445375cb6a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 409.086ms + duration: 397.8475ms - id: 12 request: proto: HTTP/1.1 @@ -853,9 +853,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 6440e7cc-71e2-222e-6284-0ee9263dbbb2 + - f2e96c3f-03aa-1544-43d6-b7f012019995 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -877,7 +877,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:20 GMT + - Mon, 24 Jul 2023 13:02:31 GMT Expires: - "0" Pragma: @@ -891,12 +891,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - dfdb33a3-0744-45d9-4559-3997ceaf517f + - 69758bad-a5c9-4905-7df9-706f11560061 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 425.1846ms + duration: 360.3033ms - id: 13 request: proto: HTTP/1.1 @@ -915,9 +915,9 @@ interactions: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - a40464f5-e104-46f7-8a68-0a6b40b210c5 + - 80c8118c-9c84-952f-00d8-670dcf7f157e X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -939,7 +939,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:20 GMT + - Mon, 24 Jul 2023 13:02:31 GMT Expires: - "0" Pragma: @@ -953,12 +953,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 9b518877-5033-4ade-7613-27016aa6478c + - 63d05652-b708-4656-7113-94943d3343b2 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 487.7796ms + duration: 389.3454ms - id: 14 request: proto: HTTP/1.1 @@ -971,15 +971,15 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"confirm":"true","id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: - application/json User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 802afc61-c338-9f1d-4ceb-8f106330deaf + - 67640c0c-7abf-c584-0c0f-9b282cab9f4d X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1005,7 +1005,7 @@ interactions: Content-Length: - "0" Date: - - Tue, 04 Jul 2023 09:30:21 GMT + - Mon, 24 Jul 2023 13:02:31 GMT Expires: - "0" Location: @@ -1029,12 +1029,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 0f2dcb35-3d98-4a3b-48bb-69835ad17cd8 + - 257f7a86-b42d-46f2-66ab-678af7036de7 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 215.3652ms + duration: 306.3057ms - id: 15 request: proto: "" @@ -1047,7 +1047,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","id":"6293e8ca-df23-48e5-9756-9a8a8549c64d","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"confirm":"true","id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1055,9 +1055,9 @@ interactions: Referer: - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?delete User-Agent: - - Terraform/1.5.1 terraform-provider-btp/dev + - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 802afc61-c338-9f1d-4ceb-8f106330deaf + - 67640c0c-7abf-c584-0c0f-9b282cab9f4d X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1085,7 +1085,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 04 Jul 2023 09:30:21 GMT + - Mon, 24 Jul 2023 13:02:32 GMT Expires: - "0" Pragma: @@ -1107,9 +1107,164 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 2a84fe2c-ad4b-4b4b-4365-9d148bb74844 + - 13e94845-e73a-496d-6062-644b0d6cded5 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 853.5137ms + duration: 948.9646ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 011e6a1d-9387-9399-73a7-f35488e185b0 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Mon, 24 Jul 2023 13:02:38 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/instance?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 43c591c9-f3f4-47b9-4a5e-a1f96d04c367 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 186.1893ms + - id: 17 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"id":"8d3d19d2-e4a3-46b1-a39b-7bb34bde7206","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 011e6a1d-9387-9399-73a7-f35488e185b0 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"error":"NotFound","description":"could not find such /v1/service_instances"} + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Mon, 24 Jul 2023 13:02:38 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "404" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 2580470d-7140-4484-40e1-94dee7d5a242 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 118.5173ms diff --git a/internal/provider/fixtures/resource_subaccount_service_instance_wo_parameters.yaml b/internal/provider/fixtures/resource_subaccount_service_instance_wo_parameters.yaml index 8544b3a1..3d8d1655 100644 --- a/internal/provider/fixtures/resource_subaccount_service_instance_wo_parameters.yaml +++ b/internal/provider/fixtures/resource_subaccount_service_instance_wo_parameters.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 9da04941-1d21-94d6-3439-4329e91a2290 + - 493f3578-5628-c461-05c6-6745d07e239a X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -43,7 +43,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:34 GMT + - Mon, 24 Jul 2023 12:45:34 GMT Expires: - "0" Pragma: @@ -57,12 +57,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 80727c94-8a74-42e8-6e72-bc984db1d526 + - 177c5f6d-a3f3-455d-4aa2-3d512a8a2060 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 699.7511ms + duration: 848.6872ms - id: 1 request: proto: HTTP/1.1 @@ -83,7 +83,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 61d23a17-179d-bbff-1740-fd127a20ecd6 + - 97e9f8e9-3f3f-8cbb-26b6-ef8599dd1298 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -105,7 +105,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:35 GMT + - Mon, 24 Jul 2023 12:45:35 GMT Expires: - "0" Pragma: @@ -119,12 +119,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c0aaec52-0d91-4834-775d-8830dbb9e8d1 + - 0fe91e10-6635-400d-6b99-2dbe3b69bed6 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 528.691ms + duration: 583.2484ms - id: 2 request: proto: HTTP/1.1 @@ -145,7 +145,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 63e9fa0d-436f-7af3-fd58-1ce8ed76da1f + - 84efeade-302f-078e-5525-e2597fa31928 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -167,7 +167,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:36 GMT + - Mon, 24 Jul 2023 12:45:36 GMT Expires: - "0" Pragma: @@ -181,12 +181,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8036cc01-32ae-47f8-5b1f-ffacbcf98e4b + - a921a48b-a56f-44e4-4e47-74988b95011c X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 503.4908ms + duration: 421.4349ms - id: 3 request: proto: HTTP/1.1 @@ -207,7 +207,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 7aac656f-1670-2b18-1ecc-c6a811a5977d + - 7a03fb59-6919-866d-961a-e4bd8cd4b629 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -233,7 +233,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:36 GMT + - Mon, 24 Jul 2023 12:45:36 GMT Expires: - "0" Location: @@ -257,12 +257,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - f29e8238-bc33-495d-7449-3831bf438a00 + - b28820f9-21fe-47c3-4768-32ad3367a6c2 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 213.5194ms + duration: 241.7626ms - id: 4 request: proto: "" @@ -285,7 +285,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 7aac656f-1670-2b18-1ecc-c6a811a5977d + - 7a03fb59-6919-866d-961a-e4bd8cd4b629 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -306,14 +306,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"de7ddef8-55af-45a4-a2fa-29d9aa789a01","ready":true,"type":"create","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7aac656f-1670-2b18-1ecc-c6a811a5977d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:36.558433Z","updated_at":"2023-07-19T10:45:36.93289Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","crm_customer_id":"","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:36.927599471Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"cb1ebe92-a9d1-4c1a-9cee-dfc98a7e1111","ready":true,"type":"create","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7a03fb59-6919-866d-961a-e4bd8cd4b629","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:36.936228Z","updated_at":"2023-07-24T12:45:37.265176Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:37.261353144Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:36 GMT + - Mon, 24 Jul 2023 12:45:37 GMT Expires: - "0" Pragma: @@ -335,12 +335,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 58814745-e409-4550-7107-0962e9a16086 + - 03468f86-a1d7-4766-6c3b-6f05baca2fc1 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 713.9511ms + duration: 952.6531ms - id: 5 request: proto: HTTP/1.1 @@ -353,7 +353,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -361,7 +361,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 455863a4-0ef3-ba03-4acc-b8a2ac3bea81 + - 02ebdbc4-b3a6-b4ae-503a-588a7eab1aac X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -387,7 +387,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:42 GMT + - Mon, 24 Jul 2023 12:45:42 GMT Expires: - "0" Location: @@ -411,12 +411,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - f856b83a-c9a6-4077-7881-33656ac0fdb7 + - 25ff1351-5013-4da0-593b-6438d9e1f8af X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 308.9845ms + duration: 222.8857ms - id: 6 request: proto: "" @@ -429,7 +429,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -439,7 +439,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 455863a4-0ef3-ba03-4acc-b8a2ac3bea81 + - 02ebdbc4-b3a6-b4ae-503a-588a7eab1aac X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -460,14 +460,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"de7ddef8-55af-45a4-a2fa-29d9aa789a01","ready":true,"type":"create","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7aac656f-1670-2b18-1ecc-c6a811a5977d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:36.558433Z","updated_at":"2023-07-19T10:45:36.93289Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","crm_customer_id":"","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:36.927599Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"cb1ebe92-a9d1-4c1a-9cee-dfc98a7e1111","ready":true,"type":"create","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7a03fb59-6919-866d-961a-e4bd8cd4b629","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:36.936228Z","updated_at":"2023-07-24T12:45:37.265176Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:37.261353Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:42 GMT + - Mon, 24 Jul 2023 12:45:42 GMT Expires: - "0" Pragma: @@ -489,12 +489,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 712872ab-e79c-41be-42f3-8e6f2dea2265 + - 011d5fcd-f353-4220-76a4-12073ad24493 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 134.3961ms + duration: 180.2083ms - id: 7 request: proto: HTTP/1.1 @@ -515,7 +515,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c0ff6c62-711d-d26b-8d6e-102ba81ef670 + - 6feb97bc-26c8-fa84-cf1d-b9322ac94ed1 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -537,7 +537,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:42 GMT + - Mon, 24 Jul 2023 12:45:43 GMT Expires: - "0" Pragma: @@ -551,12 +551,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a856421d-902a-44ce-5de5-325840561884 + - a59e801c-c398-4750-7340-fac7fb3a810e X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 346.7622ms + duration: 377.9337ms - id: 8 request: proto: HTTP/1.1 @@ -577,7 +577,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - ea1662f7-0497-25de-ac52-9c340aafe4de + - f1b958a5-3c60-2436-5e99-986f230ccf04 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -599,7 +599,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:43 GMT + - Mon, 24 Jul 2023 12:45:43 GMT Expires: - "0" Pragma: @@ -613,12 +613,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0b82f3c5-ba25-4e5e-6c8e-ccc9489ea4d6 + - f7d933cc-b585-4c34-7104-d3d3c74de79a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 333.3409ms + duration: 447.5924ms - id: 9 request: proto: HTTP/1.1 @@ -631,7 +631,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -639,7 +639,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 4cbfb2d3-bb3f-ddd5-37ea-2d726d3eba1c + - 05eea554-14a2-8f21-fe6b-e37fe77a2f2e X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -665,7 +665,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:43 GMT + - Mon, 24 Jul 2023 12:45:43 GMT Expires: - "0" Location: @@ -689,12 +689,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 49f83162-be64-4af8-7c1f-82ba49dd8cff + - 32e5924d-5926-4c69-7a1c-6ba5b9241fad X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 277.1935ms + duration: 211.5255ms - id: 10 request: proto: "" @@ -707,7 +707,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -717,7 +717,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 4cbfb2d3-bb3f-ddd5-37ea-2d726d3eba1c + - 05eea554-14a2-8f21-fe6b-e37fe77a2f2e X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -738,14 +738,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"de7ddef8-55af-45a4-a2fa-29d9aa789a01","ready":true,"type":"create","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7aac656f-1670-2b18-1ecc-c6a811a5977d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:36.558433Z","updated_at":"2023-07-19T10:45:36.93289Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","crm_customer_id":"","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:36.927599Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"cb1ebe92-a9d1-4c1a-9cee-dfc98a7e1111","ready":true,"type":"create","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7a03fb59-6919-866d-961a-e4bd8cd4b629","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:36.936228Z","updated_at":"2023-07-24T12:45:37.265176Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:37.261353Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:43 GMT + - Mon, 24 Jul 2023 12:45:44 GMT Expires: - "0" Pragma: @@ -767,12 +767,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 77cb5ea6-7acc-4830-49ca-711cd7e483a9 + - 7d46b1c5-20c1-4c48-4ca3-a07bea1bfecf X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 137.5759ms + duration: 146.3124ms - id: 11 request: proto: HTTP/1.1 @@ -793,7 +793,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - a422524f-b6e8-28a4-e1bc-bf5f52a06331 + - 97d87003-aaf2-00ec-ab2f-0f6bf046949b X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -815,7 +815,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:44 GMT + - Mon, 24 Jul 2023 12:45:44 GMT Expires: - "0" Pragma: @@ -829,12 +829,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - e99f0bf1-8839-42a3-52a8-603fb67e77d8 + - 37c25701-0164-4808-53c3-dd331a047ce0 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 419.2527ms + duration: 366.6689ms - id: 12 request: proto: HTTP/1.1 @@ -855,7 +855,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - b524c10e-717f-6fdc-4417-a3811a95c2b8 + - efdac371-10c3-e086-05d0-e79641d2a78b X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -877,7 +877,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:44 GMT + - Mon, 24 Jul 2023 12:45:45 GMT Expires: - "0" Pragma: @@ -891,12 +891,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - ad364a0e-9c87-45d2-65f2-173a997cdd50 + - fa0e77fd-e475-47fd-7061-600b904869cf X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 415.3983ms + duration: 448.458ms - id: 13 request: proto: HTTP/1.1 @@ -909,7 +909,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -917,7 +917,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c3a7f5b4-b8f0-9098-6aea-f32573d9133f + - f9ba1ad5-b723-57d2-6e2a-679926da1d39 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -943,7 +943,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:44 GMT + - Mon, 24 Jul 2023 12:45:45 GMT Expires: - "0" Location: @@ -967,12 +967,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 50d08d34-ee2f-4627-7647-9547804da9cb + - 05bc605e-110b-44f4-5092-0f6fc1c73faf X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 165.9619ms + duration: 197.507ms - id: 14 request: proto: "" @@ -985,7 +985,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -995,7 +995,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c3a7f5b4-b8f0-9098-6aea-f32573d9133f + - f9ba1ad5-b723-57d2-6e2a-679926da1d39 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1016,14 +1016,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"de7ddef8-55af-45a4-a2fa-29d9aa789a01","ready":true,"type":"create","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7aac656f-1670-2b18-1ecc-c6a811a5977d","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:36.558433Z","updated_at":"2023-07-19T10:45:36.93289Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","crm_customer_id":"","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:36.927599Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"cb1ebe92-a9d1-4c1a-9cee-dfc98a7e1111","ready":true,"type":"create","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"7a03fb59-6919-866d-961a-e4bd8cd4b629","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:36.936228Z","updated_at":"2023-07-24T12:45:37.265176Z"},"name":"tf-test-audit-log","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","license_type":"SAPDEV","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"tf-test-audit-log"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:37.261353Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:45 GMT + - Mon, 24 Jul 2023 12:45:45 GMT Expires: - "0" Pragma: @@ -1045,12 +1045,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 92ffd246-b6b1-4be6-702a-109ac2e5caa1 + - 5d056a83-29d5-42c9-7779-fe8bbb395e9a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 167.5135ms + duration: 122.0665ms - id: 15 request: proto: HTTP/1.1 @@ -1071,7 +1071,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 0e5374bb-de8e-5388-3a9b-6b78b7812bfb + - 335df3e6-36f9-c13a-383b-bf40cb9411a7 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1093,7 +1093,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:45 GMT + - Mon, 24 Jul 2023 12:45:45 GMT Expires: - "0" Pragma: @@ -1107,12 +1107,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - af9b9d38-8ac3-4c5e-6367-340abb16583b + - a9d75309-587f-408c-4d93-9d2464c12c5b X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 442.4029ms + duration: 387.1028ms - id: 16 request: proto: HTTP/1.1 @@ -1133,7 +1133,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - b2a80d1f-c662-347e-cc23-5b4f3057c414 + - c6650a77-cf60-dba1-e6a8-227070a677cc X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1155,7 +1155,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:46 GMT + - Mon, 24 Jul 2023 12:45:46 GMT Expires: - "0" Pragma: @@ -1169,12 +1169,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 67576bbe-c275-4640-4d78-08b740d63f64 + - 6fe996b6-bf34-49d4-787e-b38cad274e41 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 433.3832ms + duration: 374.3156ms - id: 17 request: proto: HTTP/1.1 @@ -1187,7 +1187,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","name":"tf-test-audit-log","newName":"TF-TEST-AUDIT-LOG","plan":"02fed361-89c1-4560-82c3-0deaf93ac75b","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","name":"tf-test-audit-log","newName":"TF-TEST-AUDIT-LOG","plan":"02fed361-89c1-4560-82c3-0deaf93ac75b","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1195,7 +1195,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 23e72984-90c9-dc06-37c2-ac5e5a5d3d0e + - bae0e12b-e3a1-0dec-bc75-b8b4d6bea7f8 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1221,7 +1221,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:46 GMT + - Mon, 24 Jul 2023 12:45:46 GMT Expires: - "0" Location: @@ -1245,12 +1245,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - c9bfb155-3ef4-4320-6b35-6161ae0c4fd6 + - 5b4242b9-6717-4c27-7082-502bfc1aef86 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 210.3072ms + duration: 176.135ms - id: 18 request: proto: "" @@ -1263,7 +1263,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","name":"tf-test-audit-log","newName":"TF-TEST-AUDIT-LOG","plan":"02fed361-89c1-4560-82c3-0deaf93ac75b","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","name":"tf-test-audit-log","newName":"TF-TEST-AUDIT-LOG","plan":"02fed361-89c1-4560-82c3-0deaf93ac75b","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1273,7 +1273,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 23e72984-90c9-dc06-37c2-ac5e5a5d3d0e + - bae0e12b-e3a1-0dec-bc75-b8b4d6bea7f8 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1294,14 +1294,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: Use 'btp get services/instance b846153c-830f-45c5-a6ad-ad0ada7e7164 --subaccount 59cd458e-e66e-4b60-b6d8-8f219379f9a5' to check the status of the update instance operation you initiated. + body: Use 'btp get services/instance 205c28c8-e453-42ec-895d-047d1ec8c4e2 --subaccount 59cd458e-e66e-4b60-b6d8-8f219379f9a5' to check the status of the update instance operation you initiated. headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:46 GMT + - Mon, 24 Jul 2023 12:45:46 GMT Expires: - "0" Pragma: @@ -1323,12 +1323,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - cfb447b3-9222-4572-75ce-91bbef1cd2a6 + - 818beef7-19ba-4725-6a04-34d225b9a910 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 243.9793ms + duration: 271.1733ms - id: 19 request: proto: HTTP/1.1 @@ -1341,7 +1341,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1349,7 +1349,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - f3b34cdb-2c09-d16b-4886-a253f842aaf8 + - f6f92494-a9b3-1a8c-41b5-9e57e297dd09 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1375,7 +1375,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:46 GMT + - Mon, 24 Jul 2023 12:45:47 GMT Expires: - "0" Location: @@ -1399,12 +1399,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - c099288d-829e-49d0-4781-faeea88d109a + - 228adedc-052e-4c6c-7ed5-b35936984ae3 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 179.6121ms + duration: 206.6296ms - id: 20 request: proto: "" @@ -1417,7 +1417,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1427,7 +1427,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - f3b34cdb-2c09-d16b-4886-a253f842aaf8 + - f6f92494-a9b3-1a8c-41b5-9e57e297dd09 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1448,14 +1448,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"faa1760a-60f3-4362-83b7-fd456c441976","ready":true,"type":"update","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"23e72984-90c9-dc06-37c2-ac5e5a5d3d0e","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:46.502114Z","updated_at":"2023-07-19T10:45:46.609834Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:46.599423Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"0dec6797-e0d2-4a09-b873-76ce9e11f934","ready":true,"type":"update","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"bae0e12b-e3a1-0dec-bc75-b8b4d6bea7f8","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:46.816518Z","updated_at":"2023-07-24T12:45:46.931035Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"origin":"sapcp","license_type":"SAPDEV","crm_customer_id":"","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:46.9198Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:46 GMT + - Mon, 24 Jul 2023 12:45:47 GMT Expires: - "0" Pragma: @@ -1477,12 +1477,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - a210c287-0421-4e7e-7e39-f5246fc0f352 + - efdd5977-66d3-430e-7dce-e080b0e83885 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 131.3479ms + duration: 132.5694ms - id: 21 request: proto: HTTP/1.1 @@ -1495,7 +1495,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1503,7 +1503,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 419d24dc-d81f-6028-d632-5058016bd84e + - 44f0e6c3-c970-fda0-6062-a1104da5d922 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1529,7 +1529,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:52 GMT + - Mon, 24 Jul 2023 12:45:52 GMT Expires: - "0" Location: @@ -1553,12 +1553,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - b6824dfa-dd4a-4da0-6c02-e743cfcdd430 + - baeae517-229a-48b2-4429-51e1453bc140 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 229.6312ms + duration: 232.9742ms - id: 22 request: proto: "" @@ -1571,7 +1571,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1581,7 +1581,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 419d24dc-d81f-6028-d632-5058016bd84e + - 44f0e6c3-c970-fda0-6062-a1104da5d922 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1602,14 +1602,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"faa1760a-60f3-4362-83b7-fd456c441976","ready":true,"type":"update","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"23e72984-90c9-dc06-37c2-ac5e5a5d3d0e","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:46.502114Z","updated_at":"2023-07-19T10:45:46.609834Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:46.599423Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"0dec6797-e0d2-4a09-b873-76ce9e11f934","ready":true,"type":"update","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"bae0e12b-e3a1-0dec-bc75-b8b4d6bea7f8","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:46.816518Z","updated_at":"2023-07-24T12:45:46.931035Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"origin":"sapcp","license_type":"SAPDEV","crm_customer_id":"","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:46.9198Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:52 GMT + - Mon, 24 Jul 2023 12:45:52 GMT Expires: - "0" Pragma: @@ -1631,12 +1631,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - add1bc64-f848-47a2-44a7-0de2e42cfead + - efa0e6f7-d9f9-43d1-505b-e1a4b18e328a X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 126.3384ms + duration: 168.4867ms - id: 23 request: proto: HTTP/1.1 @@ -1657,7 +1657,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 07a9456f-2d68-3b0e-eadb-fd0a9b0fcb9c + - 19a8188c-0e7e-c0f2-5877-57d68eb80085 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1679,7 +1679,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:52 GMT + - Mon, 24 Jul 2023 12:45:53 GMT Expires: - "0" Pragma: @@ -1693,12 +1693,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 0cdee3ac-f433-4370-7517-f5ca40d18ed4 + - c4e25a8f-24f8-4150-5b65-1e5672691bcf X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 427.5105ms + duration: 359.3901ms - id: 24 request: proto: HTTP/1.1 @@ -1719,7 +1719,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - c7761b98-12eb-0f5f-1162-8f826c5b0b20 + - b78dc235-3ff0-9831-d085-8ed15bcd24f9 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1741,7 +1741,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:53 GMT + - Mon, 24 Jul 2023 12:45:53 GMT Expires: - "0" Pragma: @@ -1755,12 +1755,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 477c54bd-1f76-4f22-4ba6-375b65172c18 + - 1ebcc141-579f-4b33-4aba-e1623b4ef886 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 404.5416ms + duration: 439.0805ms - id: 25 request: proto: HTTP/1.1 @@ -1773,7 +1773,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1781,7 +1781,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 2f3c99d4-dbec-bfd0-f993-eeb2215c7392 + - 39079785-6c15-c87c-817b-a3c7c6e2af4f X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1807,7 +1807,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:53 GMT + - Mon, 24 Jul 2023 12:45:53 GMT Expires: - "0" Location: @@ -1831,12 +1831,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 75255871-89a4-4449-5168-696374be47af + - c3e2e108-a64b-422a-6a3d-ed6905f8ea2f X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 202.3165ms + duration: 205.1358ms - id: 26 request: proto: "" @@ -1849,7 +1849,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -1859,7 +1859,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 2f3c99d4-dbec-bfd0-f993-eeb2215c7392 + - 39079785-6c15-c87c-817b-a3c7c6e2af4f X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -1880,14 +1880,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"faa1760a-60f3-4362-83b7-fd456c441976","ready":true,"type":"update","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"23e72984-90c9-dc06-37c2-ac5e5a5d3d0e","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:46.502114Z","updated_at":"2023-07-19T10:45:46.609834Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:46.599423Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"0dec6797-e0d2-4a09-b873-76ce9e11f934","ready":true,"type":"update","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"bae0e12b-e3a1-0dec-bc75-b8b4d6bea7f8","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:46.816518Z","updated_at":"2023-07-24T12:45:46.931035Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"origin":"sapcp","license_type":"SAPDEV","crm_customer_id":"","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:46.9198Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:53 GMT + - Mon, 24 Jul 2023 12:45:53 GMT Expires: - "0" Pragma: @@ -1909,12 +1909,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 05111089-cf7a-4f1c-4c88-74598c108e38 + - 4d238c8c-5618-4cbf-7405-2279cd4868e3 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 107.0688ms + duration: 125.7382ms - id: 27 request: proto: HTTP/1.1 @@ -1935,7 +1935,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 34475361-a818-9d7d-1661-5c0ed5591d99 + - 7de355c9-1832-71b5-5a35-2c0579de0286 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -1957,7 +1957,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:53 GMT + - Mon, 24 Jul 2023 12:45:54 GMT Expires: - "0" Pragma: @@ -1971,12 +1971,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 32fd7889-0a82-4a97-596e-42b06b08f36f + - bcf53344-9933-40f4-7344-efcd66ed628f X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 353.2502ms + duration: 343.4642ms - id: 28 request: proto: HTTP/1.1 @@ -1997,7 +1997,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 30c0bb45-e7e3-b320-f4e3-e028544cbb5b + - 37f10b61-fc11-3de6-7b71-e1bfacddb0a0 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -2019,7 +2019,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:54 GMT + - Mon, 24 Jul 2023 12:45:54 GMT Expires: - "0" Pragma: @@ -2033,12 +2033,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8980ed0c-972a-4fd5-6413-dac64090ae5e + - ba146c39-bd13-44a8-6f15-8a94115fcd12 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 407.6599ms + duration: 354.4392ms - id: 29 request: proto: HTTP/1.1 @@ -2051,7 +2051,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -2059,7 +2059,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - a912e2db-7ba4-1ab2-3302-c60c041718d2 + - cd68e306-63e6-c32c-044a-235e31aebc98 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -2085,7 +2085,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:54 GMT + - Mon, 24 Jul 2023 12:45:55 GMT Expires: - "0" Location: @@ -2109,12 +2109,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - fb6248a6-5f19-49e1-58f8-cebe465ca814 + - da8527b7-f96c-4bd3-54be-115147153dd6 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 175.0836ms + duration: 204.5692ms - id: 30 request: proto: "" @@ -2127,7 +2127,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -2137,7 +2137,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - a912e2db-7ba4-1ab2-3302-c60c041718d2 + - cd68e306-63e6-c32c-044a-235e31aebc98 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -2158,14 +2158,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","ready":true,"last_operation":{"id":"faa1760a-60f3-4362-83b7-fd456c441976","ready":true,"type":"update","state":"succeeded","resource_id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"23e72984-90c9-dc06-37c2-ac5e5a5d3d0e","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-19T10:45:46.502114Z","updated_at":"2023-07-19T10:45:46.609834Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","license_type":"SAPDEV","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","crm_customer_id":"","platform":"sapcp","origin":"sapcp","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-19T10:45:36.55843Z","updated_at":"2023-07-19T10:45:46.599423Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' + body: '{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","ready":true,"last_operation":{"id":"0dec6797-e0d2-4a09-b873-76ce9e11f934","ready":true,"type":"update","state":"succeeded","resource_id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","resource_type":"/v1/service_instances","platform_id":"service-manager","correlation_id":"bae0e12b-e3a1-0dec-bc75-b8b4d6bea7f8","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-24T12:45:46.816518Z","updated_at":"2023-07-24T12:45:46.931035Z"},"name":"TF-TEST-AUDIT-LOG","service_plan_id":"02fed361-89c1-4560-82c3-0deaf93ac75b","platform_id":"service-manager","context":{"origin":"sapcp","license_type":"SAPDEV","crm_customer_id":"","subdomain":"integration-test-services-4ie3yr1a","region":"cf-eu12","platform":"sapcp","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","instance_name":"TF-TEST-AUDIT-LOG"},"usable":true,"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","protected":null,"created_at":"2023-07-24T12:45:36.936225Z","updated_at":"2023-07-24T12:45:46.9198Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}' headers: Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:54 GMT + - Mon, 24 Jul 2023 12:45:55 GMT Expires: - "0" Pragma: @@ -2187,12 +2187,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 28f973e9-84a4-46f7-66f9-5dcbc104f068 + - 6428ef27-0004-44a5-669f-4424bc6af8ec X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 136.7575ms + duration: 146.7718ms - id: 31 request: proto: HTTP/1.1 @@ -2213,7 +2213,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 2be83f13-2778-05c1-679d-4b4f390dcbf1 + - 377b03fc-554b-fc6c-f050-7becadf99f0e X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -2235,7 +2235,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:55 GMT + - Mon, 24 Jul 2023 12:45:55 GMT Expires: - "0" Pragma: @@ -2249,12 +2249,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 123804ca-5cbe-40ef-70f3-9af6eefe521d + - cedb31b5-1cc7-467e-7f57-0465c0f02781 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 343.2538ms + duration: 335.3254ms - id: 32 request: proto: HTTP/1.1 @@ -2275,7 +2275,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 66f8a36d-dd0e-70b9-90e7-01bfaabafe64 + - 5328e674-cf97-747e-1207-368ac30bff39 X-Cpcli-Format: - json url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 @@ -2297,7 +2297,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:55 GMT + - Mon, 24 Jul 2023 12:45:56 GMT Expires: - "0" Pragma: @@ -2311,12 +2311,12 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - 8320dd58-972d-4cf4-7d55-60e527a84464 + - 7ea942c8-2157-4cc7-443d-81ffa1663356 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 425.6769ms + duration: 343.3165ms - id: 33 request: proto: HTTP/1.1 @@ -2329,7 +2329,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"confirm":"true","id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -2337,7 +2337,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 5852dd72-7963-1fb3-ae39-84b8d0de6cfb + - 9abbcffe-7108-6f3a-31ae-7848a4625cd0 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -2363,7 +2363,7 @@ interactions: Content-Length: - "0" Date: - - Wed, 19 Jul 2023 10:45:55 GMT + - Mon, 24 Jul 2023 12:45:56 GMT Expires: - "0" Location: @@ -2387,12 +2387,12 @@ interactions: X-Id-Token: - redacted X-Vcap-Request-Id: - - 19012037-a014-4c88-6a36-d1074052be0e + - 0a1b652f-4b07-421e-7cbc-692bc7accff4 X-Xss-Protection: - "0" status: 307 Temporary Redirect code: 307 - duration: 229.3671ms + duration: 175.4167ms - id: 34 request: proto: "" @@ -2405,7 +2405,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"paramValues":{"confirm":"true","id":"b846153c-830f-45c5-a6ad-ad0ada7e7164","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + {"paramValues":{"confirm":"true","id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} form: {} headers: Content-Type: @@ -2415,7 +2415,7 @@ interactions: User-Agent: - Terraform/1.5.2 terraform-provider-btp/dev X-Correlationid: - - 5852dd72-7963-1fb3-ae39-84b8d0de6cfb + - 9abbcffe-7108-6f3a-31ae-7848a4625cd0 X-Cpcli-Customidp: - "" X-Cpcli-Format: @@ -2443,7 +2443,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 19 Jul 2023 10:45:56 GMT + - Mon, 24 Jul 2023 12:45:56 GMT Expires: - "0" Pragma: @@ -2465,9 +2465,164 @@ interactions: X-Frame-Options: - DENY X-Vcap-Request-Id: - - c5e172e8-5397-4800-4185-40e007c124ca + - 30aa90c6-4de0-4869-4211-c9dc17c87537 X-Xss-Protection: - "0" status: 200 OK code: 200 - duration: 320.4422ms + duration: 331.7603ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4c87b564-dd1a-bdab-8f3a-275197dfc59a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - terraformintcanary + url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "0" + Date: + - Mon, 24 Jul 2023 12:46:09 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/instance?get + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 6d7f66e5-2d7d-4325-51d3-ac391c918fbe + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 231.3665ms + - id: 36 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"id":"205c28c8-e453-42ec-895d-047d1ec8c4e2","parameters":"false","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/instance?get + User-Agent: + - Terraform/1.5.2 terraform-provider-btp/dev + X-Correlationid: + - 4c87b564-dd1a-bdab-8f3a-275197dfc59a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-services-4ie3yr1a + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: | + {"error":"NotFound","description":"could not find such /v1/service_instances"} + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Mon, 24 Jul 2023 12:46:10 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Cpcli-Backend-Mediatype: + - application/json + X-Cpcli-Backend-Status: + - "404" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 8397fe4e-5e01-44fb-5a7f-e9cf0412fd6c + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 124.079ms diff --git a/internal/provider/resource_subaccount_service_instance.go b/internal/provider/resource_subaccount_service_instance.go index 6a1570d6..892f2199 100644 --- a/internal/provider/resource_subaccount_service_instance.go +++ b/internal/provider/resource_subaccount_service_instance.go @@ -3,6 +3,7 @@ package provider import ( "context" "fmt" + "net/http" "strings" "time" @@ -304,6 +305,35 @@ func (rs *subaccountServiceInstanceResource) Delete(ctx context.Context, req res resp.Diagnostics.AddError("API Error Deleting Resource Service Instance (Subaccount)", fmt.Sprintf("%s", err)) return } + + deleteStateConf := &tfutils.StateChangeConf{ + Pending: []string{servicemanager.StateInProgress}, + Target: []string{servicemanager.StateFailed, "DELETED"}, + Refresh: func() (interface{}, string, error) { + subRes, comRes, err := rs.cli.Services.Instance.GetById(ctx, state.SubaccountId.ValueString(), state.Id.ValueString()) + + if comRes.StatusCode == http.StatusNotFound { + return subRes, "DELETED", nil + } + + if err != nil { + return subRes, subRes.LastOperation.State, err + } + + return subRes, subRes.LastOperation.State, nil + }, + Timeout: 10 * time.Minute, + Delay: 5 * time.Second, + MinTimeout: 5 * time.Second, + } + + _, err = deleteStateConf.WaitForStateContext(ctx) + + if err != nil { + resp.Diagnostics.AddError("API Error Deleting Resource Service Instance (Subaccount)", fmt.Sprintf("%s", err)) + return + } + } func (rs *subaccountServiceInstanceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) {