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_event_rule #38157

Open
LumaC0 opened this issue Jun 27, 2024 · 1 comment · May be fixed by #38201
Open

[New Data Source]: aws_cloudwatch_event_rule #38157

LumaC0 opened this issue Jun 27, 2024 · 1 comment · May be fixed by #38201
Labels
new-data-source Introduces a new data source. service/events Issues and PRs that pertain to the events service.

Comments

@LumaC0
Copy link

LumaC0 commented Jun 27, 2024

Description

CloudWatch (EventBridge) event rules are reusable across targets. A data source to retrieve information (id, arn, etc.) about a rule will improve usability.

Requested Resource(s) and/or Data Source(s)

aws_cloudwatch_event_rule

Potential Terraform Configuration

data "aws_cloudwatch_event_rule" "rule" {
  name = "example-rule"
  event_bus_name = "example-bus" # omitting uses the default event bus
}

References

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/eventbridge#Client.DescribeRule

Would you like to implement a fix?

Yes

Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

@github-actions github-actions bot added the service/events Issues and PRs that pertain to the events service. label Jun 27, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 27, 2024
@justinretzolk justinretzolk added new-data-source Introduces a new data source. and removed needs-triage Waiting for first response or review from a maintainer. labels Jun 27, 2024
@LumaC0 LumaC0 linked a pull request Jun 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-data-source Introduces a new data source. service/events Issues and PRs that pertain to the events service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants