diff --git a/docs/data-sources/subaccount_service_binding.md b/docs/data-sources/subaccount_service_binding.md
new file mode 100644
index 00000000..9317d21c
--- /dev/null
+++ b/docs/data-sources/subaccount_service_binding.md
@@ -0,0 +1,57 @@
+---
+page_title: "btp_subaccount_service_binding Data Source - terraform-provider-btp"
+subcategory: ""
+description: |-
+ Gets details about a specific service binding, such as its access details. They are included in its 'credentials' property, and typically include access URLs and credentials.
+---
+
+# btp_subaccount_service_binding (Data Source)
+
+Gets details about a specific service binding, such as its access details. They are included in its 'credentials' property, and typically include access URLs and credentials.
+
+## Example Usage
+
+```terraform
+# look up service binding by id
+data "btp_subaccount_service_binding" "by_id" {
+ subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
+ id = "c2d02852-1678-4c1e-b546-74d5274f1522"
+}
+
+# look up service binding by name
+data "btp_subaccount_service_binding" "by_name" {
+ subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
+ name = "hyperspace-2022-10"
+}
+```
+
+
+## Schema
+
+### Required
+
+- `subaccount_id` (String) The ID of the subaccount.
+
+### Optional
+
+- `id` (String) The ID of the service binding.
+- `name` (String) The name of the service binding.
+
+### Read-Only
+
+- `bind_resource` (Map of String) Contains the resources associated with the binding.
+- `context` (Map of String) Contextual data for the resource.
+- `created_date` (String) The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
+- `credentials` (String, Sensitive) The credentials to access the binding.
+- `labels` (Map of Set of String) Set of words or phrases assigned to the binding.
+- `last_modified` (String) The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
+- `parameters` (String) The parameters of the service binding as a valid JSON object.
+- `ready` (Boolean) Shows whether the service binding is ready.
+- `service_instance_id` (String) The ID of the service instance associated with the binding.
+- `state` (String) The current state of the service binding. Possible values are:
+
+ | state | description |
+ | --- | --- |
+ | in progress | The operation or processing is in progress |
+ | failed | The operation or processing failed |
+ | succeeded | The operation or processing succeeded |
\ No newline at end of file
diff --git a/docs/data-sources/subaccount_service_bindings.md b/docs/data-sources/subaccount_service_bindings.md
new file mode 100644
index 00000000..0aadb354
--- /dev/null
+++ b/docs/data-sources/subaccount_service_bindings.md
@@ -0,0 +1,61 @@
+---
+page_title: "btp_subaccount_service_bindings Data Source - terraform-provider-btp"
+subcategory: ""
+description: |-
+ Lists all service bindings in a subaccount.
+---
+
+# btp_subaccount_service_bindings (Data Source)
+
+Lists all service bindings in a subaccount.
+
+## Example Usage
+
+```terraform
+# look up all service bindings of a given subaccount
+data "btp_subaccount_service_bindings" "all" {
+ subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
+}
+
+# look up service bindings of a given subaccount wich have certain label assigned
+data "btp_subaccount_service_bindings" "labeled" {
+ subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
+ labels_filter = "subaccount_id eq '6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f'"
+}
+```
+
+
+## Schema
+
+### Required
+
+- `subaccount_id` (String) The ID of the subaccount.
+
+### Optional
+
+- `fields_filter` (String) Filters the service bindings based on the field query.
+- `labels_filter` (String) Filters the service binding based on the label query.
+
+### Read-Only
+
+- `id` (String, Deprecated) The ID of the subaccount.
+- `values` (Attributes List) (see [below for nested schema](#nestedatt--values))
+
+
+### Nested Schema for `values`
+
+Optional:
+
+- `id` (String) The ID of the service binding.
+- `name` (String) The name of the service binding.
+
+Read-Only:
+
+- `bind_resource` (Map of String) Contains the resources associated with the binding.
+- `context` (Map of String) Contextual data for the resource.
+- `created_date` (String) The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
+- `credentials` (String, Sensitive) The credentials to access the binding.
+- `labels` (Map of Set of String) Set of words or phrases assigned to the binding.
+- `last_modified` (String) The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
+- `ready` (Boolean) Shows whether the service binding is ready.
+- `service_instance_id` (String) The ID of the service instance associated with the binding.
\ No newline at end of file
diff --git a/docs/resources/subaccount_service_binding.md b/docs/resources/subaccount_service_binding.md
new file mode 100644
index 00000000..a14498d0
--- /dev/null
+++ b/docs/resources/subaccount_service_binding.md
@@ -0,0 +1,73 @@
+---
+page_title: "btp_subaccount_service_binding Resource - terraform-provider-btp"
+subcategory: ""
+description: |-
+ Creates a service binding between a service instance and an application.
+---
+
+# btp_subaccount_service_binding (Resource)
+
+Creates a service binding between a service instance and an application.
+
+## Example Usage
+
+```terraform
+# create a service binding in a subaccount
+resource "btp_subaccount_service_binding" "my_binding" {
+ subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
+ service_instance_id = "8911491d-0e1d-425d-a233-785512602d6f"
+ name = "my binding"
+}
+
+# create a parameterized service binding in a subaccount
+resource "btp_subaccount_service_binding" "my_parameterized_binding" {
+ subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
+ service_instance_id = "8911491d-0e1d-425d-a233-785512602d6f"
+ name = "my parameterized binding"
+ parameters = jsonencode({
+ param_a = ""
+ param_b = ""
+ })
+}
+```
+
+
+## Schema
+
+### Required
+
+- `name` (String) The name of the service binding.
+- `service_instance_id` (String) The ID of the service instance associated with the binding.
+- `subaccount_id` (String) The ID of the subaccount.
+
+### Optional
+
+- `parameters` (String) The parameters of the service binding as a valid JSON object.
+
+### Read-Only
+
+- `bind_resource` (Map of String) Contains the resources associated with the binding.
+- `context` (Map of String) The contextual data for the resource.
+- `created_date` (String) The date and time when the resource was created in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
+- `credentials` (String, Sensitive) The credentials to access the binding.
+- `id` (String) The ID of the service binding.
+- `labels` (Map of Set of String) Set of words or phrases assigned to service binding.
+- `last_modified` (String) The date and time when the resource was last modified in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format.
+- `ready` (Boolean) Shows whether the service binding is ready.
+- `state` (String) The current state of the service binding. Possible values are:
+
+ | state | description |
+ | --- | --- |
+ | in progress | The operation or processing is in progress |
+ | failed | The operation or processing failed |
+ | succeeded | The operation or processing succeeded |
+
+## Import
+
+Import is supported using the following syntax:
+
+```terraform
+# terraform import btp_subaccount_service_binding. ,
+
+terraform import btp_subaccount_service_binding.my_binding 6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f,910e9a7d-0fb4-4428-a813-56550e683579
+```
diff --git a/internal/provider/datasource_subaccount_service_binding_test.go b/internal/provider/datasource_subaccount_service_binding_test.go
new file mode 100644
index 00000000..6867639c
--- /dev/null
+++ b/internal/provider/datasource_subaccount_service_binding_test.go
@@ -0,0 +1,128 @@
+package provider
+
+import (
+ "fmt"
+ "regexp"
+ "testing"
+
+ "github.com/hashicorp/terraform-plugin-testing/helper/resource"
+)
+
+func TestDataSourceSubaccountServiceBinding(t *testing.T) {
+
+ t.Parallel()
+ t.Run("happy path - service bindings by id", func(t *testing.T) {
+ rec := setupVCR(t, "fixtures/datasource_subaccount_service_binding_by_id")
+ defer stopQuietly(rec)
+
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindingbyId("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "b02e4b22-906b-40c5-9c5e-dbb6a9068444"),
+ Check: resource.ComposeAggregateTestCheckFunc(
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "id", "b02e4b22-906b-40c5-9c5e-dbb6a9068444"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "name", "test-service-binding-iban"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "ready", "true"),
+ resource.TestMatchResourceAttr("data.btp_subaccount_service_binding.uut", "created_date", regexpValidRFC3999Format),
+ resource.TestMatchResourceAttr("data.btp_subaccount_service_binding.uut", "last_modified", regexpValidRFC3999Format),
+ ),
+ },
+ },
+ })
+
+ })
+
+ t.Run("happy path - service bindings by name", func(t *testing.T) {
+ rec := setupVCR(t, "fixtures/datasource_subaccount_service_binding_by_name")
+ defer stopQuietly(rec)
+
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindingbyName("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "test-service-binding-iban"),
+ Check: resource.ComposeAggregateTestCheckFunc(
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "id", "b02e4b22-906b-40c5-9c5e-dbb6a9068444"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "name", "test-service-binding-iban"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_binding.uut", "ready", "true"),
+ resource.TestMatchResourceAttr("data.btp_subaccount_service_binding.uut", "created_date", regexpValidRFC3999Format),
+ resource.TestMatchResourceAttr("data.btp_subaccount_service_binding.uut", "last_modified", regexpValidRFC3999Format),
+ ),
+ },
+ },
+ })
+
+ })
+ t.Run("error path - subaccount_id mandatory", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindingNoSubaccount("uut", "test-service-binding-iban"),
+ ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`),
+ },
+ },
+ })
+ })
+
+ t.Run("error path - no ID or name", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindingNoIdOrName("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ ExpectError: regexp.MustCompile(`Error: Invalid Attribute Combination`),
+ },
+ },
+ })
+ })
+ t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindingbyName("uut", "this-is-not-a-uuid", "test-service-binding-iban"),
+ ExpectError: regexp.MustCompile(`Attribute subaccount_id value must be a valid UUID, got: this-is-not-a-uuid`),
+ },
+ },
+ })
+ })
+}
+
+func hclDatasourceSubaccountServiceBindingbyId(resourceName string, subaccountId string, bindingId string) string {
+ template := `data "btp_subaccount_service_binding" "%s" {
+ subaccount_id = "%s"
+ id = "%s"
+}`
+ return fmt.Sprintf(template, resourceName, subaccountId, bindingId)
+}
+
+func hclDatasourceSubaccountServiceBindingbyName(resourceName string, subaccountId string, bindingName string) string {
+ template := `data "btp_subaccount_service_binding" "%s" {
+ subaccount_id = "%s"
+ name = "%s"
+}`
+ return fmt.Sprintf(template, resourceName, subaccountId, bindingName)
+}
+
+func hclDatasourceSubaccountServiceBindingNoSubaccount(resourceName string, bindingName string) string {
+ template := `data "btp_subaccount_service_binding" "%s" {
+ name = "%s"
+}`
+ return fmt.Sprintf(template, resourceName, bindingName)
+}
+
+func hclDatasourceSubaccountServiceBindingNoIdOrName(resourceName string, subaccountId string) string {
+ template := `data "btp_subaccount_service_binding" "%s" {
+ subaccount_id = "%s"
+}`
+ return fmt.Sprintf(template, resourceName, subaccountId)
+}
diff --git a/internal/provider/datasource_subaccount_service_bindings.go b/internal/provider/datasource_subaccount_service_bindings.go
index f7753651..f4710672 100644
--- a/internal/provider/datasource_subaccount_service_bindings.go
+++ b/internal/provider/datasource_subaccount_service_bindings.go
@@ -34,6 +34,7 @@ type subaccountServiceBindingValue struct {
type subaccountServiceBindingsDataSourceConfig struct {
/* INPUT */
SubaccountId types.String `tfsdk:"subaccount_id"`
+ Id types.String `tfsdk:"id"`
FieldsFilter types.String `tfsdk:"fields_filter"`
LabelsFilter types.String `tfsdk:"labels_filter"`
/* OUTPUT */
@@ -67,6 +68,11 @@ func (ds *subaccountServiceBindingsDataSource) Schema(_ context.Context, _ datas
uuidvalidator.ValidUUID(),
},
},
+ "id": schema.StringAttribute{ // required hashicorps terraform plugin testing framework
+ DeprecationMessage: "Use the `subaccount_id` attribute instead",
+ MarkdownDescription: "The ID of the subaccount.",
+ Computed: true,
+ },
"fields_filter": schema.StringAttribute{
MarkdownDescription: "Filters the service bindings based on the field query.",
Optional: true,
@@ -164,6 +170,7 @@ func (ds *subaccountServiceBindingsDataSource) Read(ctx context.Context, req dat
return
}
+ data.Id = data.SubaccountId
data.Values = []subaccountServiceBindingValue{}
for _, binding := range cliRes {
diff --git a/internal/provider/datasource_subaccount_service_bindings_test.go b/internal/provider/datasource_subaccount_service_bindings_test.go
new file mode 100644
index 00000000..57c3da2b
--- /dev/null
+++ b/internal/provider/datasource_subaccount_service_bindings_test.go
@@ -0,0 +1,64 @@
+package provider
+
+import (
+ "fmt"
+ "regexp"
+ "testing"
+
+ "github.com/hashicorp/terraform-plugin-testing/helper/resource"
+)
+
+func TestDataSourceSubaccountServiceBindings(t *testing.T) {
+
+ t.Parallel()
+ t.Run("happy path - all service bindings of a subaccount", func(t *testing.T) {
+ rec := setupVCR(t, "fixtures/datasource_subaccount_service_bindings")
+ defer stopQuietly(rec)
+
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindings("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ Check: resource.ComposeAggregateTestCheckFunc(
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_bindings.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ resource.TestCheckResourceAttr("data.btp_subaccount_service_bindings.uut", "values.#", "3"),
+ ),
+ },
+ },
+ })
+
+ })
+ t.Run("error path - subaccount_id mandatory", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + `data "btp_subaccount_service_bindings" "uut" {}`,
+ ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`),
+ },
+ },
+ })
+ })
+ t.Run("error path - subaccount_id not a valid UUID", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclDatasourceSubaccountServiceBindings("uut", "this-is-not-a-uuid"),
+ ExpectError: regexp.MustCompile(`Attribute subaccount_id value must be a valid UUID, got: this-is-not-a-uuid`),
+ },
+ },
+ })
+ })
+}
+
+func hclDatasourceSubaccountServiceBindings(resourceName string, subaccountId string) string {
+ template := `data "btp_subaccount_service_bindings" "%s" {
+ subaccount_id = "%s"
+}`
+ return fmt.Sprintf(template, resourceName, subaccountId)
+}
diff --git a/internal/provider/fixtures/datasource_subaccount_service_binding_by_id.yaml b/internal/provider/fixtures/datasource_subaccount_service_binding_by_id.yaml
new file mode 100644
index 00000000..c97c85c8
--- /dev/null
+++ b/internal/provider/fixtures/datasource_subaccount_service_binding_by_id.yaml
@@ -0,0 +1,1145 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 3752f036-8081-5ba0-79f7-1534b6a54709
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:44 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:
+ - d253b58c-35f7-4b3b-5dfa-e7972c35a456
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 464.2659ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - d32163f9-3c2b-63b2-e940-95e3ae47c14c
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:44 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 3518a0e7-c925-4d79-5fdd-2cd5b1376704
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 224.4099ms
+ - id: 2
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - d32163f9-3c2b-63b2-e940-95e3ae47c14c
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:44 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 89ff990a-6890-4517-69a1-b634c16efe92
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 231.0088ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 056b4168-03fa-4f86-5f7b-618b3a5f93e7
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 67e1fd1b-47f6-41f9-44d9-eb5d9edb93ee
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 358.0112ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 37a26db0-49b0-abb9-c960-ffe3ce8cb8aa
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:45 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 6de24db3-60b2-4d5c-4036-09e454335467
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 207.844ms
+ - id: 5
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 37a26db0-49b0-abb9-c960-ffe3ce8cb8aa
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - fb6a7877-ed8d-4c06-609a-48dd66f40f4f
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 101.3929ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - adf59b58-d8b5-8589-a847-560b1c150fb0
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:46 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:
+ - ce431dcc-cfad-4931-583a-9982dc31efd8
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 328.2633ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 7cc64ae7-b07e-f72f-36e6-4b4c28542550
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:46 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 4e3ed8a0-230d-43b3-79ab-3a9c4316a118
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 166.3926ms
+ - id: 8
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 7cc64ae7-b07e-f72f-36e6-4b4c28542550
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:46 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - bc1e22a1-fb5d-41b3-6315-ace5d078db2a
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 127.3467ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - df71b869-1243-fbd4-b776-e8ee1fa29a8c
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:46 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:
+ - d74129ea-488c-4288-41f2-e0460122875a
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 343.6074ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 41843138-3855-ed8a-f77c-93b89037ce00
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:47 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 7fd50bf4-aa00-495d-6dd0-a8539b97c9c3
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 227.9592ms
+ - id: 11
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 41843138-3855-ed8a-f77c-93b89037ce00
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:47 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - d4b34e6b-2fe8-4312-40a3-cde502cff68b
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 134.3271ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - eaba12e8-fab1-0127-89b9-c57d07185181
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:47 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:
+ - 332322e4-323a-4a6e-725d-e12b5c9258e8
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 390.9826ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 8348e86c-c9f7-09f9-2e25-ee5e080308d9
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:47 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 132b7701-0079-4976-6e6c-96622eccfb58
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 182.4141ms
+ - id: 14
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 8348e86c-c9f7-09f9-2e25-ee5e080308d9
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:47 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 1a0179e5-484b-4f62-4663-949a0d996465
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 89.4275ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - a519ff09-ee0e-2f24-dca5-597482e7c92d
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - f6b8501d-8cdc-448b-786f-21d9131a4f41
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 357.4018ms
diff --git a/internal/provider/fixtures/datasource_subaccount_service_binding_by_name.yaml b/internal/provider/fixtures/datasource_subaccount_service_binding_by_name.yaml
new file mode 100644
index 00000000..8c540bb0
--- /dev/null
+++ b/internal/provider/fixtures/datasource_subaccount_service_binding_by_name.yaml
@@ -0,0 +1,1145 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 424dd3c7-7d6b-0603-deb8-1ba55e316dc1
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 49d76298-08cd-4906-74c3-816823ebb39f
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 352.8037ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 881d96fa-0223-ce63-bdbe-1316a9b0284c
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:49 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 2ca4d4c6-e06f-4094-5627-996933250b27
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 203.4003ms
+ - id: 2
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 881d96fa-0223-ce63-bdbe-1316a9b0284c
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:49 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - a12bcf0b-c34e-42c5-6743-7a2a8e009cb5
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 116.6122ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 25cac1ca-1cf1-692f-7b0d-4c978443bfb4
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:49 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:
+ - ffdb0969-85d9-466f-4660-82885eda9033
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 367.8595ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - e38649af-7f70-0b5b-71e7-8713a0ff3c04
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:49 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - ce41bf0b-eb65-4596-6b1d-fa609c6d6bf8
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 178.1606ms
+ - id: 5
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - e38649af-7f70-0b5b-71e7-8713a0ff3c04
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47:49 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 3d299d25-e27f-4f42-5e4a-24f8f39570b4
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 115.7512ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 44178590-3415-d17d-5c75-efc600f5758a
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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:
+ - 0e639896-948c-42b5-6578-8f9c738b9c8f
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 324.8822ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - e9e337de-ae64-6d13-c288-a10038ec2cae
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:50 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 29a832c3-3a1e-45ca-5cba-e87eff6c643d
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 191.1863ms
+ - id: 8
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - e9e337de-ae64-6d13-c288-a10038ec2cae
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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-Cpcli-Backend-Mediatype:
+ - application/json
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 31038753-5dd7-4d9d-4c8c-35ddc461370b
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 152.6055ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 08a164f8-e6ad-a7f2-b094-907ce5d4d125
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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:
+ - 734f9cb7-cb46-4980-4f65-b1bd30aa6c74
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 339.4133ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - b8463420-33d1-0100-54a1-0d6a22922e17
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:51 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 3e3ef672-c682-4f72-4bc3-ac8b790fa945
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 215.478ms
+ - id: 11
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - b8463420-33d1-0100-54a1-0d6a22922e17
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 9b52e815-cbfb-4e23-7447-baa2e46c64e1
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 143.9025ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 24746ca3-92bd-0073-c95d-b8617d5d37eb
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 83c5af7f-c0f2-4c28-6560-a768e8443825
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 344.546ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 5b64d121-f5d2-8438-c756-5ab6849bb4ab
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Tue, 11 Jul 2023 13:47:52 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - f5e57daf-65a0-4bbf-6d0b-9c2ef40bbcf9
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 181.3632ms
+ - id: 14
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 105
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"test-service-binding-iban","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 5b64d121-f5d2-8438-c756-5ab6849bb4ab
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","ready":true,"last_operation":{"id":"4423788d-18e2-4b47-8fb1-45610a76ee5e","ready":true,"type":"create","state":"succeeded","resource_id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"a97ecff6-36e3-4bcf-601a-5f5f7ccce95b","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-11T08:26:41.843646Z","updated_at":"2023-07-11T08:26:42.505113Z"},"name":"test-service-binding-iban","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-11T08:26:41.843643Z","updated_at":"2023-07-11T08:26:42.501718Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - be023089-3c7c-485c-6084-31e1eec28e8f
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 118.1749ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 89334062-f2ce-7dda-e9db-a7a3cceb6911
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:47: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 26c247a4-ec82-4e5c-6ee4-be7e2f9b18f6
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 343.5669ms
diff --git a/internal/provider/fixtures/datasource_subaccount_service_bindings.yaml b/internal/provider/fixtures/datasource_subaccount_service_bindings.yaml
new file mode 100644
index 00000000..3749f9a2
--- /dev/null
+++ b/internal/provider/fixtures/datasource_subaccount_service_bindings.yaml
@@ -0,0 +1,1145 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - a01d217f-0741-5aba-e13a-b7b411eed282
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48:07 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:
+ - e0a0040b-852e-4dd7-721a-a6485072e7e5
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 580.6889ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - ff55db52-2495-5880-f0a2-076d0ad67f14
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ 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:
+ - Tue, 11 Jul 2023 13:48:07 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 574e1369-7f71-448d-7969-d8c86b0656b0
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 218.0464ms
+ - id: 2
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - ff55db52-2495-5880-f0a2-076d0ad67f14
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '[{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:11.823336Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"9d6439fa-7c3b-4f24-ba31-8f1be0771653","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:12.589718Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:44.632844Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"239d82d8-ba7f-42d2-acfd-c21f04ab6c72","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-two","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:45.212123Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:26:41.843643Z","credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-iban","ready":true,"service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","service_instance_name":"tf-testacc-iban-sample","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:26:42.501718Z"}]'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 0da4a565-5c24-41ee-63dd-447e00712693
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 199.5317ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 2cd70141-7254-c9f4-1237-8c65d411f73b
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 4aa531d2-3dfd-44c2-492a-c17f5a1fc9d5
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 395.097ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 594cdb82-07a8-e524-5d25-480c9ab01477
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ 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:
+ - Tue, 11 Jul 2023 13:48:08 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - c2bb2fd2-9e92-4793-6b3a-34f6347cc7f8
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 192.8225ms
+ - id: 5
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 594cdb82-07a8-e524-5d25-480c9ab01477
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '[{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:11.823336Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"9d6439fa-7c3b-4f24-ba31-8f1be0771653","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:12.589718Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:44.632844Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"239d82d8-ba7f-42d2-acfd-c21f04ab6c72","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-two","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:45.212123Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:26:41.843643Z","credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-iban","ready":true,"service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","service_instance_name":"tf-testacc-iban-sample","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:26:42.501718Z"}]'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 45bbe911-d558-482d-6127-3cadd9dff17c
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 118.3247ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - d1ce21f9-6898-eea9-1c26-5afc188813c0
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 36e867ba-8e9c-4b60-74f6-0114e2c32cc7
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 405.1135ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 4610c20a-2856-5f3f-ecf4-67b38d0630dc
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ 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:
+ - Tue, 11 Jul 2023 13:48:09 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 3119d128-9bd8-4fe3-5e41-ba13f0cae334
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 185.1115ms
+ - id: 8
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 4610c20a-2856-5f3f-ecf4-67b38d0630dc
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '[{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:11.823336Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"9d6439fa-7c3b-4f24-ba31-8f1be0771653","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:12.589718Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:44.632844Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"239d82d8-ba7f-42d2-acfd-c21f04ab6c72","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-two","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:45.212123Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:26:41.843643Z","credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-iban","ready":true,"service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","service_instance_name":"tf-testacc-iban-sample","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:26:42.501718Z"}]'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 1494079d-8942-4c22-64ec-c570d76bfb57
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 108.8457ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - a629aea8-ce17-b9a4-5caa-2519df8e956b
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48:10 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 6bd1499c-18ec-45ca-5de2-90ac7e151d48
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 364.1008ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - cc177a83-6ad8-f61a-d5f9-a896a97862a1
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ 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:
+ - Tue, 11 Jul 2023 13:48:10 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - e155a665-f5c8-4291-6e33-f22223fbd263
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 166.0046ms
+ - id: 11
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - cc177a83-6ad8-f61a-d5f9-a896a97862a1
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '[{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:11.823336Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"9d6439fa-7c3b-4f24-ba31-8f1be0771653","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:12.589718Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:44.632844Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"239d82d8-ba7f-42d2-acfd-c21f04ab6c72","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-two","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:45.212123Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:26:41.843643Z","credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-iban","ready":true,"service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","service_instance_name":"tf-testacc-iban-sample","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:26:42.501718Z"}]'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48:10 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Backend-Mediatype:
+ - application/json
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 609d5550-d7c2-4f79-502b-549c42ab1f68
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 100.4085ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - c4ed80d1-ee4e-6ede-47d3-357c38ee941b
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48:10 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - bae4f9ee-ae0d-4127-46da-2a706817d2c4
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 377.9599ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - d7c9b3b2-ec12-84e6-6667-d364b7a0aefe
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ 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:
+ - Tue, 11 Jul 2023 13:48:11 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 6de0ee37-b74e-4c82-44e4-f846cf162a7a
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 213.0551ms
+ - id: 14
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 70
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?list
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - d7c9b3b2-ec12-84e6-6667-d364b7a0aefe
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?list
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '[{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:11.823336Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"9d6439fa-7c3b-4f24-ba31-8f1be0771653","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:12.589718Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-alertnotification-instance","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:25:44.632844Z","credentials":{"client_id":"redacted","client_secret":"redacted","oauth_url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com/oauth/token?grant_type=client_credentials","url":"https://clm-sl-ans-canary-ans-service-api.cfapps.eu12.hana.ondemand.com"},"id":"239d82d8-ba7f-42d2-acfd-c21f04ab6c72","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-two","ready":true,"service_instance_id":"df532d07-57a7-415e-a261-23a398ef068a","service_instance_name":"tf-testacc-alertnotification-instance","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:25:45.212123Z"},{"context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"created_at":"2023-07-11T08:26:41.843643Z","credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"id":"b02e4b22-906b-40c5-9c5e-dbb6a9068444","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","name":"test-service-binding-iban","ready":true,"service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","service_instance_name":"tf-testacc-iban-sample","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","updated_at":"2023-07-11T08:26:42.501718Z"}]'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48:11 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 097604eb-0765-48f8-6408-7f7a631a0b80
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 116.2793ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - adee9c53-79cd-9083-b0ad-0269ea2fb169
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Tue, 11 Jul 2023 13:48:11 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:
+ - e50e863f-732a-48f3-4cbc-26e126cb9c3e
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 359.3413ms
diff --git a/internal/provider/fixtures/resource_subaccount_service_binding.yaml b/internal/provider/fixtures/resource_subaccount_service_binding.yaml
new file mode 100644
index 00000000..3192b2b8
--- /dev/null
+++ b/internal/provider/fixtures/resource_subaccount_service_binding.yaml
@@ -0,0 +1,1331 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - c2cdb195-26b5-62cf-34aa-1a1de5da12ab
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 64e11a6f-17de-443a-7814-00811e13b411
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 443.983ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 1308d561-3ddf-e21e-9854-04dfae101aa4
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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:
+ - bb881ed6-c790-44f0-57e7-de357186bb65
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 376.8977ms
+ - id: 2
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 4ab9b599-bf46-e08c-d2c8-f66ec0ff5f01
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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:
+ - 78a32166-857f-4c27-70b0-de48d489665b
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 365.4047ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 175
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"tfint-test-iban-sb","parameters":"{}","serviceInstanceID":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - b7ece186-2193-75ec-6fd3-020fd28da16c
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:17 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?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-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 4ed69942-eb4a-45f2-5ad2-42dbb603cc6f
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 222.7702ms
+ - id: 4
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 175
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"tfint-test-iban-sb","parameters":"{}","serviceInstanceID":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?create
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - b7ece186-2193-75ec-6fd3-020fd28da16c
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?create
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","ready":true,"last_operation":{"id":"4698c7a6-2e0b-4450-b10f-f61f91ea4818","ready":true,"type":"create","state":"succeeded","resource_id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"b7ece186-2193-75ec-6fd3-020fd28da16c","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:17.978563Z","updated_at":"2023-07-12T09:36:18.552068Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:17.97856Z","updated_at":"2023-07-12T09:36:18.547398596Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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
+ X-Cpcli-Backend-Status:
+ - "201"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - b38bc0f0-3aea-41f0-779a-686084e55fe5
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 800.5037ms
+ - id: 5
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - dc064ec0-3795-0c2c-a8c5-5058397b8596
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:23 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 51324921-e9de-4c79-4a95-7b4af22b3f58
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 210.1344ms
+ - id: 6
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - dc064ec0-3795-0c2c-a8c5-5058397b8596
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","ready":true,"last_operation":{"id":"4698c7a6-2e0b-4450-b10f-f61f91ea4818","ready":true,"type":"create","state":"succeeded","resource_id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"b7ece186-2193-75ec-6fd3-020fd28da16c","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:17.978563Z","updated_at":"2023-07-12T09:36:18.552068Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:17.97856Z","updated_at":"2023-07-12T09:36:18.547399Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:23 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 3480f7a1-2957-4cf2-7677-d3ea66fb5313
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 119.063ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - edcf325e-8404-8ece-69a6-ef846a9a8207
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:24 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - e4d75f04-832e-4c2b-4257-7974956c8303
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 380.1127ms
+ - id: 8
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - cb72d774-f208-7511-51ad-634510144839
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:24 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 3383111f-d626-4e9d-630e-86e18057f6cd
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 381.8222ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 5ebdc58e-1ba1-545b-a18d-c17902651a6b
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:25 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 8f8b1f24-94b6-4784-7788-0493b814ccb2
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 218.4107ms
+ - id: 10
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 5ebdc58e-1ba1-545b-a18d-c17902651a6b
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","ready":true,"last_operation":{"id":"4698c7a6-2e0b-4450-b10f-f61f91ea4818","ready":true,"type":"create","state":"succeeded","resource_id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"b7ece186-2193-75ec-6fd3-020fd28da16c","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:17.978563Z","updated_at":"2023-07-12T09:36:18.552068Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:17.97856Z","updated_at":"2023-07-12T09:36:18.547399Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 437d8afc-dc79-4149-6f9d-916458e53151
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 90.1603ms
+ - id: 11
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 6a943d40-1854-3752-ff34-0ab8a05b2080
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 421338d8-d100-47d1-561a-3fd0a1202a0d
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 363.7845ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 9946df5b-bc74-5c0d-568c-35ce29bf4a19
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:26 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:
+ - 99c6a335-f0bb-41da-750f-1281a1549b58
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 356.9626ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 2293ff62-2667-f1ed-b6ea-618655c87884
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:26 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 4399f094-6f04-4f4a-40c7-8402f08ea819
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 171.9741ms
+ - id: 14
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 2293ff62-2667-f1ed-b6ea-618655c87884
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","ready":true,"last_operation":{"id":"4698c7a6-2e0b-4450-b10f-f61f91ea4818","ready":true,"type":"create","state":"succeeded","resource_id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"b7ece186-2193-75ec-6fd3-020fd28da16c","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:17.978563Z","updated_at":"2023-07-12T09:36:18.552068Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:17.97856Z","updated_at":"2023-07-12T09:36:18.547399Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:26 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 4775bbf4-7bad-4be5-73fb-7024ac0e83cf
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 121.5348ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - f1eb8f6b-f68b-172e-2faa-97ede62b9a2b
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:26 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:
+ - d4ee2e22-da89-4db1-449d-3f0916736d65
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 320.6611ms
+ - id: 16
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 8091e1f9-d4ea-2091-6951-9412d8cf13f6
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 7b22e18d-c32a-4228-6eb0-f2fa0142e6e4
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 380.6581ms
+ - id: 17
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - a5fe5e10-bba5-1c7c-cc4b-9f3dc8ffe109
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:27 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?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-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 305c1474-af13-4736-4313-26ecc04131a9
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 184.537ms
+ - id: 18
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"b4559e3d-aa91-42cf-80dd-ec8fe4e23aa5","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?delete
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - a5fe5e10-bba5-1c7c-cc4b-9f3dc8ffe109
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?delete
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - dea45150-4779-4516-4b94-687a1f71e0c3
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 427.3341ms
diff --git a/internal/provider/fixtures/resource_subaccount_service_binding_import_error.yaml b/internal/provider/fixtures/resource_subaccount_service_binding_import_error.yaml
new file mode 100644
index 00000000..f2f6745f
--- /dev/null
+++ b/internal/provider/fixtures/resource_subaccount_service_binding_import_error.yaml
@@ -0,0 +1,1177 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - bdfe7c9a-28f8-357c-3a10-c47ca4a3d8f7
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:28 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:
+ - a12a95b5-f887-400e-6bcd-2fb39ce392c3
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 385.776ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 028e4d34-c010-61ce-5993-8d6540872459
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:29 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:
+ - 65927066-a6ad-4389-63c2-64d89cb60e47
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 377.5877ms
+ - id: 2
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 5cfd39a8-8673-8805-c1b8-899053e07919
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:29 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:
+ - b96fca2b-851e-47b0-7042-645b808e0dc1
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 322.1772ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 175
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"tfint-test-iban-sb","parameters":"{}","serviceInstanceID":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 47c9890d-8229-c7f9-255e-c2ed26351a22
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:29 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?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-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 11a617a6-e66b-4893-5007-73a355e96e6c
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 178.7128ms
+ - id: 4
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 175
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"name":"tfint-test-iban-sb","parameters":"{}","serviceInstanceID":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?create
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 47c9890d-8229-c7f9-255e-c2ed26351a22
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?create
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","ready":true,"last_operation":{"id":"1c68a6c7-02fd-4bde-9d9e-6dee09497046","ready":true,"type":"create","state":"succeeded","resource_id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"47c9890d-8229-c7f9-255e-c2ed26351a22","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:29.9301Z","updated_at":"2023-07-12T09:36:30.401892Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:29.930097Z","updated_at":"2023-07-12T09:36:30.398134235Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5","username":"","password":""}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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
+ X-Cpcli-Backend-Status:
+ - "201"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - a3611951-5e3a-4c2e-43aa-2f57e6bb4e9b
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 620.7931ms
+ - id: 5
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 40a41376-8ea6-673c-30b7-9d8755e7d76b
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:35 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 27ab4f8b-62b3-45c4-5707-6f81c170ba67
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 214.0954ms
+ - id: 6
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 40a41376-8ea6-673c-30b7-9d8755e7d76b
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","ready":true,"last_operation":{"id":"1c68a6c7-02fd-4bde-9d9e-6dee09497046","ready":true,"type":"create","state":"succeeded","resource_id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"47c9890d-8229-c7f9-255e-c2ed26351a22","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:29.9301Z","updated_at":"2023-07-12T09:36:30.401892Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:29.930097Z","updated_at":"2023-07-12T09:36:30.398134Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:35 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - f2afe8d8-10f7-49ab-6d64-d14d587e73a3
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 106.1107ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 55f0a557-9dbb-ea57-85a0-020d58833564
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:36 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:
+ - 342f191d-695d-47a8-5abe-bdddf4af4c6b
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 346.4664ms
+ - id: 8
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - c4a4f67a-8d1d-6a74-d522-9d8ca7c540f9
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:36 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:
+ - b7c2b3a5-d4f0-4d8d-6264-56ad760f56a8
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 381.345ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 709ac227-3435-e838-e273-0f74137afae2
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:36 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 2d258a1e-abf2-4f3a-7f80-8c6ccebc2cc2
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 178.6459ms
+ - id: 10
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?get
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 709ac227-3435-e838-e273-0f74137afae2
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?get
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","ready":true,"last_operation":{"id":"1c68a6c7-02fd-4bde-9d9e-6dee09497046","ready":true,"type":"create","state":"succeeded","resource_id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","resource_type":"/v1/service_bindings","platform_id":"service-manager","correlation_id":"47c9890d-8229-c7f9-255e-c2ed26351a22","reschedule":false,"reschedule_timestamp":"0001-01-01T00:00:00Z","deletion_scheduled":"0001-01-01T00:00:00Z","created_at":"2023-07-12T09:36:29.9301Z","updated_at":"2023-07-12T09:36:30.401892Z"},"name":"tfint-test-iban-sb","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","context":{"crm_customer_id":"","global_account_id":"03760ecf-9d89-4189-a92a-1c7efed09298","instance_name":"tf-testacc-iban-sample","license_type":"SAPDEV","origin":"sapcp","platform":"sapcp","region":"cf-eu12","service_instance_id":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9","subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","subdomain":"integration-test-services-4ie3yr1a","zone_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"credentials":{"service":{"id":"08b9ac4d-fcc7-4d5d-9ead-f769d992a5b8","planId":"960cae74-6a24-4c51-a141-0be2fdd6aaa9"},"uaa":{"apiurl":"https://api.authentication.eu12.hana.ondemand.com","clientid":"redacted","clientsecret":"redacted","credential-type":"binding-secret","identityzone":"integration-test-services-4ie3yr1a","identityzoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","sburl":"https://internal-xsuaa.authentication.eu12.hana.ondemand.com","subaccountid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","tenantmode":"dedicated","uaadomain":"authentication.eu12.hana.ondemand.com","url":"https://integration-test-services-4ie3yr1a.authentication.eu12.hana.ondemand.com","verificationkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwT0BKz56nPPcMA/QgznH\noG9pv5DYvEAwAU0zy0D5jH+PHjDMQ/cz0ktxTF5HdDHXBPe463C18z+1Lwlg70uC\n0snFhbN50FOtVKZAnk7alLpMhj4ArsIRjGuJG0N1zUry8HEAlwQfLFcLmc1bUxyd\n6cop4rLwNDkOf1A0VAdk/YlMiSyTgDvYW3SxAUQzgjvcUI3k4KBtceWficZfPrdl\n5uP9RDGfAJTN6miqQuTILOiFkGzWtDS3mE9W5DHiWVN2K4gZnWUp/RtvHqG9dZ9p\nr14wGZKfvUXRWvIpW91qdbxjOjvhjMifJQ0mpIuAVR3Uf0Llhs5GpHyiog/JIwMd\n0wIDAQAB\n-----END PUBLIC KEY-----","xsappname":"b6a7d7da-41f4-4dfc-a883-fde826c2e9f9!b168799|abap-business-service!b1312","zoneid":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"},"url":"https://abs-proxy-canary-1.cfapps.eu12.hana.ondemand.com/api/v1/ibanservice"},"subaccount_id":"59cd458e-e66e-4b60-b6d8-8f219379f9a5","created_at":"2023-07-12T09:36:29.930097Z","updated_at":"2023-07-12T09:36:30.398134Z","labels":"subaccount_id = 59cd458e-e66e-4b60-b6d8-8f219379f9a5"}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:36 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:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 4b3d69ae-6b98-4b9e-5ac5-1ab705616461
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 105.6175ms
+ - id: 11
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 5de3ea1b-0773-d5f7-bb04-c11b2cee0782
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - acfd4452-4d09-443b-4aed-07fb6dd435d1
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 337.6587ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - f7984cb5-bdc8-4c6d-4d23-f85d055852f3
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 9c801dc3-a60c-402b-6aa3-eaec26093e50
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 340.7902ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 6f416393-2694-3760-ef29-a7e0c6887c80
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:38 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 723d32f2-3aee-43fe-766e-f1e9c6896059
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 403.2209ms
+ - id: 14
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 118
+ 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.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 1bfa6ce9-f1a4-8473-cf83-883afe26c966
+ 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: 149
+ 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:
+ - "149"
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36:38 GMT
+ Expires:
+ - "0"
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload;
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - dca9a5ed-c36a-49a5-51ef-bfa534d537d8
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 384.1709ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: cpcli.cf.sap.hana.ondemand.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 253e735a-4034-c7ec-aefd-7751142b17eb
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - terraformintcanary
+ url: https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?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:
+ - Wed, 12 Jul 2023 09:36:38 GMT
+ Expires:
+ - "0"
+ Location:
+ - https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?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-services-4ie3yr1a
+ X-Frame-Options:
+ - DENY
+ X-Id-Token:
+ - redacted
+ X-Vcap-Request-Id:
+ - 06aba76f-3f02-4596-74b2-f1a00a633401
+ X-Xss-Protection:
+ - "0"
+ status: 307 Temporary Redirect
+ code: 307
+ duration: 183.6584ms
+ - id: 16
+ request:
+ proto: ""
+ proto_major: 0
+ proto_minor: 0
+ content_length: 114
+ transfer_encoding: []
+ trailer: {}
+ host: ""
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"paramValues":{"id":"01fb5db0-5434-4008-b9ed-b635a5ed49e4","subaccount":"59cd458e-e66e-4b60-b6d8-8f219379f9a5"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ Referer:
+ - https://cpcli.cf.sap.hana.ondemand.com/command/v2.38.0/services/binding?delete
+ User-Agent:
+ - Terraform/1.5.2 terraform-provider-btp/dev
+ X-Correlationid:
+ - 253e735a-4034-c7ec-aefd-7751142b17eb
+ X-Cpcli-Customidp:
+ - ""
+ X-Cpcli-Format:
+ - json
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Subdomain:
+ - integration-test-services-4ie3yr1a
+ X-Id-Token:
+ - redacted
+ url: https://cpcli.cf.eu12.hana.ondemand.com/command/v2.38.0/services/binding?delete
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{}'
+ headers:
+ Cache-Control:
+ - no-cache, no-store, max-age=0, must-revalidate
+ Content-Type:
+ - application/json
+ Date:
+ - Wed, 12 Jul 2023 09:36: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
+ X-Cpcli-Backend-Status:
+ - "200"
+ X-Cpcli-Refreshtoken:
+ - redacted
+ X-Cpcli-Replacementrefreshtoken:
+ - redacted
+ X-Frame-Options:
+ - DENY
+ X-Vcap-Request-Id:
+ - 7adf0c68-48af-484e-5bb5-2a47810a09f3
+ X-Xss-Protection:
+ - "0"
+ status: 200 OK
+ code: 200
+ duration: 362.7611ms
diff --git a/internal/provider/provider.go b/internal/provider/provider.go
index bd28b524..de6540fb 100644
--- a/internal/provider/provider.go
+++ b/internal/provider/provider.go
@@ -161,7 +161,6 @@ func (p *btpcliProvider) Resources(ctx context.Context) []func() resource.Resour
newDirectoryRoleResource,
newGlobalaccountRoleResource,
newSubaccountRoleResource,
- newSubaccountServiceBindingResource,
}
if !p.betaFeaturesEnabled {
@@ -170,17 +169,18 @@ func (p *btpcliProvider) Resources(ctx context.Context) []func() resource.Resour
return append([]func() resource.Resource{
newDirectoryResource,
- newDirectoryRoleCollectionResource,
newDirectoryRoleCollectionAssignmentResource,
+ newDirectoryRoleCollectionResource,
newGlobalaccountResourceProviderResource,
- newGlobalaccountRoleCollectionResource,
newGlobalaccountRoleCollectionAssignmentResource,
+ newGlobalaccountRoleCollectionResource,
newGlobalaccountTrustConfigurationResource,
newSubaccountEntitlementResource,
newSubaccountEnvironmentInstanceResource,
newSubaccountResource,
- newSubaccountRoleCollectionResource,
newSubaccountRoleCollectionAssignmentResource,
+ newSubaccountRoleCollectionResource,
+ newSubaccountServiceBindingResource,
newSubaccountServiceInstanceResource,
newSubaccountSubscriptionResource,
newSubaccountTrustConfigurationResource,
@@ -198,8 +198,6 @@ func (p *btpcliProvider) DataSources(ctx context.Context) []func() datasource.Da
newGlobalaccountResourceProvidersDataSource,
newSubaccountServiceBrokerDataSource,
newSubaccountServiceBrokersDataSource,
- newSubaccountServiceBindingDataSource,
- newSubaccountServiceBindingsDataSource,
newSubaccountServicePlatformDataSource,
newSubaccountServicePlatformsDataSource,
}
@@ -229,9 +227,9 @@ func (p *btpcliProvider) DataSources(ctx context.Context) []func() datasource.Da
newGlobalaccountUserDataSource,
newGlobalaccountUsersDataSource,
newRegionsDataSource,
- newSubaccountDataSource,
newSubaccountAppDataSource,
newSubaccountAppsDataSource,
+ newSubaccountDataSource,
newSubaccountEntitlementsDataSource,
newSubaccountEnvironmentInstanceDataSource,
newSubaccountEnvironmentInstancesDataSource,
@@ -241,19 +239,21 @@ func (p *btpcliProvider) DataSources(ctx context.Context) []func() datasource.Da
newSubaccountRoleCollectionsDataSource,
newSubaccountRoleDataSource,
newSubaccountRolesDataSource,
+ newSubaccountServiceBindingDataSource,
+ newSubaccountServiceBindingsDataSource,
newSubaccountServiceInstanceDataSource,
newSubaccountServiceInstancesDataSource,
newSubaccountServiceOfferingDataSource,
newSubaccountServiceOfferingsDataSource,
newSubaccountServicePlanDataSource,
newSubaccountServicePlansDataSource,
+ newSubaccountSubscriptionDataSource,
+ newSubaccountSubscriptionsDataSource,
newSubaccountTrustConfigurationDataSource,
newSubaccountTrustConfigurationsDataSource,
newSubaccountUserDataSource,
newSubaccountUsersDataSource,
newSubaccountsDataSource,
- newSubaccountSubscriptionDataSource,
- newSubaccountSubscriptionsDataSource,
newWhoamiDataSource,
}, betaDataSources...)
}
diff --git a/internal/provider/provider_test.go b/internal/provider/provider_test.go
index b447feaa..72407d16 100644
--- a/internal/provider/provider_test.go
+++ b/internal/provider/provider_test.go
@@ -110,6 +110,26 @@ func setupVCR(t *testing.T, cassetteName string) *recorder.Recorder {
i.Response.Body = i.Response.Body[:indexOfExternalId+14] + "I000000" + i.Response.Body[indexOfExternalId+21:]
}
+ if strings.Contains(i.Response.Body, "clientid") {
+ reClientSecretVariant1 := regexp.MustCompile(`"clientid":"(.*?)"`)
+ i.Response.Body = reClientSecretVariant1.ReplaceAllString(i.Response.Body, `"clientid":"redacted"`)
+ }
+
+ if strings.Contains(i.Response.Body, "clientsecret") {
+ reClientSecretVariant1 := regexp.MustCompile(`"clientsecret":"(.*?)"`)
+ i.Response.Body = reClientSecretVariant1.ReplaceAllString(i.Response.Body, `"clientsecret":"redacted"`)
+ }
+
+ if strings.Contains(i.Response.Body, "client_id") {
+ reClientSecretVariant2 := regexp.MustCompile(`"client_id":"(.*?)"`)
+ i.Response.Body = reClientSecretVariant2.ReplaceAllString(i.Response.Body, `"client_id":"redacted"`)
+ }
+
+ if strings.Contains(i.Response.Body, "client_secret") {
+ reClientSecretVariant2 := regexp.MustCompile(`"client_secret":"(.*?)"`)
+ i.Response.Body = reClientSecretVariant2.ReplaceAllString(i.Response.Body, `"client_secret":"redacted"`)
+ }
+
return nil
}
@@ -204,9 +224,7 @@ func TestProvider_HasResources(t *testing.T) {
"btp_subaccount_role_collection",
"btp_subaccount_role_collection_assignment",
"btp_subaccount_service_instance",
- /* TODO: switched off for phase 1
"btp_subaccount_service_binding",
- */
"btp_subaccount_subscription",
"btp_subaccount_trust_configuration",
}
@@ -271,9 +289,9 @@ func TestProvider_HasDatasources(t *testing.T) {
"btp_subaccount_role_collection",
"btp_subaccount_role_collections",
"btp_subaccount_roles",
- /*TODO:
"btp_subaccount_service_binding",
"btp_subaccount_service_bindings",
+ /*TODO: Switched off for phase 1
"btp_subaccount_service_broker",
"btp_subaccount_service_brokers",
*/
diff --git a/internal/provider/resource_subaccount_service_binding.go b/internal/provider/resource_subaccount_service_binding.go
index b89b80f7..cc30a95c 100644
--- a/internal/provider/resource_subaccount_service_binding.go
+++ b/internal/provider/resource_subaccount_service_binding.go
@@ -68,6 +68,7 @@ func (rs *subaccountServiceBindingResource) Schema(_ context.Context, _ resource
Default: stringdefault.StaticString(`{}`),
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
+ stringplanmodifier.UseStateForUnknown(),
},
Validators: []validator.String{
jsonvalidator.ValidJSON(),
@@ -141,7 +142,15 @@ func (rs *subaccountServiceBindingResource) Read(ctx context.Context, req resour
}
updatedState, diags := subaccountServiceBindingValueFrom(ctx, cliRes)
- updatedState.Parameters = state.Parameters
+
+ if updatedState.Parameters.IsNull() && !state.Parameters.IsNull() {
+ // The parameters are not returned by the API so we transfer the existing state to the read result if not existing
+ updatedState.Parameters = state.Parameters
+ } else if updatedState.Parameters.IsNull() && state.Parameters.IsNull() {
+ // During the import of the resource both values might be empty, so we need to apply the default value form the schema if not existing
+ updatedState.Parameters = types.StringValue("{}")
+ }
+
resp.Diagnostics.Append(diags...)
diags = resp.State.Set(ctx, &updatedState)
@@ -242,6 +251,6 @@ func (rs *subaccountServiceBindingResource) ImportState(ctx context.Context, req
return
}
- resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("subaccount"), idParts[0])...)
+ resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("subaccount_id"), idParts[0])...)
resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("id"), idParts[1])...)
}
diff --git a/internal/provider/resource_subaccount_service_binding_test.go b/internal/provider/resource_subaccount_service_binding_test.go
new file mode 100644
index 00000000..19259290
--- /dev/null
+++ b/internal/provider/resource_subaccount_service_binding_test.go
@@ -0,0 +1,149 @@
+package provider
+
+import (
+ "fmt"
+ "regexp"
+ "testing"
+
+ "github.com/hashicorp/terraform-plugin-testing/helper/resource"
+ "github.com/hashicorp/terraform-plugin-testing/terraform"
+)
+
+func TestResourceSubaccountServiceBinding(t *testing.T) {
+ // Using the IBAN service as ID for the service instance
+ t.Run("happy path - simple service_binding", func(t *testing.T) {
+ rec := setupVCR(t, "fixtures/resource_subaccount_service_binding")
+ defer stopQuietly(rec)
+
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclResourceSubaccountServiceBinding("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "b6a7d7da-41f4-4dfc-a883-fde826c2e9f9", "tfint-test-iban-sb"),
+ Check: resource.ComposeAggregateTestCheckFunc(
+ resource.TestMatchResourceAttr("btp_subaccount_service_binding.uut", "id", regexpValidUUID),
+ resource.TestCheckResourceAttr("btp_subaccount_service_binding.uut", "subaccount_id", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ resource.TestMatchResourceAttr("btp_subaccount_service_binding.uut", "created_date", regexpValidRFC3999Format),
+ resource.TestMatchResourceAttr("btp_subaccount_service_binding.uut", "last_modified", regexpValidRFC3999Format),
+ ),
+ },
+ {
+ ResourceName: "btp_subaccount_service_binding.uut",
+ ImportStateIdFunc: getServiceBindingImportStateId("btp_subaccount_service_binding.uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5"),
+ ImportState: true,
+ ImportStateVerify: true,
+ },
+ },
+ })
+ })
+ t.Run("error path - subacount_id mandatory", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclResourceSubaccountServiceBindingNoSubaccountId("uut", "b6a7d7da-41f4-4dfc-a883-fde826c2e9f9", "tfint-test-iban-sb"),
+ ExpectError: regexp.MustCompile(`The argument "subaccount_id" is required, but no definition was found`),
+ },
+ },
+ })
+ })
+
+ t.Run("error path - service instance id mandatory", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclResourceSubaccountServiceBindingNoServiceInstanceId("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "tfint-test-iban-sb"),
+ ExpectError: regexp.MustCompile(`The argument "service_instance_id" is required, but no definition was found`),
+ },
+ },
+ })
+ })
+
+ t.Run("error path - service plan ID", func(t *testing.T) {
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(nil),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclResourceSubaccountServiceBindingNoName("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "b6a7d7da-41f4-4dfc-a883-fde826c2e9f9"),
+ ExpectError: regexp.MustCompile(`The argument "name" is required, but no definition was found`),
+ },
+ },
+ })
+ })
+
+ t.Run("error path - import failure", func(t *testing.T) {
+ rec := setupVCR(t, "fixtures/resource_subaccount_service_binding_import_error")
+ defer stopQuietly(rec)
+
+ resource.Test(t, resource.TestCase{
+ IsUnitTest: true,
+ ProtoV6ProviderFactories: getProviders(rec.GetDefaultClient()),
+ Steps: []resource.TestStep{
+ {
+ Config: hclProvider() + hclResourceSubaccountServiceBinding("uut", "59cd458e-e66e-4b60-b6d8-8f219379f9a5", "b6a7d7da-41f4-4dfc-a883-fde826c2e9f9", "tfint-test-iban-sb"),
+ },
+ {
+ ResourceName: "btp_subaccount_service_binding.uut",
+ ImportStateId: "59cd458e-e66e-4b60-b6d8-8f219379f9a5",
+ ImportState: true,
+ ImportStateVerify: true,
+ ExpectError: regexp.MustCompile(`Unexpected Import Identifier`),
+ },
+ },
+ })
+ })
+
+}
+
+func hclResourceSubaccountServiceBinding(resourceName string, subaccountId string, serviceInstanceId string, name string) string {
+
+ return fmt.Sprintf(`
+ resource "btp_subaccount_service_binding" "%s"{
+ subaccount_id = "%s"
+ service_instance_id = "%s"
+ name = "%s"
+ }`, resourceName, subaccountId, serviceInstanceId, name)
+}
+
+func hclResourceSubaccountServiceBindingNoSubaccountId(resourceName string, serviceInstanceId string, name string) string {
+
+ return fmt.Sprintf(`
+ resource "btp_subaccount_service_binding" "%s"{
+ service_instance_id = "%s"
+ name = "%s"
+ }`, resourceName, serviceInstanceId, name)
+}
+
+func hclResourceSubaccountServiceBindingNoServiceInstanceId(resourceName string, subaccountId string, name string) string {
+
+ return fmt.Sprintf(`
+ resource "btp_subaccount_service_binding" "%s"{
+ subaccount_id = "%s"
+ name = "%s"
+ }`, resourceName, subaccountId, name)
+}
+
+func hclResourceSubaccountServiceBindingNoName(resourceName string, subaccountId string, serviceInstanceId string) string {
+
+ return fmt.Sprintf(`
+ resource "btp_subaccount_service_binding" "%s"{
+ subaccount_id = "%s"
+ service_instance_id = "%s"
+ }`, resourceName, subaccountId, serviceInstanceId)
+}
+
+func getServiceBindingImportStateId(resourceName string, subaccountId string) resource.ImportStateIdFunc {
+ return func(state *terraform.State) (string, error) {
+ rs, ok := state.RootModule().Resources[resourceName]
+ if !ok {
+ return "", fmt.Errorf("not found: %s", resourceName)
+ }
+
+ return fmt.Sprintf("%s,%s", subaccountId, rs.Primary.ID), nil
+ }
+}