12 lines
306 B
HCL
12 lines
306 B
HCL
/* 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"
|
|
} |