providers/aws: revert LC change

This commit is contained in:
Mitchell Hashimoto 2016-05-18 15:28:01 -06:00
parent 4967f3ff08
commit 24c0adb2d4
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,7 @@ func TestAccAWSLaunchConfiguration_importBasic(t *testing.T) {
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"user_data"},
ImportStateVerifyIgnore: []string{"associate_public_ip_address", "user_data"},
},
},
})

View File

@ -113,8 +113,8 @@ func resourceAwsLaunchConfiguration() *schema.Resource {
"associate_public_ip_address": &schema.Schema{
Type: schema.TypeBool,
Optional: true,
Computed: true,
ForceNew: true,
Default: false,
},
"spot_price": &schema.Schema{
@ -498,7 +498,6 @@ func resourceAwsLaunchConfigurationRead(d *schema.ResourceData, meta interface{}
d.Set("instance_type", lc.InstanceType)
d.Set("name", lc.LaunchConfigurationName)
d.Set("associate_public_ip_address", lc.AssociatePublicIpAddress)
d.Set("iam_instance_profile", lc.IamInstanceProfile)
d.Set("ebs_optimized", lc.EbsOptimized)
d.Set("spot_price", lc.SpotPrice)