From a50c27c05da6da002431f06b18e3b38d0817994e Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Wed, 13 May 2020 15:51:18 +0200 Subject: [PATCH] single ` --- builder/alicloud/ecs/access_config.go | 8 ++++---- .../alicloud/ecs/AlicloudAccessConfig-not-required.mdx | 2 +- .../alicloud/ecs/AlicloudAccessConfig-required.mdx | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/builder/alicloud/ecs/access_config.go b/builder/alicloud/ecs/access_config.go index 100949691..516b521ff 100644 --- a/builder/alicloud/ecs/access_config.go +++ b/builder/alicloud/ecs/access_config.go @@ -19,13 +19,13 @@ import ( // Config of alicloud type AlicloudAccessConfig struct { // Alicloud access key must be provided unless `profile` is set, but it can - // also be sourced from the ```ALICLOUD_ACCESS_KEY``` environment variable. + // also be sourced from the `ALICLOUD_ACCESS_KEY` environment variable. AlicloudAccessKey string `mapstructure:"access_key" required:"true"` // Alicloud secret key must be provided unless `profile` is set, but it can - // also be sourced from the ```ALICLOUD_SECRET_KEY``` environment variable. + // also be sourced from the `ALICLOUD_SECRET_KEY` environment variable. AlicloudSecretKey string `mapstructure:"secret_key" required:"true"` // Alicloud region must be provided unless `profile` is set, but it can - // also be sourced from the ```ALICLOUD_REGION``` environment variable. + // also be sourced from the `ALICLOUD_REGION` environment variable. AlicloudRegion string `mapstructure:"region" required:"true"` // The region validation can be skipped if this value is true, the default // value is false. @@ -34,7 +34,7 @@ type AlicloudAccessConfig struct { // value is false. AlicloudSkipImageValidation bool `mapstructure:"skip_image_validation" required:"false"` // Alicloud profile must be set unless `access_key` is set; it can also be - // sourced from the ```ALICLOUD_PROFILE``` environment variable. + // sourced from the `ALICLOUD_PROFILE` environment variable. AlicloudProfile string `mapstructure:"profile" required:"false"` // Alicloud shared credentials file path. If this file exists, access and // secret keys will be read from this file. diff --git a/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-not-required.mdx b/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-not-required.mdx index 311426cf7..a9dea237b 100644 --- a/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-not-required.mdx +++ b/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-not-required.mdx @@ -7,7 +7,7 @@ value is false. - `profile` (string) - Alicloud profile must be set unless `access_key` is set; it can also be - sourced from the ```ALICLOUD_PROFILE``` environment variable. + sourced from the `ALICLOUD_PROFILE` environment variable. - `shared_credentials_file` (string) - Alicloud shared credentials file path. If this file exists, access and secret keys will be read from this file. diff --git a/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-required.mdx b/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-required.mdx index f7c31fb99..ab0aa8a7f 100644 --- a/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-required.mdx +++ b/website/pages/partials/builder/alicloud/ecs/AlicloudAccessConfig-required.mdx @@ -1,11 +1,11 @@ - `access_key` (string) - Alicloud access key must be provided unless `profile` is set, but it can - also be sourced from the ```ALICLOUD_ACCESS_KEY``` environment variable. + also be sourced from the `ALICLOUD_ACCESS_KEY` environment variable. - `secret_key` (string) - Alicloud secret key must be provided unless `profile` is set, but it can - also be sourced from the ```ALICLOUD_SECRET_KEY``` environment variable. + also be sourced from the `ALICLOUD_SECRET_KEY` environment variable. - `region` (string) - Alicloud region must be provided unless `profile` is set, but it can - also be sourced from the ```ALICLOUD_REGION``` environment variable. + also be sourced from the `ALICLOUD_REGION` environment variable. \ No newline at end of file