-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_bigquery_capacity_commitment should probably make capacity_commitment_id as required #16204
google_bigquery_capacity_commitment should probably make capacity_commitment_id as required #16204
Comments
It looks like the API autogenerates a capacity_commitment_id if one is not supplied. This means that the field needs to have This is a bug. |
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. |
Community Note
Description
New or Affected Resource(s)
Potential Terraform Configuration
google_bigquery_capacity_commitment should probably make capacity_commitment_id as required since making it optional produce confusing result.
Here's my understanding of how it currently work with empty capacity_commitment_id,
google_bigquery_capacity_commitment
test_commitment
applied, and on the ui, it shows it has id1234
test_commitment
has empty capacity_commitment_id, it'll get convert to something like"projects/{$PROJECT}/locations/{$LOCATION}/capacityCommitments/"
References
b/305197408
The text was updated successfully, but these errors were encountered: