Skip to content

Commit

Permalink
feat(google_container_cluster): allow enabling cost allocation (#6469) (
Browse files Browse the repository at this point in the history
#12416)

Signed-off-by: Modular Magician <magic-modules@google.com>

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Aug 29, 2022
1 parent 12fbbe0 commit 9331cfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/6469.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
container: Added general field `enable_cost_allocation` to `google_container_cluster`
```
1 change: 1 addition & 0 deletions google/resource_container_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -3368,6 +3368,7 @@ func expandDefaultMaxPodsConstraint(v interface{}) *container.MaxPodsConstraint
MaxPodsPerNode: int64(v.(int)),
}
}

func expandResourceUsageExportConfig(configured interface{}) *container.ResourceUsageExportConfig {
l := configured.([]interface{})
if len(l) == 0 || l[0] == nil {
Expand Down

0 comments on commit 9331cfe

Please sign in to comment.