You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of the Terraform provider are you using?
1.9.0
What version of the Terraform CLI are you using?
1.10.5
What type of issue are you facing
bug report
Describe the bug
Currently the deployment of a subscription for event-mesh-sap2sap resource fails with error
Error: API Error Creating Resource Subscription (Subaccount)
│
│ with btp_subaccount_subscription.sap2sap_subscribe,
│ on main.tf line 33, in resource "btp_subaccount_subscription" "sap2sap_subscribe":
│ 33: resource "btp_subaccount_subscription" "sap2sap_subscribe" {
│
│ undefined API error during subscription
Checking the resource in the BTP Cockpit revelas following error
Couldn't subscribe to SAP Cloud Application Event Hub. Please try again. If the problem persists, open a support case using the component: CA-EB.
So i investigated th btp cli using btp get accounts/subscription --subaccount xxxxxx --of-app event-mesh-sap2sap --plan standard and checked the state of the subscription there. This revealed
app name: event-mesh-sap2sap
commercial app name: event-mesh-sap2sap
app id: event-mesh-sap2sap-app!t26928
plan name: standard
supports plan updates: false
Whether it supports subscription parameters update: false
type:
status: SUBSCRIBE_FAILED
application url:
subscribed tenant id: xxxxxx
subscribed subaccount id: xxxxxx
subscription id:
app error: {"description":"failed to unmarshal SubscriptionContext json"}
This seems to be an issue of the GO BTP Provider unmarshalling a json file obviously.
Expected Behavior
When i create the subscription using the btp cli then it all works fine. So this should also be the case using the BTP Terraform provider.
Steps To Reproduce
Execute a terraform init
Execute a terraform apply with the following configuration
Error could be reproduced. The implementation of the event-mesh-sap2sap app cannot handle an empty JSON file for parameters (in contrast to other subscriptions)
The provisioning of parameter JSON must be relaxed.
In addition, the error message could be improved if saas manager response object returns an app error (as displayed in the cockpit)
Is there an existing issue for this?
What version of the Terraform provider are you using?
1.9.0
What version of the Terraform CLI are you using?
1.10.5
What type of issue are you facing
bug report
Describe the bug
Currently the deployment of a subscription for event-mesh-sap2sap resource fails with error
Checking the resource in the BTP Cockpit revelas following error
So i investigated th btp cli using
btp get accounts/subscription --subaccount xxxxxx --of-app event-mesh-sap2sap --plan standard
and checked the state of the subscription there. This revealedThis seems to be an issue of the GO BTP Provider unmarshalling a json file obviously.
Expected Behavior
When i create the subscription using the btp cli then it all works fine. So this should also be the case using the BTP Terraform provider.
Steps To Reproduce
terraform init
terraform apply
with the following configurationUser's Role Collections
Add screenshots to help explain your problem
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: