diff --git a/builtin/providers/aws/resource_aws_launch_configuration_test.go b/builtin/providers/aws/resource_aws_launch_configuration_test.go index 820cdf723..e38eecddb 100644 --- a/builtin/providers/aws/resource_aws_launch_configuration_test.go +++ b/builtin/providers/aws/resource_aws_launch_configuration_test.go @@ -28,6 +28,8 @@ func TestAccAWSLaunchConfiguration(t *testing.T) { "aws_launch_configuration.bar", "name", "foobar-terraform-test"), resource.TestCheckResourceAttr( "aws_launch_configuration.bar", "instance_type", "t1.micro"), + resource.TestCheckResourceAttr( + "aws_launch_configuration.bar", "associate_public_ip_address", "true"), ), }, }, @@ -124,5 +126,6 @@ resource "aws_launch_configuration" "bar" { image_id = "ami-21f78e11" instance_type = "t1.micro" user_data = "foobar-user-data" + associate_public_ip_address = true } `