Add health status to autoscaling instances
This commit is contained in:
parent
efefc1714e
commit
21c3775cb1
3 changed files with 27 additions and 3 deletions
|
|
@ -16,9 +16,10 @@ ASG_NAME_TAG = "aws:autoscaling:groupName"
|
|||
|
||||
|
||||
class InstanceState(object):
|
||||
def __init__(self, instance, lifecycle_state="InService"):
|
||||
def __init__(self, instance, lifecycle_state="InService", health_status="Healthy"):
|
||||
self.instance = instance
|
||||
self.lifecycle_state = lifecycle_state
|
||||
self.health_status = health_status
|
||||
|
||||
|
||||
class FakeScalingPolicy(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue