This message was deleted.
# general
s
This message was deleted.
b
I don't think we have an alicloud tutorial, does alicloud provide any object storage? is it s3 compatible?
a
It provides OSS, but I am not sure if it's compatible with S3. Can't confirm that either by looking at Google search.
I have tried already setting custom S3 backend but it doesn't work.
I have tried this
pulumi login "<s3://my-test-bucket?endpoint=oss-ap-southeast-1.aliyuncs.com&s3ForcePathStyle=true>"
Then when I do
pulumi new
it fails on timeout after setting stack name
it says about missing region config
stack name: (dev)
Sorry, could not create stack 'dev': could not create stack: An IO error occurred while writing the new snapshot file: blob (key ".pulumi/stacks/dev.json") (code=Unknown): MissingRegion: could not find region configuration
but I can't set region upfront
root@pulumi:~/pulumi-check# pulumi config set alicloud:region ap-southeast-1
error: could not query backend for stacks: error listing stacks: could not list bucket: blob (code=Unknown): MissingRegion: could not find region configuration
weird stuff or I am really doing something wrong here 😄
b
so the config that's set in your stack isn't actually used when you do the login, they are different. the
pulumi config
sets it for the provider SDK, what's missing here is the region for the cli sdk which does the login
there's no guarantee this works btw, I don't think anyone's tried this before...
can you try setting
AWS_REGION=ap-southeast-1
and see what happens?
if this doesn't work, MinIO is known to work, but you'd have to run that yourself...
a
ok, will try
btw You have a typo in repo regarding config variable
sorry, by typing "You" I have assumed You are somehow connected to Pulumi 😄
alicloud:escRoleName
shall be ecs
b
i am indeed 🙂 can you open an issue for it?
a
exported env variable worked to assume role, but config setting didn't
Made a simple issue on GH
still trying with login but it fails with different reasons depending on env settings
Sorry, could not create stack 'dev': could not create stack: An IO error occurred while writing the new snapshot file: blob (key ".pulumi/stacks/dev.json") (code=Unknown): NoCredentialProviders: no valid providers in chain. Deprecated.
before I set region variable it was failing with: Sorry, could not create stack 'dev': could not create stack: An IO error occurred while writing the new snapshot file: blob (key ".pulumi/stacks/dev.json") (code=Unknown): MissingRegion: could not find region configuration
it seems it wont work 😕
beside that OSS looks 99% like AWS S3 it probably is not compatible or I am doing something wrong
would be nice to have such backend 🙂