Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for asia-pacific region #1653

Merged

Conversation

sinhaashish
Copy link
Contributor

@sinhaashish sinhaashish commented May 19, 2022

fixes #1652

Run the below code

	s3Client, err := minio.New("s3.amazonaws.com", &minio.Options{
		Creds:  credentials.NewStaticV4(<<Access KEy >>, <<Secret Key>>, ""),
		Secure: true,
	})
	if err != nil {
		log.Fatalln(err)
	}

	s3Client.TraceOn(os.Stderr)

	// Make a new bucket.
	err = s3Client.MakeBucket(context.Background(), "hellominio", minio.MakeBucketOptions{Region: "ap-southeast-3"})

	if err != nil {
		log.Fatalln(err)
	}

@sinhaashish sinhaashish force-pushed the add-support-for-asia-pacific-region branch from 6060337 to e2ecb0f Compare May 19, 2022 13:26
Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harshavardhana harshavardhana merged commit 02c1827 into minio:master May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New AWS region - ap-southeast-3
4 participants