-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "state" and "error_result" field to google_bigquery_job #8357
Add "state" and "error_result" field to google_bigquery_job #8357
Comments
Hi, Thanks a lot of helping out and creating this issue. I did this patch today:
It seems to work, but one thing that surprises me is that
I'm wondering if this is the right direction, and anybody can help with that. |
Looking into generator code I believe this is because of
|
@kanterov: Terraform doesn't actually support an object type, and objects are represented as single-element arrays so that's expected! Values are referenced as |
* Add `status` field to `google_bigquery_job` fixes hashicorp/terraform-provider-google#8357 * fixup! ignore `.status.0.state` in tests
* Add `status` field to `google_bigquery_job` fixes hashicorp/terraform-provider-google#8357 * fixup! ignore `.status.0.state` in tests Signed-off-by: Modular Magician <magic-modules@google.com>
* Add `status` field to `google_bigquery_job` fixes hashicorp#8357 * fixup! ignore `.status.0.state` in tests Signed-off-by: Modular Magician <magic-modules@google.com>
* Add `status` field to `google_bigquery_job` fixes hashicorp/terraform-provider-google#8357 * fixup! ignore `.status.0.state` in tests Signed-off-by: Modular Magician <magic-modules@google.com>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Description
We'd like to have
state
anderror_result
fields in the list of exported attributes of google_bigquery_job so that it's possible to know the job status.New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: