Skip to content

Commit b1cabac

Browse files
Add diff suppression for the renewal_plan field in google_bigquery_capacity_commitment (#12926) (#21103)
[upstream:49538f3c487d957f4ac4922370ab311a212333db] Signed-off-by: Modular Magician <[email protected]>
1 parent 83a2bc9 commit b1cabac

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changelog/12926.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
bigquery: added diff suppression for legacy values in `renewal_plan` field in `google_bigquery_capacity_commitment` resource
3+
```

google/services/bigqueryreservation/resource_bigquery_capacity_commitment.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ Examples: US, EU, asia-northeast1. The default value is US.`,
103103
Default: "US",
104104
},
105105
"renewal_plan": {
106-
Type: schema.TypeString,
107-
Optional: true,
108-
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.`,
106+
Type: schema.TypeString,
107+
Optional: true,
108+
DiffSuppressFunc: bigqueryReservationCapacityCommitmentPlanDiffSuppressFunc,
109+
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.`,
109110
},
110111
"commitment_end_time": {
111112
Type: schema.TypeString,

0 commit comments

Comments
 (0)