Skip to content

Commit f9eeae2

Browse files
author
Ben SongGuangshun
committed
alicloud doc: add config example
1 parent a5b4b69 commit f9eeae2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/alicloud.md

+20
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44
You can either edit your alicloud config directly, (usually it is `~/.aliyun/config.json`)
55
or run `aliyun configure` and enter the credentials when prompted.
66

7+
Example:
8+
9+
```json
10+
{
11+
"current": "default",
12+
"profiles": [
13+
{
14+
"name": "default",
15+
"mode": "AK",
16+
"access_key_id": "LTA***",
17+
"access_key_secret": "mrZ***",
18+
"region_id": "cn-hangzhou",
19+
"output_format": "json",
20+
"language": "en"
21+
}
22+
],
23+
"meta_path": ""
24+
}
25+
```
26+
727
Terraformer will pick up the profile name specified in the `--profile` parameter.
828
It defaults to the first config in the config array.
929

0 commit comments

Comments
 (0)