Skip to content

Instantly share code, notes, and snippets.

@aalokt89
Created February 17, 2023 03:29
Show Gist options
  • Save aalokt89/4283d809445f02a90c620983244556e2 to your computer and use it in GitHub Desktop.
Save aalokt89/4283d809445f02a90c620983244556e2 to your computer and use it in GitHub Desktop.
create bucket
import boto3
#resource
s3 = boto3.resource(s3, region_name='us-east-1')
#create bucket
s3.create_bucket(Bucket=bucket_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment