I am currently implementing a logs observability solution. This implementation requires both a flow log object and a subscription filter for the log group. Having these data sources available would greatly facilitate this process by allowing users to retrieve the necessary information directly within their Terraform configurations.
They both already have a resource block, but lack a data source.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
I am currently implementing a logs observability solution. This implementation requires both a flow log object and a subscription filter for the log group. Having these data sources available would greatly facilitate this process by allowing users to retrieve the necessary information directly within their Terraform configurations.
They both already have a resource block, but lack a data source.
Based on the AWS SDK:
aws_cloudwatch_log_subscription_filter
attributes:destination_arn
,distribution
,filter_pattern
,log_group_name
,role_arn
,tags
aws_flow_log
attributes:flow_logs_status
,log_destination
,log_destination_type
,log_format
,log_group_name
,max_aggregation_interval
,traffic_type
,tags
I would be happy to help you implement this.
Requested Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
Would you like to implement a fix?
Yes