Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Data Source aws_cloudwatch_log_groups #7928

Closed
tchiak opened this issue Mar 13, 2019 · 2 comments
Closed

New Data Source aws_cloudwatch_log_groups #7928

tchiak opened this issue Mar 13, 2019 · 2 comments
Labels
new-data-source Introduces a new data source. stale Old or inactive issues managed by automation, if no further action taken these will get closed.

Comments

@tchiak
Copy link

tchiak commented Mar 13, 2019

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The ability to list and filter log groups in Cloudwatch Logs

New or Affected Resource(s)

  • aws_cloudwatch_log_groups

Potential Terraform Configuration

data "aws_cloudwatch_log_groups" "get_all_example" {}

data "aws_cloudwatch_log_groups" "get_prefixed_logs_example" {
  prefix = "logs/vpc/flow"
}

Returns an array of of log groups with:
name
creationTime
retentionInDays
metricFiltercount
arn
kmsKeyId

References

DescribeLogGroups API:
https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html

Use Case

Be able to automate log group filter subscription creation

@tchiak tchiak added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 13, 2019
@bflad bflad added new-data-source Introduces a new data source. service/cloudwatchlogs and removed enhancement Requests to existing resources that expand the functionality or scope. labels Mar 15, 2019
@github-actions
Copy link

github-actions bot commented Mar 4, 2021

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

@github-actions github-actions bot added the stale Old or inactive issues managed by automation, if no further action taken these will get closed. label Mar 4, 2021
@github-actions github-actions bot closed this as completed Apr 4, 2021
@ghost
Copy link

ghost commented May 5, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-data-source Introduces a new data source. stale Old or inactive issues managed by automation, if no further action taken these will get closed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants