diff --git a/internal/btpcli/facade_accounts_environment_instance.go b/internal/btpcli/facade_accounts_environment_instance.go index d93f6515..0d62e098 100644 --- a/internal/btpcli/facade_accounts_environment_instance.go +++ b/internal/btpcli/facade_accounts_environment_instance.go @@ -52,6 +52,15 @@ func (f *accountsEnvironmentInstanceFacade) Create(ctx context.Context, args *Su return doExecute[provisioning.EnvironmentInstanceResponseObject](f.cliClient, ctx, NewCreateRequest(f.getCommand(), params)) } +func (f *accountsEnvironmentInstanceFacade) Update(ctx context.Context, subaccountId string, environmentId string, plan string, parameters string) (struct{}, CommandResponse, error) { + return doExecute[struct{}](f.cliClient, ctx, NewUpdateRequest(f.getCommand(), map[string]string{ + "subaccount": subaccountId, + "environmentID": environmentId, + "plan": plan, + "parameters": parameters, + })) +} + func (f *accountsEnvironmentInstanceFacade) Delete(ctx context.Context, subaccountId string, environmentId string) (provisioning.EnvironmentInstanceResponseObject, CommandResponse, error) { return doExecute[provisioning.EnvironmentInstanceResponseObject](f.cliClient, ctx, NewDeleteRequest(f.getCommand(), map[string]string{ "subaccount": subaccountId, diff --git a/internal/btpcli/facade_accounts_environment_instance_test.go b/internal/btpcli/facade_accounts_environment_instance_test.go index d148db71..cfd4ccd9 100644 --- a/internal/btpcli/facade_accounts_environment_instance_test.go +++ b/internal/btpcli/facade_accounts_environment_instance_test.go @@ -105,6 +105,37 @@ func TestAccountsEnvironmentInstanceFacade_Create(t *testing.T) { }) } +func TestAccountsEnvironmentInstanceFacade_Update(t *testing.T) { + command := "accounts/environment-instance" + + environmentId := "cloudfoundry" + plan := "free" + parameters := "{}" + subaccountId := "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f" + + t.Run("constructs the CLI params correctly", func(t *testing.T) { + var srvCalled bool + + uut, srv := prepareClientFacadeForTest(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + srvCalled = true + + assertCall(t, r, command, ActionUpdate, map[string]string{ + "subaccount": subaccountId, + "environmentID": environmentId, + "plan": plan, + "parameters": parameters, + }) + })) + defer srv.Close() + + _, res, err := uut.Accounts.EnvironmentInstance.Update(context.TODO(), subaccountId, environmentId, plan, parameters) + + if assert.True(t, srvCalled) && assert.NoError(t, err) { + assert.Equal(t, 200, res.StatusCode) + } + }) +} + func TestAccountsEnvironmentInstanceFacade_Delete(t *testing.T) { command := "accounts/environment-instance" diff --git a/internal/provider/fixtures/resource_subaccount_environment_instance.update.yaml b/internal/provider/fixtures/resource_subaccount_environment_instance.update.yaml new file mode 100644 index 00000000..8c790789 --- /dev/null +++ b/internal/provider/fixtures/resource_subaccount_environment_instance.update.yaml @@ -0,0 +1,5709 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 9ba314a2-b355-a62e-e703-d7fd9c04dbf7 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:50 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f158734a-fdfa-4809-6d25-5b3633325cfc + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 981.030316ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a01f0775-3572-afe0-7459-c65fa1a8fd98 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:51 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - dd4d111e-ae4b-4634-7505-5e1524f36e5d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 272.071843ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 6297d2d1-27c6-4f5f-c3eb-e02d6d07dd4c + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:51 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 5652372f-a39d-4ec5-520c-081ac1d0c36e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 434.730358ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 348 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"displayName":"cloudFoundry-from-terraform","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"john.doe@int.test\",\"email\":\"john.doe@int.test\"}]}","plan":"standard","service":"cloudfoundry","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - aa083218-c3c7-bb3d-32a7-efa49d6fffc7 + 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/accounts/environment-instance?create + 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: + - Thu, 20 Jul 2023 13:58:52 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?create + 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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - b1adca59-33ef-4aa7-72ba-f71b0e77b4aa + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 194.779402ms + - id: 4 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 348 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"displayName":"cloudFoundry-from-terraform","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"john.doe@int.test\",\"email\":\"john.doe@int.test\"}]}","plan":"standard","service":"cloudfoundry","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?create + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - aa083218-c3c7-bb3d-32a7-efa49d6fffc7 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?create + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"provision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"john.doe@int.test\",\"email\":\"john.doe@int.test\"}]}","labels":"{\"API Endpoint\":\"https:\/\/api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Provision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:58:52 PM","state":"CREATING","stateMessage":"Creating environment instance.","serviceName":"cloudfoundry","planName":"standard","jobId":"3079321"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:52 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 640503c4-aed2-4194-7b36-d25308560832 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 622.808654ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 50076e40-6f10-47d9-464e-c39ed15d5449 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:58:57 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 7ce10393-1af5-4374-484a-c561b434ca9a + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 275.429156ms + - id: 6 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 50076e40-6f10-47d9-464e-c39ed15d5449 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"provision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"john.doe@int.test\",\"email\":\"john.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Provision","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:58:54 PM","state":"OK","stateMessage":"Environment instance created.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:58 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 30876769-1648-43c9-6236-f87c02c1790b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 312.553065ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 4bef0daf-15f7-7e5a-a0e0-3f4013e00490 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:58 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - cb3f3e0e-a1b3-48c7-4581-c07c11f70df7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 231.581044ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 2fc2aaf6-4677-b0b3-46d8-ab03db1cbead + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:59 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 5820bc99-1815-40a6-4d6e-d945fcbccce7 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 317.740931ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 58ae01ac-ef5b-0996-dd49-39168b587243 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:58:59 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - efd63033-ea7b-4567-7fa3-303adf4303bb + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 288.486212ms + - id: 10 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 58ae01ac-ef5b-0996-dd49-39168b587243 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"provision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"john.doe@int.test\",\"email\":\"john.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Provision","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:58:54 PM","state":"OK","stateMessage":"Environment instance created.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:58:59 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 72e2de7c-178b-4030-5c0b-e7c002b65746 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 344.365228ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - d3f9c198-43ed-c8da-e294-bf8956a99cd1 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:00 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 567830dd-9c86-4a6e-695a-4776728d9659 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 319.924682ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - fbe1855d-b113-328f-d8bc-4aa8eb0ed830 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:00 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0c326c0d-9c43-4283-633f-e65d06584f04 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 314.810738ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ae893158-6c41-7b44-ccd8-27feb71e4f86 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:00 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 0b88da69-dc6e-474a-4aa5-1def1d9b075e + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 242.686165ms + - id: 14 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ae893158-6c41-7b44-ccd8-27feb71e4f86 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"provision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"john.doe@int.test\",\"email\":\"john.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Provision","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:58:54 PM","state":"OK","stateMessage":"Environment instance created.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:01 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - de48642c-526d-4e35-7e85-141fc67dac90 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 261.743121ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - e259dddd-2c18-e11f-bb31-f848188c9b21 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:01 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e8af62c4-02d6-4504-7c27-e3d4d1dd1e22 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 392.761397ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 998318be-b835-a0d7-af81-d3e792afff25 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:02 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e28f845f-69b0-4a12-5c3f-6d892ba52af8 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 429.525724ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 274 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"jane.doe@int.test\",\"email\":\"jane.doe@int.test\"}]}","plan":"standard","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 42dbc276-8d9e-76e9-e0b3-f0620fe541e5 + 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/accounts/environment-instance?update + 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: + - Thu, 20 Jul 2023 13:59:02 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?update + 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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - dd6e0dfc-777c-4957-7356-79b3c3bfa17c + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 351.144168ms + - id: 18 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 274 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"jane.doe@int.test\",\"email\":\"jane.doe@int.test\"}]}","plan":"standard","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?update + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 42dbc276-8d9e-76e9-e0b3-f0620fe541e5 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"jobId":"3079329"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:02 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f554a887-b330-410b-4232-94fae82bef06 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 322.925912ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b015def5-5ce6-bae9-c4f0-6e25c3da78b2 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:08 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 7c9dd9fd-55ab-4993-4668-50e88aaaeaa2 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 263.547239ms + - id: 20 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - b015def5-5ce6-bae9-c4f0-6e25c3da78b2 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"jane.doe@int.test\",\"email\":\"jane.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:03 PM","state":"UPDATING","stateMessage":"Updating org [cf-terraform-org]. Instance ID: DD06AFB2-7F03-4023-B78B-45F7F5BBC254.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:08 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - f6bf782b-1155-452c-6400-65ada8957202 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 295.382705ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ac49398c-726f-71a0-2c49-506cedf381f7 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:13 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 27aacfac-f5d3-4f82-698f-cf80ffe84e84 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 308.101103ms + - id: 22 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - ac49398c-726f-71a0-2c49-506cedf381f7 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"jane.doe@int.test\",\"email\":\"jane.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:10 PM","state":"OK","stateMessage":"Environment instance updated.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:14 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c13dd62d-e498-46a4-7fae-02cf256465fb + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 590.718519ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a3cd9ade-f9cc-8c77-d2d5-8418b7eca3db + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:14 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 9d606f86-3ca6-41e7-67ec-44d67a0c560e + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 271.282465ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 646359af-7d3b-2175-66fa-8c658ea14f21 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:15 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1e79ca39-96b1-438f-5019-1b2156a2e46a + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 397.511221ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - cfe4a862-d7bd-739f-6119-e6272760f881 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:15 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - b7b14f05-8c4a-4dbe-52c1-1ad814d2e22f + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 186.26259ms + - id: 26 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - cfe4a862-d7bd-739f-6119-e6272760f881 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"jane.doe@int.test\",\"email\":\"jane.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:10 PM","state":"OK","stateMessage":"Environment instance updated.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:17 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 031cbdac-e7e1-45d2-535b-bfe85c257be6 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 1.385484296s + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 8144b4b4-58c2-4bb6-e49e-d724df9dff93 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - ade19f82-81a2-44b7-7122-52d937aeb790 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 279.42801ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 53c69ba8-9018-e805-5623-2cada6d14f26 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:17 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d20e8075-cf04-44b3-7c03-020ff27c28c5 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 261.275167ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f6271bb7-2b54-4bc0-2f0d-bf3ff2903d7a + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:18 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 9f0ce25c-d4f7-440f-6e1e-80da4be9a197 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 165.00722ms + - id: 30 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f6271bb7-2b54-4bc0-2f0d-bf3ff2903d7a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"users\":[{\"id\":\"jane.doe@int.test\",\"email\":\"jane.doe@int.test\"}],\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:10 PM","state":"OK","stateMessage":"Environment instance updated.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:18 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 010685a0-0d0a-4763-72f4-742163edcb77 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 346.324833ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f8ddabed-3883-aaad-a2cd-2cb7397668c1 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:18 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7771d55c-09e2-4972-6233-289a505c5360 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 427.405233ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - e072ed07-aea3-d7d0-b3a1-491fdf664506 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:19 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 96c42dbe-9259-4a18-703e-4f86469ceeaa + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 397.599363ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 199 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","parameters":"{\"instance_name\":\"cf-terraform-org\"}","plan":"standard","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 363d28da-f8f6-6cfa-bfbc-2fbf51f7be9f + 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/accounts/environment-instance?update + 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: + - Thu, 20 Jul 2023 13:59:19 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?update + 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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - e9fc23ad-4e4e-40e7-6cca-13d4ad62612a + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 183.064798ms + - id: 34 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 199 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","parameters":"{\"instance_name\":\"cf-terraform-org\"}","plan":"standard","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?update + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 363d28da-f8f6-6cfa-bfbc-2fbf51f7be9f + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?update + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"jobId":"3079344"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:20 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - ab3857e1-5db1-48fc-47a1-20335eda927f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 377.013977ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 928cbc6a-dbd1-622c-13d1-6d61c63521ca + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:25 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 8ec44eff-fb37-4d0e-561c-547e74451660 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 220.27614ms + - id: 36 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 928cbc6a-dbd1-622c-13d1-6d61c63521ca + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:21 PM","state":"UPDATING","stateMessage":"Updating org [cf-terraform-org]. Instance ID: DD06AFB2-7F03-4023-B78B-45F7F5BBC254.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:25 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 9f721246-60bb-47e1-5cd3-a68d5fed183d + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 403.709475ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - be2cbf81-7494-bfae-8e9e-e8ad052f9df0 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:30 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 5028991f-1635-4c2d-79a2-309a13c8e9e4 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 220.269031ms + - id: 38 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - be2cbf81-7494-bfae-8e9e-e8ad052f9df0 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:30 PM","state":"OK","stateMessage":"Environment instance updated.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:31 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 3a9b9fda-a61b-42aa-6d5e-f8850c1d0930 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 306.190627ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - da1bc48b-1f9c-ff7b-d376-f108a63a679d + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:31 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 43d4bdbe-923d-49ce-5762-4f67d28ded90 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 244.402324ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5973c46c-f2d7-e6e3-c797-9ff1bef16c9c + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:32 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 3a676290-8bcb-4657-4cc0-227e9f9c62ee + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 203.821418ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 00fd44ca-eb2c-31a8-f8b3-248e383a3da1 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:32 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - dc53f6fe-b19c-4730-73ae-43edd0b90f2c + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 209.040351ms + - id: 42 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 00fd44ca-eb2c-31a8-f8b3-248e383a3da1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:30 PM","state":"OK","stateMessage":"Environment instance updated.","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:32 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d9a769b5-39fd-4ed7-5035-9b53e92ecbf0 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 364.294839ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 15cc0e6e-e5f6-3209-e2c9-50a4ab544573 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - a33ffbc5-e7ef-4e29-7c26-2fc21e5e2e2b + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 236.586497ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - e29c5ba0-19fb-ea98-fc9d-112d10a75735 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 0d2260f3-035c-4dbc-4c90-f5e10df9d07f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 316.221977ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 127 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"customIdp":"","subdomain":"terraformintcanary","userName":"john.doe@int.test","password":"redacted"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 4efadd4a-98fc-597f-c61e-8b2b73c7b361 + X-Cpcli-Format: + - json + url: https://cpcli.cf.sap.hana.ondemand.com/login/v2.38.0 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"issuer":"accounts.sap.com","refreshToken":"redacted","user":"john.doe@int.test","mail":"john.doe@int.test"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Length: + - "162" + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:33 GMT + Expires: + - "0" + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Strict-Transport-Security: + - max-age=31536000; includeSubDomains; preload; + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 13028d1d-6939-4644-5103-ff0635d2ae54 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 214.955271ms + - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"confirm":"true","environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 2f996eb5-8394-19cb-9f99-a0d17783a30a + 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/accounts/environment-instance?delete + 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: + - Thu, 20 Jul 2023 13:59:33 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?delete + 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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2f4d83b8-5d83-443c-6c88-51dd23e6af64 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 202.07944ms + - id: 47 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"confirm":"true","environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?delete + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 2f996eb5-8394-19cb-9f99-a0d17783a30a + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?delete + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"update","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\"}","labels":"{\"API Endpoint\":\"https:\/\/api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Update","status":"Processed","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:30 PM","state":"OK","stateMessage":"Environment instance updated.","serviceName":"cloudfoundry","planName":"standard","jobId":"3079354"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:34 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - e9e0fe8e-96ac-4fa5-429f-fa9e2a7c15cd + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 246.4586ms + - id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f2d411ee-69a6-d524-4ffd-dbbf7cba9870 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:39 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - a14c1fa8-c341-4dab-48c0-f32fec9f9421 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 202.903196ms + - id: 49 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f2d411ee-69a6-d524-4ffd-dbbf7cba9870 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:39 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 4dff65eb-2466-43fa-40f7-7ccd0ea2c7c4 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 296.889971ms + - id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1553dc48-d9db-e4e8-753f-bd6dc56c70bf + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:44 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - de143668-eec5-40c9-4ad4-ed19cc5b5cc2 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 208.414628ms + - id: 51 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1553dc48-d9db-e4e8-753f-bd6dc56c70bf + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:45 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 40dbcd57-33be-43f5-4713-34949e236462 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 245.504473ms + - id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1374dd9d-6278-8181-c0db-86d5b14f7911 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 13:59:55 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - eadcf05a-e512-485e-4867-150b736f4f98 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 266.278515ms + - id: 53 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1374dd9d-6278-8181-c0db-86d5b14f7911 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 13:59:55 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - c49687b9-30ae-47c4-5a94-b28e8d3f2c18 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 231.934472ms + - id: 54 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 3830142a-6277-26fc-c684-92dc48d00f68 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:00:05 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 1136bbac-b133-44e7-6185-e8f9686f4096 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 225.866365ms + - id: 55 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 3830142a-6277-26fc-c684-92dc48d00f68 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:00:06 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - eb24e488-4a42-4676-4167-78cdbefbdf11 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 265.693412ms + - id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 677d29bd-1b66-dba3-3e06-b40d4fbf12de + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:00:16 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - ec4e4d9d-b6b1-47c9-4600-9bfea0c46b8b + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 205.409831ms + - id: 57 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 677d29bd-1b66-dba3-3e06-b40d4fbf12de + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:00:16 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 37ddb170-ad3b-490b-7d35-7a05166080b9 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 236.426909ms + - id: 58 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - eef9e44a-ef19-683c-6013-3423b414a7e6 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:00:26 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 673253d2-cd6b-484a-7986-13b27b175a62 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 201.729388ms + - id: 59 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - eef9e44a-ef19-683c-6013-3423b414a7e6 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:00:27 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 1fa15c45-75f0-4ee4-76a6-8757bb09c5cb + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 324.215073ms + - id: 60 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a2a30892-1e10-74f9-0544-7c20babe4831 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:00:37 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - d0168ab6-4b52-435b-7afc-5e4f040be3f8 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 339.463134ms + - id: 61 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a2a30892-1e10-74f9-0544-7c20babe4831 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:00:37 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 49ac2fcd-d160-43be-60a7-bc82979d0a32 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 246.851391ms + - id: 62 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5fc5c631-40bb-850c-79bf-7e64d82ffab5 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:00:47 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2134170a-4992-4e80-4e88-37c1831a9793 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 214.783455ms + - id: 63 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5fc5c631-40bb-850c-79bf-7e64d82ffab5 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:00:48 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - b3c6aaa7-a8e8-4bd1-7b34-42c2042728e6 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 326.447635ms + - id: 64 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1fbdcb27-19b1-9103-32d4-6be117db4dd2 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:00:58 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 89ae0f86-4507-4ea6-6d93-257675b9c2ae + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 247.281954ms + - id: 65 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 1fbdcb27-19b1-9103-32d4-6be117db4dd2 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:00:58 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - bbf658f0-411a-41ec-6c17-f7431ca1739f + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 359.128962ms + - id: 66 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f2c3a8b7-9d59-6b1a-0f0c-a15bba779759 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:01:09 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - cba58a19-03e1-48ce-6e75-9745fbb7511f + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 347.069763ms + - id: 67 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - f2c3a8b7-9d59-6b1a-0f0c-a15bba779759 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:01:09 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 02617c5c-53f7-4366-5ae7-670fc0149e72 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 307.7497ms + - id: 68 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5bd44376-157f-2ac0-9e12-0b8f67e6d2f8 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:01:19 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 54115a08-859d-43e8-5fe7-ec8aa77dc79a + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 340.278356ms + - id: 69 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 5bd44376-157f-2ac0-9e12-0b8f67e6d2f8 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:01:20 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - d029e4f7-546e-410d-7106-d0fd308d0603 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 244.589963ms + - id: 70 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 01a87afc-5f03-55e8-b852-c2ee6516f4bd + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:01:30 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 2cc3bedf-0003-4831-7ad4-d7fb095bdcc9 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 267.266196ms + - id: 71 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - 01a87afc-5f03-55e8-b852-c2ee6516f4bd + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:01:30 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - ad334ee6-e562-4f88-7dde-a56ed66e89c3 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 220.717634ms + - id: 72 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - fbfb67f3-79cd-717b-6070-4f0e02afa5a1 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:01:40 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 47e6f76b-be3a-450f-6db8-dbe972c06bf9 + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 228.062521ms + - id: 73 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - fbfb67f3-79cd-717b-6070-4f0e02afa5a1 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:01:41 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - 7d852f99-d7f5-4d55-6a99-705fd5a971e6 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 204.050481ms + - id: 74 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a27da664-1136-0802-9ab5-a56e4a953fb0 + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:01:51 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - e72e5bf5-c68d-4ff7-6c06-18d2929f9deb + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 456.817364ms + - id: 75 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - a27da664-1136-0802-9ab5-a56e4a953fb0 + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","name":"cloudFoundry-from-terraform","brokerId":"1101E504-06B5-49B3-88E9-A21F1FEE35A2","globalAccountGUID":"03760ecf-9d89-4189-a92a-1c7efed09298","subaccountGUID":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","tenantId":"ef23ace8-6ade-4d78-9c1f-8df729548bbf","serviceId":"fa31b750-375f-4268-bee1-604811a89fd9","planId":"fc5abe63-2a7d-4848-babf-f63a5d316df1","operation":"deprovision","parameters":"{\"instance_name\":\"cf-terraform-org\",\"status\":\"ACTIVE\",\"purge\":false}","labels":"{\"API Endpoint\":\"https://api.cf.eu12.hana.ondemand.com\",\"Org Name\":\"cf-terraform-org\",\"Org ID\":\"b71b00f2-4b95-4f2a-b029-09e569e820e3\"}","customLabels":{},"type":"Deprovision","status":"Processing","environmentType":"cloudfoundry","landscapeLabel":"cf-eu12","platformId":"b71b00f2-4b95-4f2a-b029-09e569e820e3","createdDate":"Jul 20, 2023, 1:58:52 PM","modifiedDate":"Jul 20, 2023, 1:59:35 PM","state":"DELETING","stateMessage":"Deleting org ID:[b71b00f2-4b95-4f2a-b029-09e569e820e3]. Instance ID:[DD06AFB2-7F03-4023-B78B-45F7F5BBC254].","serviceName":"cloudfoundry","planName":"standard"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:01:51 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;charset=UTF-8 + X-Cpcli-Backend-Status: + - "200" + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Replacementrefreshtoken: + - redacted + X-Frame-Options: + - DENY + X-Vcap-Request-Id: + - ebb33615-467a-4544-5367-8b0ead3bfdd2 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 358.918158ms + - id: 76 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: cpcli.cf.sap.hana.ondemand.com + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - d3d46543-d892-d72d-b534-20ac32dc9e4b + 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/accounts/environment-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: + - Thu, 20 Jul 2023 14:02:02 GMT + Expires: + - "0" + Location: + - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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-acc-static-b8xxozer + X-Frame-Options: + - DENY + X-Id-Token: + - redacted + X-Vcap-Request-Id: + - 48b6fbd7-d407-46b5-6013-d3b203ce2ecd + X-Xss-Protection: + - "0" + status: 307 Temporary Redirect + code: 307 + duration: 210.516501ms + - id: 77 + request: + proto: "" + proto_major: 0 + proto_minor: 0 + content_length: 125 + transfer_encoding: [] + trailer: {} + host: "" + remote_addr: "" + request_uri: "" + body: | + {"paramValues":{"environmentID":"DD06AFB2-7F03-4023-B78B-45F7F5BBC254","subaccount":"ef23ace8-6ade-4d78-9c1f-8df729548bbf"}} + form: {} + headers: + Content-Type: + - application/json + Referer: + - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/accounts/environment-instance?get + User-Agent: + - Terraform/1.5.0 terraform-provider-btp/dev + X-Correlationid: + - d3d46543-d892-d72d-b534-20ac32dc9e4b + X-Cpcli-Customidp: + - "" + X-Cpcli-Format: + - json + X-Cpcli-Refreshtoken: + - redacted + X-Cpcli-Subdomain: + - integration-test-acc-static-b8xxozer + X-Id-Token: + - redacted + url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/accounts/environment-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":"Environment instance not found [Error: 41000/404]"}' + headers: + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Content-Type: + - application/json + Date: + - Thu, 20 Jul 2023 14:02:02 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: + - 41384d4c-be3c-4ad8-5b5d-4fe0d00e0291 + X-Xss-Protection: + - "0" + status: 200 OK + code: 200 + duration: 207.229487ms diff --git a/internal/provider/provider_test.go b/internal/provider/provider_test.go index 72407d16..bf1714c9 100644 --- a/internal/provider/provider_test.go +++ b/internal/provider/provider_test.go @@ -15,6 +15,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/providerserver" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-go/tfprotov6" + testingResource "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/SAP/terraform-provider-btp/internal/btpcli" "github.com/SAP/terraform-provider-btp/internal/validation/uuidvalidator" @@ -206,6 +207,24 @@ func convertFirstLetterToUpperCase(stringToConvert string) (convertedString stri return } +func containsCheckFunc(expectedSubString string) testingResource.CheckResourceAttrWithFunc { + return func(value string) error { + if !strings.Contains(value, expectedSubString) { + return fmt.Errorf("expected value containing '%s', got: %s", expectedSubString, value) + } + return nil + } +} + +func notContainsCheckFunc(unexpectedSubString string) testingResource.CheckResourceAttrWithFunc { + return func(value string) error { + if strings.Contains(value, unexpectedSubString) { + return fmt.Errorf("expected value NOT containing '%s', got: %s", unexpectedSubString, value) + } + return nil + } +} + func TestProvider_HasResources(t *testing.T) { expectedResources := []string{ "btp_directory", @@ -301,9 +320,9 @@ func TestProvider_HasDatasources(t *testing.T) { "btp_subaccount_service_offerings", "btp_subaccount_service_plan", "btp_subaccount_service_plans", - /* - "btp_subaccount_service_platform", - "btp_subaccount_service_platforms", + /* + "btp_subaccount_service_platform", + "btp_subaccount_service_platforms", */ "btp_subaccount_subscription", "btp_subaccount_subscriptions", diff --git a/internal/provider/resource_subaccount_environment_instance.go b/internal/provider/resource_subaccount_environment_instance.go index cc30c0ed..9dd0be4e 100644 --- a/internal/provider/resource_subaccount_environment_instance.go +++ b/internal/provider/resource_subaccount_environment_instance.go @@ -57,6 +57,9 @@ __Further documentation:__ "subaccount_id": schema.StringAttribute{ MarkdownDescription: "The ID of the subaccount.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, Validators: []validator.String{ uuidvalidator.ValidUUID(), }, @@ -64,10 +67,16 @@ __Further documentation:__ "name": schema.StringAttribute{ MarkdownDescription: "The name of the environment instance.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "environment_type": schema.StringAttribute{ MarkdownDescription: "The type of the environment instance that is used.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "plan_name": schema.StringAttribute{ MarkdownDescription: "The name of the service plan for the environment instance in the corresponding service broker's catalog.", @@ -76,11 +85,17 @@ __Further documentation:__ "service_name": schema.StringAttribute{ MarkdownDescription: "The name of the service for the environment instance in the corresponding service broker's catalog.", Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "landscape_label": schema.StringAttribute{ MarkdownDescription: "The name of the landscape within the logged in region on which the environment instance is created.", Optional: true, Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, }, "parameters": schema.StringAttribute{ MarkdownDescription: "The configuration parameters for the environment instance.", @@ -260,20 +275,46 @@ func (rs *subaccountEnvironmentInstanceResource) Update(ctx context.Context, req return } - resp.Diagnostics.AddError("API Error Updating Resource Environment Instance (Subaccount)", "Update is not yet implemented.") - - /* TODO: implementation of UPDATE operation - cliRes, err := gen.client.Execute(ctx, btpcli.Update, gen.command, plan) + _, _, err := rs.cli.Accounts.EnvironmentInstance.Update(ctx, + plan.SubaccountId.ValueString(), + plan.Id.ValueString(), + plan.PlanName.ValueString(), + plan.Parameters.ValueString(), + ) if err != nil { resp.Diagnostics.AddError("API Error Updating Resource Environment Instance (Subaccount)", fmt.Sprintf("%s", err)) return - }*/ + } - diags = resp.State.Set(ctx, plan) - resp.Diagnostics.Append(diags...) - if resp.Diagnostics.HasError() { - return + updateStateConf := &tfutils.StateChangeConf{ + Pending: []string{provisioning.StateUpdating}, + Target: []string{provisioning.StateOK, provisioning.StateUpdateFailed}, + Refresh: func() (interface{}, string, error) { + subRes, _, err := rs.cli.Accounts.EnvironmentInstance.Get(ctx, plan.SubaccountId.ValueString(), plan.Id.ValueString()) + + if err != nil { + return subRes, "", err + } + + return subRes, subRes.State, nil + }, + Timeout: 10 * time.Minute, + Delay: 5 * time.Second, + MinTimeout: 5 * time.Second, } + + updatedRes, err := updateStateConf.WaitForStateContext(ctx) + if err != nil { + resp.Diagnostics.AddError("API Error Updating Resource Environment Instance (Subaccount)", fmt.Sprintf("%s", err)) + } + + state, diags := subaccountEnvironmentInstanceValueFrom(ctx, updatedRes.(provisioning.EnvironmentInstanceResponseObject)) + // TODO: this temporary workaround ignores the actual "parameters" value which is diverging from the planned state by an additional "status" attribute + state.Parameters = plan.Parameters + resp.Diagnostics.Append(diags...) + + diags = resp.State.Set(ctx, &state) + resp.Diagnostics.Append(diags...) } func (rs *subaccountEnvironmentInstanceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) { diff --git a/internal/provider/resource_subaccount_environment_instance_test.go b/internal/provider/resource_subaccount_environment_instance_test.go index 94a7501f..d06be267 100644 --- a/internal/provider/resource_subaccount_environment_instance_test.go +++ b/internal/provider/resource_subaccount_environment_instance_test.go @@ -16,7 +16,7 @@ type cfUsers struct { type cfOrgParameters struct { InstanceName string `json:"instance_name"` - Users []cfUsers `json:"users"` + Users []cfUsers `json:"users,omitempty"` } func TestResourceSubaccountEnvironmentInstance(t *testing.T) { @@ -30,13 +30,90 @@ func TestResourceSubaccountEnvironmentInstance(t *testing.T) { ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), Steps: []resource.TestStep{ { - Config: hclProvider() + hclResourceSubaccountEnvironmentInstanceCF("uut", "ef23ace8-6ade-4d78-9c1f-8df729548bbf", "cloudFoundry-from-terraform", "standard", "cf-eu12", "cf-terraform-org"), + Config: hclProvider() + hclResourceSubaccountEnvironmentInstanceCF("uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "cloudFoundry-from-terraform", + "standard", + "cf-eu12", + "cf-terraform-org", + "john.doe@int.test"), Check: resource.ComposeAggregateTestCheckFunc( resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "subaccount_id", regexpValidUUID), resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "created_date", regexpValidRFC3999Format), resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "last_modified", regexpValidRFC3999Format), resource.TestCheckResourceAttr("btp_subaccount_environment_instance.uut", "type", "Provision"), resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "labels", regexp.MustCompile(`"API Endpoint":"https:\/\/api\.cf\.eu12\.hana\.ondemand\.com"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"instance_name":"cf-terraform-org"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"id":"john.doe@int.test"`)), + ), + }, + }, + }) + }) + + t.Run("happy path - update", func(t *testing.T) { + rec := setupVCR(t, "fixtures/resource_subaccount_environment_instance.update") + defer stopQuietly(rec) + + resource.Test(t, resource.TestCase{ + IsUnitTest: true, + ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()), + Steps: []resource.TestStep{ + { + Config: hclProvider() + hclResourceSubaccountEnvironmentInstanceCF("uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "cloudFoundry-from-terraform", + "standard", + "cf-eu12", + "cf-terraform-org", + "john.doe@int.test"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "subaccount_id", regexpValidUUID), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount_environment_instance.uut", "type", "Provision"), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "labels", regexp.MustCompile(`"API Endpoint":"https:\/\/api\.cf\.eu12\.hana\.ondemand\.com"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"instance_name":"cf-terraform-org"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"id":"john.doe@int.test"`)), + ), + }, + { + Config: hclProvider() + hclResourceSubaccountEnvironmentInstanceCF("uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "cloudFoundry-from-terraform", + "standard", + "cf-eu12", + "cf-terraform-org", + "jane.doe@int.test"), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "subaccount_id", regexpValidUUID), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount_environment_instance.uut", "type", "Update"), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "labels", regexp.MustCompile(`"API Endpoint":"https:\/\/api\.cf\.eu12\.hana\.ondemand\.com"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"instance_name":"cf-terraform-org"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", notContainsCheckFunc(`"id":"john.doe@int.test"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"id":"jane.doe@int.test"`)), + ), + }, + { + Config: hclProvider() + hclResourceSubaccountEnvironmentInstanceCFWithOrgParams("uut", + "ef23ace8-6ade-4d78-9c1f-8df729548bbf", + "cloudFoundry-from-terraform", + "standard", + "cf-eu12", + cfOrgParameters{ + InstanceName: "cf-terraform-org", + }), + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "subaccount_id", regexpValidUUID), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "created_date", regexpValidRFC3999Format), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "last_modified", regexpValidRFC3999Format), + resource.TestCheckResourceAttr("btp_subaccount_environment_instance.uut", "type", "Update"), + resource.TestMatchResourceAttr("btp_subaccount_environment_instance.uut", "labels", regexp.MustCompile(`"API Endpoint":"https:\/\/api\.cf\.eu12\.hana\.ondemand\.com"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", containsCheckFunc(`"instance_name":"cf-terraform-org"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", notContainsCheckFunc(`"id":"john.doe@int.test"`)), + resource.TestCheckResourceAttrWith("btp_subaccount_environment_instance.uut", "parameters", notContainsCheckFunc(`"id":"jane.doe@int.test"`)), ), }, }, @@ -47,18 +124,21 @@ func TestResourceSubaccountEnvironmentInstance(t *testing.T) { // See also: https://github.com/hashicorp/terraform-plugin-testing/issues/85 } -func hclResourceSubaccountEnvironmentInstanceCF(resourceName string, subaccountId string, name string, planName string, landscapeLabel string, orgName string) string { - +func hclResourceSubaccountEnvironmentInstanceCF(resourceName string, subaccountId string, name string, planName string, landscapeLabel string, orgName string, user string) string { cfParameters := cfOrgParameters{ InstanceName: orgName, Users: []cfUsers{ { - Id: "john.doe@int.test", - Email: "john.doe@int.test", + Id: user, + Email: user, }, }, } + return hclResourceSubaccountEnvironmentInstanceCFWithOrgParams(resourceName, subaccountId, name, planName, landscapeLabel, cfParameters) +} + +func hclResourceSubaccountEnvironmentInstanceCFWithOrgParams(resourceName string, subaccountId string, name string, planName string, landscapeLabel string, cfParameters cfOrgParameters) string { jsonCfParameters, _ := json.Marshal(cfParameters) return fmt.Sprintf(`