builder/amazon/common/access_config.go: replace tabs with words

This commit is contained in:
Adrien Delorme 2020-07-20 16:31:23 +02:00
parent 5c4901c2c2
commit 966b17d2b5
2 changed files with 6 additions and 14 deletions

View File

@ -116,8 +116,7 @@ type AccessConfig struct {
// credential types) and GetFederationToken (for federation\_token
// credential types) for more details.
//
// <Tabs>
// <Tab heading="JSON">
// JSON example:
//
// ```json
// {
@ -127,9 +126,9 @@ type AccessConfig struct {
// "ttl": "3600s"
// }
// }
// ```
//
// </Tab>
// <Tab heading="HCL2">
// HCL2 example:
//
// ```hcl
// vault_aws_engine {
@ -138,9 +137,6 @@ type AccessConfig struct {
// ttl = "3600s"
// }
// ```
//
// </Tab>
// </Tabs>
VaultAWSEngine VaultAWSEngineOptions `mapstructure:"vault_aws_engine" required:"false"`
getEC2Connection func() ec2iface.EC2API

View File

@ -60,8 +60,7 @@
credential types) and GetFederationToken (for federation\_token
credential types) for more details.
<Tabs>
<Tab heading="JSON">
JSON example:
```json
{
@ -71,9 +70,9 @@
"ttl": "3600s"
}
}
```
</Tab>
<Tab heading="HCL2">
HCL2 example:
```hcl
vault_aws_engine {
@ -82,6 +81,3 @@
ttl = "3600s"
}
```
</Tab>
</Tabs>