Use this data source to get the name of a elastic beanstalk solution stack.
data "aws_elastic_beanstalk_solution_stack" "multi_docker" {
most_recent = true
name_regex = "^64bit Amazon Linux (.*) Multi-container Docker (.*)$"
}
most_recent
- (Optional) If more than one result is returned, use the most
recent solution stack.
name_regex
- Regex string to apply to the solution stack list returned
by AWS. See Elastic Beanstalk Supported Platforms from
AWS documentation for reference solution stack names.
This data source exports the following attributes in addition to the arguments above:
name
- Name of the solution stack.