aws: AMI data source docs fixed (#7487)

This commit is contained in:
Radek Simko 2016-07-05 10:46:36 +01:00 committed by Paul Stack
parent bf63dcc172
commit e0ea516360
1 changed files with 7 additions and 7 deletions

View File

@ -31,22 +31,22 @@ data "aws_ami" "nat_ami" {
## Argument Reference ## Argument Reference
* `most_recent` (optional): If more than one result is returned, use the most * `most_recent` - (Optional) If more than one result is returned, use the most
recent AMI. recent AMI.
* `executable_users`: Limit search to users with *explicit* launch permission on * `executable_users` - (Optional) Limit search to users with *explicit* launch permission on
the image. Valid items are the numeric account ID or `self`. the image. Valid items are the numeric account ID or `self`.
* `filter`: One or more name/value pairs to filter off of. There are * `filter` - (Optional) One or more name/value pairs to filter off of. There are
several valid keys, for a full reference, check out several valid keys, for a full reference, check out
[describe-images in the AWS CLI reference][1]. [describe-images in the AWS CLI reference][1].
* `owners`: Limit search to specific AMI owners. Valid items are the numeric * `owners` - (Optional) Limit search to specific AMI owners. Valid items are the numeric
account ID, `amazon`, or `self`. account ID, `amazon`, or `self`.
~> **NOTE:** one of `executable_users`, `filter`, or `owners` must be specified. ~> **NOTE:** At least one of `executable_users`, `filter`, or `owners` must be specified.
~> **NOTE:** if more or less than a single match is returned by the search, ~> **NOTE:** If more or less than a single match is returned by the search,
Terraform will fail. Ensure that your search is specific enough to return Terraform will fail. Ensure that your search is specific enough to return
a single AMI ID only, or use `most_recent` to choose the most recent one. a single AMI ID only, or use `most_recent` to choose the most recent one.
@ -55,7 +55,7 @@ a single AMI ID only, or use `most_recent` to choose the most recent one.
`id` is set to the ID of the found AMI. In addition, the following attributes `id` is set to the ID of the found AMI. In addition, the following attributes
are exported: are exported:
~> **NOTE:** some values are not always set and may not be available for ~> **NOTE:** Some values are not always set and may not be available for
interpolation. interpolation.
* `architecture` - The OS architecture of the AMI (ie: `i368` or `x86_64`). * `architecture` - The OS architecture of the AMI (ie: `i368` or `x86_64`).