summaryrefslogtreecommitdiff
path: root/boto/ec2/autoscale/launchconfig.py
diff options
context:
space:
mode:
authorHugo Lopes Tavares <hltbra@gmail.com>2014-01-23 20:15:46 -0500
committerHugo Lopes Tavares <hltbra@gmail.com>2014-01-23 20:15:46 -0500
commit8673805da0c343dbf259bb0473c10ff1f6435094 (patch)
treef4e47b7e9a4d97b4229cf89bdbcb9612cedeb0a8 /boto/ec2/autoscale/launchconfig.py
parentfd6b6326d68eb232e6901e3f1fb4c6b1e0790971 (diff)
downloadboto-8673805da0c343dbf259bb0473c10ff1f6435094.tar.gz
Fixes #2028: LaunchConfiguration does not retrieve AssociatePublicIpAddress properly
This commit is a fix to a missing feature of pull request #1799
Diffstat (limited to 'boto/ec2/autoscale/launchconfig.py')
-rw-r--r--boto/ec2/autoscale/launchconfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/boto/ec2/autoscale/launchconfig.py b/boto/ec2/autoscale/launchconfig.py
index cc9e0cd0..5a887bf3 100644
--- a/boto/ec2/autoscale/launchconfig.py
+++ b/boto/ec2/autoscale/launchconfig.py
@@ -223,6 +223,8 @@ class LaunchConfiguration(object):
self.instance_profile_name = value
elif name == 'EbsOptimized':
self.ebs_optimized = True if value.lower() == 'true' else False
+ elif name == 'AssociatePublicIpAddress':
+ self.associate_public_ip_address = True if value.lower() == 'true' else False
elif name == 'VolumeType':
self.volume_type = value
elif name == 'DeleteOnTermination':