소스 검색

update bucket

lang 4 년 전
부모
커밋
435b6df6ba
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Controller/CloudStorage.py

+ 2 - 2
Controller/CloudStorage.py

@@ -359,8 +359,8 @@ class CloudStorageView(View):
                         {
                         {
                             "Effect": "Allow",
                             "Effect": "Allow",
                             "Action": "s3:*",
                             "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)]
                         }
                         }
                     ]
                     ]
                 }
                 }