質問編集履歴
2
バケットポリシーを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -144,6 +144,150 @@
|
|
144
144
|
|
145
145
|
```
|
146
146
|
|
147
|
+
```ここに言語を入力
|
148
|
+
|
149
|
+
{
|
150
|
+
|
151
|
+
"Id": "Policy******",
|
152
|
+
|
153
|
+
"Version": "2012-10-17",
|
154
|
+
|
155
|
+
"Statement": [
|
156
|
+
|
157
|
+
{
|
158
|
+
|
159
|
+
"Sid": "Stmt********",
|
160
|
+
|
161
|
+
"Action": [
|
162
|
+
|
163
|
+
"s3:PutObject"
|
164
|
+
|
165
|
+
],
|
166
|
+
|
167
|
+
"Effect": "Allow",
|
168
|
+
|
169
|
+
"Resource": "arn:aws:s3:::hogehoge",
|
170
|
+
|
171
|
+
"Principal": "*"
|
172
|
+
|
173
|
+
},
|
174
|
+
|
175
|
+
{
|
176
|
+
|
177
|
+
"Sid": "Stmt*******",
|
178
|
+
|
179
|
+
"Action": [
|
180
|
+
|
181
|
+
"s3:GetObject"
|
182
|
+
|
183
|
+
],
|
184
|
+
|
185
|
+
"Effect": "Allow",
|
186
|
+
|
187
|
+
"Resource": "arn:aws:s3:::hogehoge/*",
|
188
|
+
|
189
|
+
"Principal": "*"
|
190
|
+
|
191
|
+
},
|
192
|
+
|
193
|
+
{
|
194
|
+
|
195
|
+
"Sid": "Stmt********",
|
196
|
+
|
197
|
+
"Action": [
|
198
|
+
|
199
|
+
"s3:ListBucket"
|
200
|
+
|
201
|
+
],
|
202
|
+
|
203
|
+
"Effect": "Allow",
|
204
|
+
|
205
|
+
"Resource": "arn:aws:s3:::hogehoge",
|
206
|
+
|
207
|
+
"Principal": "*"
|
208
|
+
|
209
|
+
},
|
210
|
+
|
211
|
+
{
|
212
|
+
|
213
|
+
"Sid": "Stmt*********",
|
214
|
+
|
215
|
+
"Action": [
|
216
|
+
|
217
|
+
"s3:GetObjectAcl"
|
218
|
+
|
219
|
+
],
|
220
|
+
|
221
|
+
"Effect": "Allow",
|
222
|
+
|
223
|
+
"Resource": "arn:aws:s3:::hogehoge/*",
|
224
|
+
|
225
|
+
"Principal": "*"
|
226
|
+
|
227
|
+
},
|
228
|
+
|
229
|
+
{
|
230
|
+
|
231
|
+
"Sid": "Stmt************",
|
232
|
+
|
233
|
+
"Action": [
|
234
|
+
|
235
|
+
"s3:PutObjectAcl"
|
236
|
+
|
237
|
+
],
|
238
|
+
|
239
|
+
"Effect": "Allow",
|
240
|
+
|
241
|
+
"Resource": "arn:aws:s3:::hogehoge/*",
|
242
|
+
|
243
|
+
"Principal": "*"
|
244
|
+
|
245
|
+
},
|
246
|
+
|
247
|
+
{
|
248
|
+
|
249
|
+
"Sid": "Stmt********",
|
250
|
+
|
251
|
+
"Action": [
|
252
|
+
|
253
|
+
"s3:ReplicateObject"
|
254
|
+
|
255
|
+
],
|
256
|
+
|
257
|
+
"Effect": "Allow",
|
258
|
+
|
259
|
+
"Resource": "arn:aws:s3:::hogehoge",
|
260
|
+
|
261
|
+
"Principal": "*"
|
262
|
+
|
263
|
+
},
|
264
|
+
|
265
|
+
{
|
266
|
+
|
267
|
+
"Sid": "Stmt*********",
|
268
|
+
|
269
|
+
"Action": [
|
270
|
+
|
271
|
+
"s3:DeleteObject"
|
272
|
+
|
273
|
+
],
|
274
|
+
|
275
|
+
"Effect": "Allow",
|
276
|
+
|
277
|
+
"Resource": "arn:aws:s3:::hogehoge/*",
|
278
|
+
|
279
|
+
"Principal": "*"
|
280
|
+
|
281
|
+
}
|
282
|
+
|
283
|
+
]
|
284
|
+
|
285
|
+
}
|
286
|
+
|
287
|
+
```
|
288
|
+
|
289
|
+
こちらはバケットポリシーになります。
|
290
|
+
|
147
291
|
|
148
292
|
|
149
293
|
### 試したこと
|
1
試したことの一部分を修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -150,7 +150,7 @@
|
|
150
150
|
|
151
151
|
|
152
152
|
|
153
|
-
当たり前ですが,.envの
|
153
|
+
当たり前ですが,.envのAWS_DEFAULT_REGIONは変更しております。ですが変わらずエラーになっております。またS3のバケットポリシーにてPutObjectを追加しましたがそれも見当違いだったようです。
|
154
154
|
|
155
155
|
|
156
156
|
|