diff --git a/docs/alicloud.md b/docs/alicloud.md index bc5883877..71e872dc3 100644 --- a/docs/alicloud.md +++ b/docs/alicloud.md @@ -4,6 +4,26 @@ You can either edit your alicloud config directly, (usually it is `~/.aliyun/config.json`) or run `aliyun configure` and enter the credentials when prompted. +Example: + +```json +{ + "current": "default", + "profiles": [ + { + "name": "default", + "mode": "AK", + "access_key_id": "LTA***", + "access_key_secret": "mrZ***", + "region_id": "cn-hangzhou", + "output_format": "json", + "language": "en" + } + ], + "meta_path": "" +} +``` + Terraformer will pick up the profile name specified in the `--profile` parameter. It defaults to the first config in the config array.