Update amazon-instance.html.md.erb

ident docs
This commit is contained in:
Adrien Delorme 2019-05-29 16:05:27 +02:00
parent ac9c67909a
commit f667cdddf8
1 changed files with 18 additions and 18 deletions

View File

@ -479,29 +479,29 @@ builder.
- `vpc_filter` (object) - Filters used to populate the `vpc_id` field. - `vpc_filter` (object) - Filters used to populate the `vpc_id` field.
Example: Example:
``` json ``` json
{ {
"vpc_filter": { "vpc_filter": {
"filters": { "filters": {
"tag:Class": "build", "tag:Class": "build",
"isDefault": "false", "isDefault": "false",
"cidr": "/24" "cidr": "/24"
}
} }
} }
} ```
```
This selects the VPC with tag `Class` with the value `build`, which is not This selects the VPC with tag `Class` with the value `build`, which is not
the default VPC, and have a IPv4 CIDR block of `/24`. NOTE: This will fail the default VPC, and have a IPv4 CIDR block of `/24`. NOTE: This will fail
unless *exactly* one VPC is returned. unless *exactly* one VPC is returned.
- `filters` (map of strings) - filters used to select a `vpc_id`. NOTE: - `filters` (map of strings) - filters used to select a `vpc_id`. NOTE:
This will fail unless *exactly* one VPC is returned. Any filter This will fail unless *exactly* one VPC is returned. Any filter
described in the docs for described in the docs for
[DescribeVpcs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html) [DescribeVpcs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html)
is valid. is valid.
`vpc_id` take precedence over this. `vpc_id` take precedence over this.
- `x509_upload_path` (string) - The path on the remote machine where the X509 - `x509_upload_path` (string) - The path on the remote machine where the X509
certificate will be uploaded. This path must already exist and be writable. certificate will be uploaded. This path must already exist and be writable.