aws-samples / conversational-ai-llms-with-amazon-lex-and-sagemaker

MIT No Attribution
30 stars 11 forks source link

S3: Access Denied #6

Closed reziakk closed 1 year ago

reziakk commented 1 year ago

SMJumpstartFlanT5-llm-main.yaml it is throwing S3: Access Denied. Bucket already have ACL enabled and Public Object policy OFF for everything.

rgomes1220 commented 1 year ago

Is this after you've built and deployed successfully? I'm assuming you are trying to deploy the cloudformation in AWS conole. Bucket ACL does not require any changes but the role with which you are accessing AWS console and the role with which Cloudformation is deploying (if it is different from the one you are accessing console with) needs proper S3 IAM permissions to retrieve from the S3 bucket you've deployed the resources to.