Skip to content

Commit 5000f07

Browse files
authored
fix(object): add region to the state during a read (#1239)
1 parent d7bb4eb commit 5000f07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scaleway/resource_object_bucket.go

+1
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ func resourceScalewayObjectBucketRead(ctx context.Context, d *schema.ResourceDat
425425
}
426426

427427
_ = d.Set("name", bucketName)
428+
_ = d.Set("region", region)
428429

429430
// We do not read `acl` attribute because it could be impossible to find
430431
// the right canned ACL from a complex ACL object.

0 commit comments

Comments
 (0)