Hi there, I have an issue when running pulumi logi...
# general
b
Hi there, I have an issue when running pulumi login using a custom state backend (Cloudflare's R2). Here are the steps: 1. Open terminal and set
CLOUDFLARE_API_TOKEN=<CF api token to edit R2 buckets>
2. Run
pulumi login 's3://<my-infra-bucket>?endpoint=<account id>.<http://r2.cloudflarestorage.com|r2.cloudflarestorage.com>&disableSSL=true&region=auto&s3ForcePathStyle=true'
I get the following error:
Copy code
error: problem logging in: read ".pulumi/meta.yaml": blob (key ".pulumi/meta.yaml") (code=Unknown): NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
So, I assume I need to set AWS key and secret. I set them as described here. Now, when I run the same pulumi login command, I get the following error:
Copy code
error: problem logging in: read ".pulumi/meta.yaml": blob (key ".pulumi/meta.yaml") (code=Unknown): InvalidArgument: Invalid Argument: Credential access key has length 20, should be 32
	status code: 400, request id: , host id:
Any ideas why this could be happening?