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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
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
0000