Skip to content

Commit

Permalink
Merge branch 'master' of github.com:infracost/infracost into infracos…
Browse files Browse the repository at this point in the history
…t-master
  • Loading branch information
hiltol committed Dec 13, 2024
1 parent 53aa782 commit 4620a78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/resources/ibm/container_vpc_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ func (r *ContainerVpcCluster) BuildResource() *schema.Resource {
attributeFilters = append(attributeFilters, &schema.AttributeFilter{
Key: "ocpIncluded", Value: strPtr("true"),
})
} else {
attributeFilters = append(attributeFilters, &schema.AttributeFilter{
Key: "ocpIncluded", Value: strPtr("false"),
})
}
WorkerCount := decimalPtr(decimal.NewFromInt(1))
if r.WorkerCount != 0 {
Expand Down
4 changes: 4 additions & 0 deletions internal/resources/ibm/container_vpc_worker_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ func (r *ContainerVpcWorkerPool) BuildResource() *schema.Resource {
attributeFilters = append(attributeFilters, &schema.AttributeFilter{
Key: "ocpIncluded", Value: strPtr("true"),
})
} else {
attributeFilters = append(attributeFilters, &schema.AttributeFilter{
Key: "ocpIncluded", Value: strPtr("false"),
})
}
WorkerCount := decimalPtr(decimal.NewFromInt(1))
if r.WorkerCount != 0 {
Expand Down

0 comments on commit 4620a78

Please sign in to comment.