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
The value for 'targets.name' is not valid. The value must be between 1 and 35 characters in length and can only contain these characters: ^[a-zA-Z][a-zA-Z0-9-]*$."
If you enter a value that does not comply with this, the provider does not fail. Instead the api returns with an error that is pretty useless: 'CreateTenantWithContext failed: Bad Request'
I already have an issue to improve that error message from the api, however regex validation should be added to the provider to ensure a better user experience and to also fail faster.
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
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
ibm_logs_router_tenant
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
# Copy-paste your Terraform configurations here - for large Terraform configs,# please share a link to the ZIP file.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
As per the Cloud Logs team:
If you enter a value that does not comply with this, the provider does not fail. Instead the api returns with an error that is pretty useless:
'CreateTenantWithContext failed: Bad Request'
I already have an issue to improve that error message from the api, however regex validation should be added to the provider to ensure a better user experience and to also fail faster.
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: