provider/aws: fix TestAccAWSCloudwatchLogSubscriptionFilter_basic by linking the name
This commit is contained in:
parent
403e48f1cf
commit
95c58269b9
|
@ -103,7 +103,7 @@ func testAccAWSCloudwatchLogSubscriptionFilterConfig(rstring string) string {
|
||||||
return fmt.Sprintf(`
|
return fmt.Sprintf(`
|
||||||
resource "aws_cloudwatch_log_subscription_filter" "test_lambdafunction_logfilter" {
|
resource "aws_cloudwatch_log_subscription_filter" "test_lambdafunction_logfilter" {
|
||||||
name = "test_lambdafunction_logfilter_%s"
|
name = "test_lambdafunction_logfilter_%s"
|
||||||
log_group_name = "example_lambda_name"
|
log_group_name = "${aws_cloudwatch_log_group.logs.name}"
|
||||||
filter_pattern = "logtype test"
|
filter_pattern = "logtype test"
|
||||||
destination_arn = "${aws_lambda_function.test_lambdafunction.arn}"
|
destination_arn = "${aws_lambda_function.test_lambdafunction.arn}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue