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:
1 parent
605d124d51
commit
8983decd06
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user