Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

expose ASG termination policies #218

Merged
merged 1 commit into from
Feb 4, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions autoscaling/autoscaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ type AutoScalingGroup struct {
Status string `xml:"Status"`
Tags []Tag `xml:"Tags>member"`
VPCZoneIdentifier string `xml:"VPCZoneIdentifier"`
TerminationPolicies []string `xml:"TerminationPolicies>member"`
}

// ----------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions autoscaling/autoscaling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func (s *S) Test_DescribeAutoScalingGroups(c *C) {
c.Assert(resp.RequestId, Equals, "0f02a07d-b677-11e2-9eb0-dd50EXAMPLE")
c.Assert(resp.AutoScalingGroups[0].Name, Equals, "my-test-asg-lbs")
c.Assert(resp.AutoScalingGroups[0].LaunchConfigurationName, Equals, "my-test-lc")
c.Assert(resp.AutoScalingGroups[0].TerminationPolicies[0], Equals, "Default")
}

func (s *S) Test_DescribeLaunchConfigurations(c *C) {
Expand Down