SAP-samples / btp-terraform-samples

Best practices and examples to use the Terraform provider for SAP BTP.
Apache License 2.0
32 stars 24 forks source link

Terraform SAP provider 500 error while provisioning multiple resources #217

Closed rohitsinghsap closed 2 weeks ago

rohitsinghsap commented 2 weeks ago

Is there an existing issue for this?

What type of issue are you facing

bug report

Describe the bug

I have written a terraform code for different BTP resources and then created a main.tf file where I am calling modules for provisioning of BTP resources. When I have added 3-4 resources then I was not getting any error but when I have completed with incorporating all eight resources module for provisioning then it gives an error of 500. Sample error "Error: unableToCreateClient │ │ with module.role.provider["registry.terraform.io/sap/btp"], │ on Modules/prod/produs/btp/role/provider.tf line 10, in provider "btp": │ 10: provider "btp" { │ │ received response with unexpected status [Status: 500; Correlation ID: 718fcf36-1b2e-f6de-759b-07ed33b543d9]" Terraform version used: 1.8.5

Expected Behavior

While running terraform plan and apply this error is coming unexpectedly. but expected behaviour is that terraform plan and apply command will run without any error.

Steps To Reproduce

No response

Add screenshots to help explain your problem

![Uploading Screenshot 2024-06-27 at 9.46.55 PM.png…]()

Additional context

No response

lechnerc77 commented 2 weeks ago

Closing this as duplicate to https://github.com/SAP/terraform-provider-btp/issues/840. You find the answer to your question there