-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Feature: other S3 provider as state store then Amazon S3 #3592
Comments
Any progress? |
@CrystalMethod in case that help I successfully created a project in minio using:
Where minio url is |
When trying to init a new stack using this method with Minio, I'm getting the following error
|
Edit
Then, set environment variable |
That did it, thanks! |
Thanks @asyd. With your help I'm finally able to bootstrap a new project running
|
No, even with latest Minio I get the error above when running
|
Thank you @CrystalMethod - I got it working with OpenStack blob store this way except for one problem: When saving the state at the end the following error is produced:
It seems the only the Copy operation is affected: pulumi/pkg/backend/filestate/state.go Line 415 in 9e91afc
other operations like the following are working and also the state itself is preserved and can be fetched from the backend again (e.g. after deleting ~/.pulumi locally): pulumi/pkg/backend/filestate/state.go Line 409 in 9e91afc
The corresponding history file (dev-1589384917390913131.history.json) therefore is also present on the s3 store. Does somebody have an idea how to solve this? |
I'm getting the same error s3.CopyObject forbidden 403 with minio. I do have full rights on the bucket and still minio is throwing error of 403 forbidden. Has anyone figure out this? |
Hi Folks Sorry this has been open so long - so we definitely have this working (especially for Minio) https://www.pulumi.com/docs/intro/concepts/state/#logging-into-the-aws-s3-backend As you can see from this, the url should be something similar to this:
Notice the But this works as expected Please let us know if this is not the case and we can reopen and re-investigate Paul |
For those that end up on this issue because they're struggling with using a third party S3 compatible backend... The AWS credentials you use for accessing the state are different from the credentials you use for provisioning infrastructure. Credentials for provisioning infrastructure are set at the provider level, so you can define any of the options specified here: These credentials are NOT used for accessing the state backend. So you can do the following: define two aws profiles
|
For anyone having trouble with minio login like I did: make sure the aws_access_key_id does not contain underscores "_" (probably avoid special characters in general or use the minio auto-generated once). This worked for me:
|
For anyone trying to use Oracle S3 compatible buckets for login:
The |
We would like to use other S3 backend provider as state store then Amazon AWS S3, namely DigitalOcean an JFrog Artifactory, also Minio is a valid option. All attempts to adjust the S3 url property failed. It is always tried to connect to a host such as s3.amazon.com.
https://pulumi-community.slack.com/archives/C84L4E3N1/p1570861053113800
The text was updated successfully, but these errors were encountered: