Skip to content

Commit

Permalink
fix: Append correct storage bucket worker filter option (#433)
Browse files Browse the repository at this point in the history
During terraform update, the default worker filter option used is the `DefaultBucketName` instead of `DefaultWorkerFilter`. Update it to use the correct option
  • Loading branch information
elimt authored Jul 18, 2023
1 parent 605d124 commit 8983dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_storage_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func resourceStorageBucketUpdate(ctx context.Context, d *schema.ResourceData, me
}

if d.HasChange(WorkerFilterKey) {
opts = append(opts, storagebuckets.DefaultBucketName())
opts = append(opts, storagebuckets.DefaultWorkerFilter())
workerFilterVal, ok := d.GetOk(WorkerFilterKey)
if ok {
workerFilterStr := workerFilterVal.(string)
Expand Down

0 comments on commit 8983dec

Please sign in to comment.