Merge pull request #4226 from rickard-von-essen/amz-doc-fix

Fixed formatting of source_ami_filter example
This commit is contained in:
Rickard von Essen 2016-11-30 12:35:13 +01:00 committed by GitHub
commit adc7cf1c90
5 changed files with 9 additions and 1 deletions

View File

@ -206,6 +206,7 @@ each category, the available configuration keys are alphabetized.
- `source_ami_filter` (object) - Filters used to populate the `source_ami` field.
Example:
``` {.javascript}
"source_ami_filter": {
"filters": {
@ -217,6 +218,7 @@ each category, the available configuration keys are alphabetized.
"most_recent": true
}
```
This selects the most recent Ubuntu 16.04 HVM EBS AMI from Canonical.
NOTE: This will fail unless *exactly* one AMI is returned. In the above
example, `most_recent` will cause this to succeed by selecting the newest image.

View File

@ -119,6 +119,7 @@ builder.
- `source_ami_filter` (object) - Filters used to populate the `source_ami` field.
Example:
``` {.javascript}
"source_ami_filter": {
"filters": {
@ -130,6 +131,7 @@ builder.
"most_recent": true
}
```
This selects the most recent Ubuntu 16.04 HVM EBS AMI from Canonical.
NOTE: This will fail unless *exactly* one AMI is returned. In the above
example, `most_recent` will cause this to succeed by selecting the newest image.

View File

@ -190,6 +190,7 @@ builder.
- `source_ami_filter` (object) - Filters used to populate the `source_ami` field.
Example:
``` {.javascript}
"source_ami_filter": {
"filters": {
@ -201,6 +202,7 @@ builder.
"most_recent": true
}
```
This selects the most recent Ubuntu 16.04 HVM EBS AMI from Canonical.
NOTE: This will fail unless *exactly* one AMI is returned. In the above
example, `most_recent` will cause this to succeed by selecting the newest image.

View File

@ -206,6 +206,7 @@ builder.
- `source_ami_filter` (object) - Filters used to populate the `source_ami` field.
Example:
``` {.javascript}
"source_ami_filter": {
"filters": {
@ -217,6 +218,7 @@ builder.
"most_recent": true
}
```
This selects the most recent Ubuntu 16.04 HVM EBS AMI from Canonical.
NOTE: This will fail unless *exactly* one AMI is returned. In the above
example, `most_recent` will cause this to succeed by selecting the newest image.