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
hcp_service_principal.org_admin_terraform: Creating...
╷
│ Error: Error creating service principal
│
│ with hcp_service_principal.org_admin_terraform,
│ on main.tf line 41, in resource "hcp_service_principal" "org_admin_terraform":
│ 41: resource "hcp_service_principal" "org_admin_terraform" {
│
│ [POST /2019-12-10/iam/{parent_resource_name}/service-principals][500] ServicePrincipalsService_CreateServicePrincipal default &{Code:13 Details:[] Message:couldn't prepare new service principal data}
Expected Behavior
The Web UI shows a validation error. Terraform should also show a validation error, preferably as early as possible.
If it must be late, the error message should indicate the exact issue.
Actual Behavior
No problems until terraform apply, and the produced error {Code:13 Details:[] Message:couldn't prepare new service principal data} doesn't help much.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
cliffchapmanrbx
changed the title
Service principle names are not validated and the error message is unhelpful
Service principal names are not validated and the error message is unhelpful
Jun 4, 2024
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
This is the relevant output:
Expected Behavior
The Web UI shows a validation error. Terraform should also show a validation error, preferably as early as possible.
If it must be late, the error message should indicate the exact issue.
Actual Behavior
No problems until
terraform apply
, and the produced error{Code:13 Details:[] Message:couldn't prepare new service principal data}
doesn't help much.Community Note
The text was updated successfully, but these errors were encountered: