make train get file from another bucket

pull/852/head
Jingyi 2024-07-18 15:44:10 +08:00
parent f1c66a41e5
commit 03f3c5d471
1 changed files with 1 additions and 2 deletions

View File

@ -174,8 +174,7 @@ export class CreateTrainingJobApi {
's3:Head*', 's3:Head*',
], ],
resources: [ resources: [
`${this.props.s3Bucket.bucketArn}/*`, `*`,
`arn:${Aws.PARTITION}:s3:::*SageMaker*`,
], ],
})); }));