Read back aws_launch_configuration's associate_public_ip_address field, to enable importing.

This commit is contained in:
Tom Wilkie 2016-10-17 13:19:17 +01:00 committed by Clint
parent f86198c155
commit 08c5d2a939
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ func resourceAwsLaunchConfigurationRead(d *schema.ResourceData, meta interface{}
d.Set("spot_price", lc.SpotPrice) d.Set("spot_price", lc.SpotPrice)
d.Set("enable_monitoring", lc.InstanceMonitoring.Enabled) d.Set("enable_monitoring", lc.InstanceMonitoring.Enabled)
d.Set("security_groups", lc.SecurityGroups) d.Set("security_groups", lc.SecurityGroups)
d.Set("associate_public_ip_address", lc.AssociatePublicIpAddress)
d.Set("vpc_classic_link_id", lc.ClassicLinkVPCId) d.Set("vpc_classic_link_id", lc.ClassicLinkVPCId)
d.Set("vpc_classic_link_security_groups", lc.ClassicLinkVPCSecurityGroups) d.Set("vpc_classic_link_security_groups", lc.ClassicLinkVPCSecurityGroups)