unable to create bucket: The specified bucket does not exist #206
Labels
area/docs
Improvements or additions to documentation
help-wanted
We'd love your contributions on this issue
kind/enhancement
Improvements or new features
What happened?
When I try to create a new bucket on my self hosted minio cluster I get the error
[FATAL] unable to create bucket (state-terraform-s3): The specified bucket does not exist.
Example
import pulumi
import pulumi_minio as minio
state_terraform_s3 = minio.S3Bucket("stateTerraformS3",
acl="public",
bucket="state-terraform-s3")
pulumi.export("minioId", state_terraform_s3.id)
pulumi.export("minioUrl", state_terraform_s3.bucket_domain_name)
Output of
pulumi about
Diagnostics:
pulumi:pulumi:Stack (pulumis3-dev):
warning: provider config warning: use minio_password instead
warning: provider config warning: use minio_user instead
error: update failed
minio:index:S3Bucket (stateTerraformS3):
error: 1 error occurred:
* [FATAL] unable to create bucket (state-terraform-s3): The specified bucket does not exist.
Resources:
1 unchanged
Duration: 2s
Additional context
I have set the following pulumi config items
pulumi config set minio:minioAccessKey xxxxxxx --secret
pulumi config set minio:minioSecretKey xxxxxxxx --secret
pulumi config set minio:minioServer api.s3.lab.soxprox.com
The access key and secret key are for a username/password I created in the Minio Web GUI. I am using these same credentials to connection Pulumi to my Minio Cluster.
I have also tried minio:minio_user and minio:minio_password as per the error message shown but I get the same error
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: