https://pulumi.com logo
Title
i

incalculable-rose-91093

03/10/2023, 4:42 AM
Hello all, while i was logging into minio bucket using pulumi i was getting below error. can some one suggest me or help to resolve this issue. pulumi login 's3://test-dataplatform-pulumi-state?endpoint=https://obs.vcloud.abc/&disableSSL=true&s3ForcePathStyle=true' Getting below error error: problem logging in: unable to check if bucket s3://test-dataplatform-pulumi-state?endpoint=https://obs.vcloud.abc/&disableSSL=true&s3ForcePathStyle=true is accessible: blob (code=Unknown): RequestError: send request failed caused by: Get "https://obs.vcloud.abc/test-dataplatform-pulumi-state?list-type=2&max-keys=1": x509: certificate signed by unknown authority
e

echoing-dinner-19531

03/10/2023, 8:55 AM
This might be a go-cloud bug, I wouldn't think it should be raising x509 errors with ssl disabled. Does this bucket work via the aws s3 cli?
i

incalculable-rose-91093

03/10/2023, 9:00 AM
Hi Fraser, It's accessible via aws cli
e

echoing-dinner-19531

03/10/2023, 9:01 AM
i

incalculable-rose-91093

03/10/2023, 9:26 AM
Hi Fraser I tried but still the same error coming up
e

echoing-dinner-19531

03/10/2023, 9:29 AM
This is probably a go-cloud bug. All pulumi will be doing here is roughly:
blobmux := blob.DefaultURLMux()
bucket, err := blobmux.OpenBucket(context.TODO(), "<s3://test-dataplatform-pulumi-state?disableSSL=true&s3ForcePathStyle=true&endpoint=https://obs.vcloud.abc>")
isAcc, err := bucket.IsAccessible(context.TODO())
I'd suggest testing that snippet out and taking this to https://github.com/google/go-cloud/issues