Note:
- The source and target buckets must be in the same region as the function. In this tutorial, the Guangzhou region is used.
- Two COS buckets must be used. If you use the same bucket as both source and target buckets, each thumbnail uploaded to the source bucket may trigger the function again and thus generate unnecessary recursion.
mybucket1
, select Guangzhou
as the region, set the access permission to the default value of private read and write
, and click OK as shown below:mybucket-resized1
in the same way.
Was this page helpful?