diff --git a/builtin/providers/aws/import_aws_launch_configuration_test.go b/builtin/providers/aws/import_aws_launch_configuration_test.go index f0a721a89..2117327c1 100644 --- a/builtin/providers/aws/import_aws_launch_configuration_test.go +++ b/builtin/providers/aws/import_aws_launch_configuration_test.go @@ -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"}, }, }, }) diff --git a/builtin/providers/aws/resource_aws_launch_configuration.go b/builtin/providers/aws/resource_aws_launch_configuration.go index 0dcbaaf70..536acfc76 100644 --- a/builtin/providers/aws/resource_aws_launch_configuration.go +++ b/builtin/providers/aws/resource_aws_launch_configuration.go @@ -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)