Skip to content

Commit

Permalink
Remove default qualifier from d/aws_lambda_function.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Sep 7, 2018
1 parent a767617 commit 6c490f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion aws/data_source_aws_lambda_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func dataSourceAwsLambdaFunction() *schema.Resource {
"qualifier": {
Type: schema.TypeString,
Optional: true,
Default: "$LATEST",
},
"description": {
Type: schema.TypeString,
Expand Down
1 change: 0 additions & 1 deletion aws/data_source_aws_lambda_function_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 6c490f1

Please sign in to comment.