remove tabs for security_group_filter too

This commit is contained in:
Adrien Delorme 2020-07-20 16:24:47 +02:00
parent 191094edcc
commit 1455a29f2b
2 changed files with 4 additions and 18 deletions

View File

@ -166,10 +166,7 @@ type RunConfig struct {
// The EC2 instance type to use while building the
// AMI, such as t2.small.
InstanceType string `mapstructure:"instance_type" required:"true"`
// Filters used to populate the `security_group_ids` field. Example:
//
// <Tabs>
// <Tab heading="JSON">
// Filters used to populate the `security_group_ids` field. JSON Example:
//
// ```json
// {
@ -181,8 +178,7 @@ type RunConfig struct {
// }
// ```
//
// </Tab>
// <Tab heading="HCL2">
// HCL2 Example:
//
// ```hcl
// security_group_filter {
@ -192,9 +188,6 @@ type RunConfig struct {
// }
// ```
//
// </Tab>
// </Tabs>
//
// This selects the SG's with tag `Class` with the value `packer`.
//
// - `filters` (map of strings) - filters used to select a

View File

@ -92,10 +92,7 @@
shutdown in case Packer exits ungracefully. Possible values are stop and
terminate. Defaults to stop.
- `security_group_filter` (SecurityGroupFilterOptions) - Filters used to populate the `security_group_ids` field. Example:
<Tabs>
<Tab heading="JSON">
- `security_group_filter` (SecurityGroupFilterOptions) - Filters used to populate the `security_group_ids` field. JSON Example:
```json
{
@ -107,8 +104,7 @@
}
```
</Tab>
<Tab heading="HCL2">
HCL2 Example:
```hcl
security_group_filter {
@ -118,9 +114,6 @@
}
```
</Tab>
</Tabs>
This selects the SG's with tag `Class` with the value `packer`.
- `filters` (map of strings) - filters used to select a