Created
February 11, 2021 19:57
-
-
Save wanghq/3597865e3ba1b018896192a64ec60f2e to your computer and use it in GitHub Desktop.
Use Alibaba Cloud OSS as pulumi state backend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pulumi login "s3://mybucket/pstate?endpoint=oss-cn-hangzhou.aliyuncs.com&disableSSL=true&&s3ForcePathStyle=false" | |
export AWS_ACCESS_KEY_ID=alicloud_ak | |
export AWS_SECRET_ACCESS_KEY=alicloud_sk | |
export ALICLOUD_ACCESS_KEY=alicloud_ak | |
export ALICLOUD_SECRET_KEY=alicloud_sk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment