provider/aws: Read Elastic Beanstalk stack name (#7445)

This commit is contained in:
David Harris 2016-07-01 02:34:28 -06:00 committed by Paul Stack
parent 1a4bf5cc89
commit a347b1795f
1 changed files with 4 additions and 0 deletions

View File

@ -404,6 +404,10 @@ func resourceAwsElasticBeanstalkEnvironmentRead(d *schema.ResourceData, meta int
}
}
if err := d.Set("solution_stack_name", *env.SolutionStackName); err != nil {
return err
}
if err := d.Set("autoscaling_groups", flattenBeanstalkAsg(resources.EnvironmentResources.AutoScalingGroups)); err != nil {
return err
}