12 lines
306 B
Terraform
12 lines
306 B
Terraform
|
/* Authentication
|
||
|
Use environment variables
|
||
|
$ export ALICLOUD_ACCESS_KEY="<Your-Access-Key-ID>"
|
||
|
$ export ALICLOUD_SECRET_KEY="<Your-Access-Key-Secret>"
|
||
|
$ export ALICLOUD_REGION="cn-beijing"
|
||
|
|
||
|
Or instance role
|
||
|
ecs_role_name = "terraform-provider-alicloud"
|
||
|
*/
|
||
|
provider "alicloud" {
|
||
|
region = "cn-hongkong"
|
||
|
}
|