github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/aws/d/elastic_beanstalk_solution_stack.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_elastic_beanstalk_solution_stack" 4 sidebar_current: "docs-aws-datasource-elastic-beanstalk-solution-stack" 5 description: |- 6 Get an elastic beanstalk solution stack. 7 --- 8 9 # aws\_elastic\_beanstalk\_solution\_stack 10 11 Use this data source to get the name of a elastic beanstalk solution stack. 12 13 ## Example Usage 14 15 ```hcl 16 data "aws_elastic_beanstalk_solution_stack" "multi_docker" { 17 most_recent = true 18 19 name_regex = "^64bit Amazon Linux (.*) Multi-container Docker (.*)$" 20 } 21 ``` 22 23 ## Argument Reference 24 25 * `most_recent` - (Optional) If more than one result is returned, use the most 26 recent solution stack. 27 28 * `name_regex` - A regex string to apply to the solution stack list returned 29 by AWS. 30 31 ~> **NOTE:** If more or less than a single match is returned by the search, 32 Terraform will fail. Ensure that your search is specific enough to return 33 a single solution stack, or use `most_recent` to choose the most recent one. 34 35 ## Attributes Reference 36 37 * `name` - The name of the solution stack.