Expose the error message when Cloud Logs instance provisioning fails #5729
Labels
service/Cloud Logs
Issues related to Cloud Logs
service/Resource Management
Issues related to Resource Manager or Resource controller Issues
When Cloud Logs instance provisioning fails, it returns a generic message like this:
However, we do have the error message in RC's
last_operation.description
field but the TF provider resource_instance resource doesn't read it. Can the error be exposed in the provider output?Community Note
Terraform CLI and Terraform IBM Provider Version
tf 1.9.2
provider 1.69.2
Affected Resource(s)
Terraform Configuration Files
https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances/blob/main/modules/cloud_logs/main.tf
Debug Output
Panic Output
Expected Behavior
Expose the error in the log output
Actual Behavior
Generic error message returned with no information on why provisioning fails
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: