Skip to content

Commit

Permalink
restore metadata.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola115 <[email protected]>
  • Loading branch information
AveryQi115 committed Mar 24, 2022
1 parent f47f532 commit 37a6875
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions hack/addons/terraform/terraform-provider-scaffold/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,24 @@ deployTo:

dependencies:
- name: terraform

# -------------------------------------Configuration Metadata for a Terraform Addon-------------------------------------
# provider short name
shortCloudName: elastic
shortCloudName: tencent

# The Cloud name of the provider
completeCloudName: Elastic Cloud
completeCloudName: Tencent Cloud

# When enabling a Terraform provider, these properties need to set for authentication. For Tencent Cloud,
# name: Environment variable name when authenticating Terraform, like https://github.com/oam-dev/terraform-controller/blob/master/controllers/provider/credentials.go#L59
# secretKey: Secret key when storing authentication information in a Kubernetes, like https://github.com/oam-dev/terraform-controller/blob/master/controllers/provider/credentials.go#L109.
cloudProperties:
- name: EC_API_KEY
secretKey: ecApiKey
description: Get EC_API_KEY per this guide https://www.elastic.co/guide/en/cloud-enterprise/current/ece-restful-api-authentication.html
- name: TENCENTCLOUD_SECRET_ID
secretKey: secretID
description: Get TENCENTCLOUD_SECRET_ID per this guide https://cloud.tencent.com/document/product/1213/67093
- name: TENCENTCLOUD_SECRET_KEY
secretKey: secretKey
description: Get TENCENTCLOUD_SECRET_KEY per this guide https://cloud.tencent.com/document/product/1213/67093
# If one property is region, please set `isRegion` to true
- name: TENCENTCLOUD_REGION
description: Get TENCENTCLOUD_REGION by picking one RegionId from Tencent Cloud region list https://cloud.tencent.com/document/api/1140/40509#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8
isRegion: true

0 comments on commit 37a6875

Please sign in to comment.