providers/aws: revert LC change
This commit is contained in:
parent
4967f3ff08
commit
24c0adb2d4
|
@ -22,7 +22,7 @@ func TestAccAWSLaunchConfiguration_importBasic(t *testing.T) {
|
||||||
ResourceName: resourceName,
|
ResourceName: resourceName,
|
||||||
ImportState: true,
|
ImportState: true,
|
||||||
ImportStateVerify: true,
|
ImportStateVerify: true,
|
||||||
ImportStateVerifyIgnore: []string{"user_data"},
|
ImportStateVerifyIgnore: []string{"associate_public_ip_address", "user_data"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -113,8 +113,8 @@ func resourceAwsLaunchConfiguration() *schema.Resource {
|
||||||
"associate_public_ip_address": &schema.Schema{
|
"associate_public_ip_address": &schema.Schema{
|
||||||
Type: schema.TypeBool,
|
Type: schema.TypeBool,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
|
Default: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"spot_price": &schema.Schema{
|
"spot_price": &schema.Schema{
|
||||||
|
@ -498,7 +498,6 @@ func resourceAwsLaunchConfigurationRead(d *schema.ResourceData, meta interface{}
|
||||||
d.Set("instance_type", lc.InstanceType)
|
d.Set("instance_type", lc.InstanceType)
|
||||||
d.Set("name", lc.LaunchConfigurationName)
|
d.Set("name", lc.LaunchConfigurationName)
|
||||||
|
|
||||||
d.Set("associate_public_ip_address", lc.AssociatePublicIpAddress)
|
|
||||||
d.Set("iam_instance_profile", lc.IamInstanceProfile)
|
d.Set("iam_instance_profile", lc.IamInstanceProfile)
|
||||||
d.Set("ebs_optimized", lc.EbsOptimized)
|
d.Set("ebs_optimized", lc.EbsOptimized)
|
||||||
d.Set("spot_price", lc.SpotPrice)
|
d.Set("spot_price", lc.SpotPrice)
|
||||||
|
|
Loading…
Reference in New Issue