Skip to content

Commit

Permalink
Add diff suppression for the renewal_plan field in google_bigquery_ca…
Browse files Browse the repository at this point in the history
…pacity_commitment (#12926) (#21103)

[upstream:49538f3c487d957f4ac4922370ab311a212333db]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jan 30, 2025
1 parent 83a2bc9 commit b1cabac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/12926.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
bigquery: added diff suppression for legacy values in `renewal_plan` field in `google_bigquery_capacity_commitment` resource
```
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ Examples: US, EU, asia-northeast1. The default value is US.`,
Default: "US",
},
"renewal_plan": {
Type: schema.TypeString,
Optional: true,
Description: `The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.`,
Type: schema.TypeString,
Optional: true,
DiffSuppressFunc: bigqueryReservationCapacityCommitmentPlanDiffSuppressFunc,
Description: `The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.`,
},
"commitment_end_time": {
Type: schema.TypeString,
Expand Down

0 comments on commit b1cabac

Please sign in to comment.