hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.29k stars 1.72k forks source link

Support details LRO error messages in mmv1 #12670

Open sandmman opened 1 year ago

sandmman commented 1 year ago

Description

The API surface of mmv1 supports LRO error handling configuration; however, there is no way to configure the resulting error message to include anything aside from the LRO.error.message field. Many APIs add additional information inside the details of the LRO message (see https://google.aip.dev/193). The mmv1 API should be extended to include these details.

Further context: https://yaqs.corp.google.com/eng/q/3279858578818596864

melinath commented 1 year ago

Possibly related to https://github.com/hashicorp/terraform-provider-google/issues/12431

rileykarson commented 1 year ago

Fixed YAQS:

rileykarson commented 5 months ago

We do support this for one API, but aren't likely to do a general audit. Targeted products where details are missing would be resolvable, though.

melinath commented 5 months ago

I think the task here would be to allow configuring generated operation code on a per-service basis.