add doc for enable provider gcp addon (#548)
Signed-off-by: Nicola115 <2225992901@qq.com>
This commit is contained in:
parent
2c2784090e
commit
24e2abbde6
|
|
@ -50,3 +50,16 @@ Get `TENCENTCLOUD_REGION` by picking one RegionId from [Tencent Cloud region li
|
|||
```shell
|
||||
vela addon enable terraform-tencent TENCENTCLOUD_SECRET_ID=<xxx> TENCENTCLOUD_SECRET_KEY=<yyy> TENCENTCLOUD_REGION=<region>
|
||||
```
|
||||
|
||||
## Terraform Provider addon for GCP
|
||||
|
||||
Enable Terraform GCP Provider as below to [provision and/or consume cloud resources](../../end-user/components/cloud-services/provision-and-consume-cloud-services).
|
||||
|
||||
Set `GOOGLE_CREDENTIALS` per [Add Credentials Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials). Set `GOOGLE_PROJECT` per [Configure Provider Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#configuring-the-provider).
|
||||
|
||||
Set the value for `GOOGLE_REGION` by picking one `Region` from [Google Cloud Platform region list](https://cloud.google.com/compute/docs/regions-zones).
|
||||
|
||||
```shell
|
||||
vela addon enable provider-gcp GOOGLE_CREDENTIALS=<aaa> GOOGLE_PROJECT=<bbb> GOOGLE_REGION=<region>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,18 @@ title: 云资源插件
|
|||
vela addon enable terraform-aws AWS_ACCESS_KEY_ID=<aaa> AWS_SECRET_ACCESS_KEY=<bbb> AWS_DEFAULT_REGION=<region>
|
||||
```
|
||||
|
||||
## GCP Terraform Provider 插件
|
||||
|
||||
执行如下命令开启 Terraform 对 GCP 的支持,可以[创建和消费云资源](../../end-user/components/cloud-services/provision-and-consume-cloud-services):
|
||||
|
||||
参考[Add Credentials Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials),设置参数 `GOOGLE_CREDENTIALS` 。参考 [Configure Provider Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#configuring-the-provider),设置参数`GOOGLE_PROJECT` 。
|
||||
|
||||
参考[Google Cloud Platform Region 列表](https://cloud.google.com/compute/docs/regions-zones)中的`Region`设置 `GOOGLE_REGION` 。
|
||||
|
||||
```shell
|
||||
vela addon enable provider-gcp GOOGLE_CREDENTIALS=<aaa> GOOGLE_PROJECT=<bbb> GOOGLE_REGION=<region>
|
||||
```
|
||||
|
||||
## 腾讯云 Terraform Provider 插件
|
||||
|
||||
参考[文档](https://cloud.tencent.com/document/product/1213/67093) 获取 `TENCENTCLOUD_SECRET_ID` 和 `TENCENTCLOUD_SECRET_KEY`。
|
||||
|
|
@ -45,4 +57,4 @@ title: 云资源插件
|
|||
|
||||
```shell
|
||||
vela addon enable terraform-tencent TENCENTCLOUD_SECRET_ID=<xxx> TENCENTCLOUD_SECRET_KEY=<yyy> TENCENTCLOUD_REGION=<region>
|
||||
```
|
||||
```
|
||||
|
|
|
|||
|
|
@ -38,6 +38,18 @@ title: 云资源插件
|
|||
vela addon enable terraform-aws AWS_ACCESS_KEY_ID=<aaa> AWS_SECRET_ACCESS_KEY=<bbb> AWS_DEFAULT_REGION=<region>
|
||||
```
|
||||
|
||||
## GCP Terraform Provider 插件
|
||||
|
||||
执行如下命令开启 Terraform 对 GCP 的支持,可以[创建和消费云资源](../../end-user/components/cloud-services/provision-and-consume-cloud-services):
|
||||
|
||||
参考[Add Credentials Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials),设置参数 `GOOGLE_CREDENTIALS` 。参考 [Configure Provider Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#configuring-the-provider),设置参数`GOOGLE_PROJECT` 。
|
||||
|
||||
参考[Google Cloud Platform Region 列表](https://cloud.google.com/compute/docs/regions-zones)中的`Region`设置 `GOOGLE_REGION` 。
|
||||
|
||||
```shell
|
||||
vela addon enable provider-gcp GOOGLE_CREDENTIALS=<aaa> GOOGLE_PROJECT=<bbb> GOOGLE_REGION=<region>
|
||||
```
|
||||
|
||||
## 腾讯云 Terraform Provider 插件
|
||||
|
||||
参考[文档](https://cloud.tencent.com/document/product/1213/67093) 获取 `TENCENTCLOUD_SECRET_ID` 和 `TENCENTCLOUD_SECRET_KEY`。
|
||||
|
|
@ -45,4 +57,4 @@ title: 云资源插件
|
|||
|
||||
```shell
|
||||
vela addon enable terraform-tencent TENCENTCLOUD_SECRET_ID=<xxx> TENCENTCLOUD_SECRET_KEY=<yyy> TENCENTCLOUD_REGION=<region>
|
||||
```
|
||||
```
|
||||
|
|
|
|||
|
|
@ -50,3 +50,16 @@ Get `TENCENTCLOUD_REGION` by picking one RegionId from [Tencent Cloud region li
|
|||
```shell
|
||||
vela addon enable terraform-tencent TENCENTCLOUD_SECRET_ID=<xxx> TENCENTCLOUD_SECRET_KEY=<yyy> TENCENTCLOUD_REGION=<region>
|
||||
```
|
||||
|
||||
## Terraform Provider addon for GCP
|
||||
|
||||
Enable Terraform GCP Provider as below to [provision and/or consume cloud resources](../../end-user/components/cloud-services/provision-and-consume-cloud-services).
|
||||
|
||||
Set `GOOGLE_CREDENTIALS` per [Add Credentials Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials). Set `GOOGLE_PROJECT` per [Configure Provider Guide](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#configuring-the-provider).
|
||||
|
||||
Set the value for `GOOGLE_REGION` by picking one `Region` from [Google Cloud Platform region list](https://cloud.google.com/compute/docs/regions-zones).
|
||||
|
||||
```shell
|
||||
vela addon enable provider-gcp GOOGLE_CREDENTIALS=<aaa> GOOGLE_PROJECT=<bbb> GOOGLE_REGION=<region>
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue