provider/aws: Read Elastic Beanstalk stack name (#7445)
This commit is contained in:
parent
1a4bf5cc89
commit
a347b1795f
|
@ -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 {
|
if err := d.Set("autoscaling_groups", flattenBeanstalkAsg(resources.EnvironmentResources.AutoScalingGroups)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue