Skip to content

Commit

Permalink
split outputs to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 14, 2021
1 parent 8987dc0 commit d2d31cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions flowlogs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ resource "aws_cloudwatch_log_subscription_filter" "flowlog" {
distribution = "ByLogStream"
}

output "kinesis_flowlog_arn" {
description = "VPC Flowlog Kinesis stream ARN"
value = aws_kinesis_stream.flowlog.arn
}

#---
# generate splunk inputs file
#---
Expand Down
4 changes: 4 additions & 0 deletions flowlogs/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
output "kinesis_flowlog_arn" {
description = "VPC Flowlog Kinesis stream ARN"
value = aws_kinesis_stream.flowlog.arn
}

0 comments on commit d2d31cf

Please sign in to comment.