name Regex
Parameters
value
Regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.
NOTE: If more or less than a single match is returned by the search, this call 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. If you want to match multiple AMIs, use theaws.ec2.getAmiIds
data source instead.