Skip to content

Commit

Permalink
alicloud doc: add config example
Browse files Browse the repository at this point in the history
  • Loading branch information
songgs committed Sep 2, 2024
1 parent a5b4b69 commit 2e6f77e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/alicloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 2e6f77e

Please sign in to comment.