diff --git a/aws/data_source_aws_lambda_function.go b/aws/data_source_aws_lambda_function.go index 392a0e4442b..899e3bcda6f 100644 --- a/aws/data_source_aws_lambda_function.go +++ b/aws/data_source_aws_lambda_function.go @@ -16,7 +16,6 @@ func dataSourceAwsLambdaFunction() *schema.Resource { "qualifier": { Type: schema.TypeString, Optional: true, - Default: "$LATEST", }, "description": { Type: schema.TypeString, diff --git a/aws/data_source_aws_lambda_function_test.go b/aws/data_source_aws_lambda_function_test.go index 0d59e35d76f..c52f5d3de85 100644 --- a/aws/data_source_aws_lambda_function_test.go +++ b/aws/data_source_aws_lambda_function_test.go @@ -31,7 +31,6 @@ func TestAccDataSourceAWSLambdaFunction_basic(t *testing.T) { resource.TestCheckResourceAttrSet("data.aws_lambda_function.acctest", "invoke_arn"), resource.TestCheckResourceAttr("data.aws_lambda_function.acctest", "function_name", funcName), resource.TestCheckResourceAttr("data.aws_lambda_function.acctest", "description", funcName), - resource.TestCheckResourceAttr("data.aws_lambda_function.acctest", "qualifier", "$LATEST"), resource.TestCheckResourceAttr("data.aws_lambda_function.acctest", "handler", "exports.example"), resource.TestCheckResourceAttr("data.aws_lambda_function.acctest", "memory_size", "128"), resource.TestCheckResourceAttr("data.aws_lambda_function.acctest", "runtime", "nodejs4.3"),