Refine addon terraform provider doc (#312)

* Refine addon terraform provider doc

Also added how to set Region field

* update v1.1 EN doc

* update code block
This commit is contained in:
Zheng Xi Zhou 2021-10-01 08:27:15 +08:00 committed by GitHub
parent db0ee59d24
commit e204a7d8f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 8 deletions

View File

@ -258,10 +258,12 @@ please at least enable following addons to make sure KubeVela functioning well:
* Terraform Provider addon
Enable Terraform Alibaba Cloud Provider as below. Here is how to get [access key](https://help.aliyun.com/knowledge_detail/38738.html).
Enable Terraform Alibaba Cloud Provider as below to [provision and/or consume cloud resources](./end-user/components/cloud-services/provider-and-consume-cloud-services).
Here is how to get [access key](https://help.aliyun.com/knowledge_detail/38738.html). Set the value for `ALICLOUD_REGION` by picking one `RegionId` from [Alibaba Cloud region list](https://www.alibabacloud.com/help/doc-detail/72379.htm).
```shell
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=xxx ALICLOUD_SECRET_KEY=yyy ALICLOUD_SECURITY_TOKEN=zzz
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=<xxx> ALICLOUD_SECRET_KEY=<yyy> ALICLOUD_SECURITY_TOKEN=<zzz> ALICLOUD_REGION=<region>
```
## 5. Verify

View File

@ -213,10 +213,12 @@ KubeVela 支持一系列[开箱即用的插件](./platform-engineers/advanced-in
* Terraform Provider 插件
开启 Terraform 对阿里云的支持,请执行(参考[如何获取 Access Key](https://help.aliyun.com/knowledge_detail/38738.html)
执行如下命令开启 Terraform 对阿里云的支持,可以[创建和消费云资源](./end-user/components/cloud-services/provider-and-consume-cloud-services)
其中,请参考[如何获取 Access Key](https://help.aliyun.com/knowledge_detail/38738.html)设置 Access Key参考 [Region 列表](https://www.alibabacloud.com/help/doc-detail/72379.htm) 中的 `RegionId` 设置 `ALICLOUD_REGION`。
```shell
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=xxx ALICLOUD_SECRET_KEY=yyy ALICLOUD_SECURITY_TOKEN=zzz
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=<xxx> ALICLOUD_SECRET_KEY=<yyy> ALICLOUD_SECURITY_TOKEN=<zzz> ALICLOUD_REGION=<region>
```
## 5. 查看已安装能力

View File

@ -256,10 +256,12 @@ KubeVela 支持一系列[开箱即用的插件](./platform-engineers/advanced-in
* Terraform Provider 插件
开启 Terraform 对阿里云的支持,请执行(参考[如何获取 Access Key](https://help.aliyun.com/knowledge_detail/38738.html)
执行如下命令开启 Terraform 对阿里云的支持,可以[创建和消费云资源](./end-user/components/cloud-services/provider-and-consume-cloud-services)
其中,请参考[如何获取 Access Key](https://help.aliyun.com/knowledge_detail/38738.html)设置 Access Key参考 [Region 列表](https://www.alibabacloud.com/help/doc-detail/72379.htm) 中的 `RegionId` 设置 `ALICLOUD_REGION`。
```shell
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=xxx ALICLOUD_SECRET_KEY=yyy ALICLOUD_SECURITY_TOKEN=zzz
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=<xxx> ALICLOUD_SECRET_KEY=<yyy> ALICLOUD_SECURITY_TOKEN=<zzz> ALICLOUD_REGION=<region>
```
## 5. 查看已安装能力

View File

@ -258,10 +258,12 @@ please at least enable following addons to make sure KubeVela functioning well:
* Terraform Provider addon
Enable Terraform Alibaba Cloud Provider as below. Here is how to get [access key](https://help.aliyun.com/knowledge_detail/38738.html).
Enable Terraform Alibaba Cloud Provider as below to [provision and/or consume cloud resources](./end-user/components/cloud-services/provider-and-consume-cloud-services).
Here is how to get [access key](https://help.aliyun.com/knowledge_detail/38738.html). Set the value for `ALICLOUD_REGION` by picking one `RegionId` from [Alibaba Cloud region list](https://www.alibabacloud.com/help/doc-detail/72379.htm).
```shell
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=xxx ALICLOUD_SECRET_KEY=yyy ALICLOUD_SECURITY_TOKEN=zzz
vela addon enable terraform/provider-alibaba ALICLOUD_ACCESS_KEY=<xxx> ALICLOUD_SECRET_KEY=<yyy> ALICLOUD_SECURITY_TOKEN=<zzz> ALICLOUD_REGION=<region>
```
## 5. Verify