Hello, is there an example of how to use Minio as ...
# general
Hello, is there an example of how to use Minio as backend ? I have a local minio instance that I want to use.. I tried this:
Copy code
➜ pulumi login "<s3://pulumi-bucket?endpoint=>"
When I try to bring up the stack:
Copy code
➜ pulumi up
error: could not query backend for stacks: error listing stacks: could not list bucket: blob (code=Unknown): MissingRegion: could not find region configuration
Also, my minio endpoint has login/password, I am not sure where to specify that
I tried following this:
Copy code
I hit an error:
Copy code
Duration: 1m38s

error: saving update info: blob (key ".pulumi/stacks/minio-test.json -> .pulumi/history/minio-test/minio-test-1645033505756629674.checkpoint.json") (code=NotFound): NoSuchBucket: The specified bucket does not exist
        status code: 404, request id: 16D45541FA8EED2D, host id:
I’m not sure about the region-configuration bit (haven’t used Minio much), but I was able to get this to work with a local Minio instance (fresh Minio install) with the following:
Copy code
$ export AWS_ACCESS_KEY_ID=minioadmin
$ export AWS_SECRET_ACCESS_KEY=minioadmin
$ pulumi logout
$ aws --endpoint-url <> s3 mb <s3://pulumi-bucket>
$ pulumi login "<s3://pulumi-bucket?endpoint=>"
$ pulumi up
Running on macOS:
thank you for the response.. Let me try this out.
works.. I did a variation of what was in the link + what you mentioned - and it works.. thanks @miniature-musician-31262
Awesome! Glad to hear.