From 966b17d2b54fd6eb69719bd560e3044df541f1ad Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 20 Jul 2020 16:31:23 +0200 Subject: [PATCH] builder/amazon/common/access_config.go: replace tabs with words --- builder/amazon/common/access_config.go | 10 +++------- .../amazon/common/AccessConfig-not-required.mdx | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/builder/amazon/common/access_config.go b/builder/amazon/common/access_config.go index d85911c2b..2be4cf3ef 100644 --- a/builder/amazon/common/access_config.go +++ b/builder/amazon/common/access_config.go @@ -116,8 +116,7 @@ type AccessConfig struct { // credential types) and GetFederationToken (for federation\_token // credential types) for more details. // - // - // + // JSON example: // // ```json // { @@ -127,9 +126,9 @@ type AccessConfig struct { // "ttl": "3600s" // } // } + // ``` // - // - // + // HCL2 example: // // ```hcl // vault_aws_engine { @@ -138,9 +137,6 @@ type AccessConfig struct { // ttl = "3600s" // } // ``` - // - // - // VaultAWSEngine VaultAWSEngineOptions `mapstructure:"vault_aws_engine" required:"false"` getEC2Connection func() ec2iface.EC2API diff --git a/website/pages/partials/builder/amazon/common/AccessConfig-not-required.mdx b/website/pages/partials/builder/amazon/common/AccessConfig-not-required.mdx index 93ea549f1..3c0faabe7 100644 --- a/website/pages/partials/builder/amazon/common/AccessConfig-not-required.mdx +++ b/website/pages/partials/builder/amazon/common/AccessConfig-not-required.mdx @@ -60,8 +60,7 @@ credential types) and GetFederationToken (for federation\_token credential types) for more details. - - + JSON example: ```json { @@ -71,9 +70,9 @@ "ttl": "3600s" } } + ``` - - + HCL2 example: ```hcl vault_aws_engine { @@ -82,6 +81,3 @@ ttl = "3600s" } ``` - - -