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

This commit is contained in:
Adrien Delorme 2020-07-20 16:34:13 +02:00
parent 966b17d2b5
commit 810f161d22
2 changed files with 4 additions and 16 deletions

View File

@ -21,8 +21,7 @@ import (
// The following mapping will tell Packer to encrypt the root volume of the
// build instance at launch using a specific non-default kms key:
//
// <Tabs>
// <Tab heading="JSON">
// JSON example:
//
// ```json
// ami_block_device_mappings: [
@ -34,8 +33,7 @@ import (
// ]
// ```
//
// </Tab>
// <Tab heading="HCL2">
// HCL2 example:
//
// ```hcl
// ami_block_device_mappings {
@ -45,10 +43,6 @@ import (
// }
// ```
//
// </Tab>
// </Tabs>
// ```
//
// Documentation for Block Devices Mappings can be found here:
// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
//

View File

@ -8,8 +8,7 @@ Example use case:
The following mapping will tell Packer to encrypt the root volume of the
build instance at launch using a specific non-default kms key:
<Tabs>
<Tab heading="JSON">
JSON example:
```json
ami_block_device_mappings: [
@ -21,8 +20,7 @@ ami_block_device_mappings: [
]
```
</Tab>
<Tab heading="HCL2">
HCL2 example:
```hcl
ami_block_device_mappings {
@ -32,9 +30,5 @@ ami_block_device_mappings {
}
```
</Tab>
</Tabs>
```
Documentation for Block Devices Mappings can be found here:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html