This message was deleted.
# general
s
This message was deleted.
b
what have you tried? what error are you getting back?
p
pulumi login "s3://<bucket name>?endpoint=<http://digitaloceanspaces.com|digitaloceanspaces.com>&disableSSL=true&s3ForcePathStyle=true&region=nyc3"
with the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY env vars set
plus a few other iterations, like
spaces/<bucket name>
and having an endpoint of nyc3.digitaloceanspaces.com
most recent iteration gave me this response:
Copy code
error: problem logging in: unable to check if bucket s3://<bucket>?endpoint=<http://digitaloceanspaces.com|digitaloceanspaces.com>&disableSSL=true&s3ForcePathStyle=true&region=nyc3 is accessible: blob (code=Unknown): SerializationError: failed to decode REST XML response
        status code: 200, request id: 
caused by: XML syntax error on line 1: attribute name without = in element
e
https://docs.digitalocean.com/reference/api/spaces-api/ suggests that ForcePathStyle should be false.
🙌 1
p
Thanks @echoing-dinner-19531 - it was a combination of forceStylePath=false, disableSSL=false, and tacking on the DO region to the endpoint