From db8256a4a780e96488184e84e99a252474034255 Mon Sep 17 00:00:00 2001 From: Tomotaka Sakuma Date: Mon, 24 Nov 2014 13:26:03 +0900 Subject: [PATCH] add associate_public_ip_address attr to the acceptance test of aws_launch_configuration --- .../providers/aws/resource_aws_launch_configuration_test.go | 3 +++ 1 file changed, 3 insertions(+) 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 } `