fix: Append correct storage bucket worker filter option (#433)

During terraform update, the default worker filter option used is the `DefaultBucketName` instead of `DefaultWorkerFilter`. Update it to use the correct option
This commit is contained in:
Elim Tsiagbey authored and GitHub committed 2023-07-18 14:29:03 -04:00
1 parent 605d124d51
commit 8983decd06
1 file changed
+1 -1
+1 -1
View File
@@ -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)