provider/aws: fix TestAccAWSCloudwatchLogSubscriptionFilter_basic by linking the name

This commit is contained in:
clint shryock 2017-04-05 13:48:13 -05:00
parent 403e48f1cf
commit 95c58269b9
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ func testAccAWSCloudwatchLogSubscriptionFilterConfig(rstring string) string {
return fmt.Sprintf(`
resource "aws_cloudwatch_log_subscription_filter" "test_lambdafunction_logfilter" {
name = "test_lambdafunction_logfilter_%s"
log_group_name = "example_lambda_name"
log_group_name = "${aws_cloudwatch_log_group.logs.name}"
filter_pattern = "logtype test"
destination_arn = "${aws_lambda_function.test_lambdafunction.arn}"
}