Browse Source

update bucket

lang 4 years ago
parent
commit
435b6df6ba
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Controller/CloudStorage.py

+ 2 - 2
Controller/CloudStorage.py

@@ -359,8 +359,8 @@ class CloudStorageView(View):
                         {
                             "Effect": "Allow",
                             "Action": "s3:*",
-                            "Resource": ["arn:aws:s3:::azvod1/{uid_channel}/*".
-                                             format(uid_channel=storage)]
+                            "Resource": ["arn:aws:s3:::{bucket_name}/{uid_channel}/*".
+                                             format(bucket_name=bucket_name,uid_channel=storage)]
                         }
                     ]
                 }