You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jupyter notebook provided in the lab does not work for deployment in us-east-1 region. Remove the item in the bold from the below code in the notebook cell to create S3 bucket for knowledgebase :
NOTE : Above suggested change only apply to deployment in us-east-1 region. For all other regions, existing code works fine.
Another option to make it for all the regions could be to set the region_name at the time of creating s3_client object.
for e.g. s3_client = boto3.client('s3', region_name=region_name)
The jupyter notebook provided in the lab does not work for deployment in us-east-1 region. Remove the item in the bold from the below code in the notebook cell to create S3 bucket for knowledgebase :
Create S3 bucket for knowledge base data source
s3bucket = s3_client.create_bucket(
Bucket=bucket_name**,
CreateBucketConfiguration={ 'LocationConstraint': region_name }**
)
The text was updated successfully, but these errors were encountered: