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

[Bug]: aws_cloudwatch_event_rule event_pattern should can be longer than 2048 characters #33732

Closed
yukihiko-shinoda opened this issue Oct 3, 2023 · 3 comments · Fixed by #34270
Labels
bug Addresses a defect in current functionality. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/events Issues and PRs that pertain to the events service.
Milestone

Comments

@yukihiko-shinoda
Copy link

yukihiko-shinoda commented Oct 3, 2023

Terraform Core Version

1.5.3

AWS Provider Version

5.19.0

Affected Resource(s)

Expected Behavior

Succeeds to plan.

Actual Behavior

Failed to plan.

Relevant Error/Panic Output Snippet

Error: "event_pattern" cannot be longer than 2048 characters

Terraform Configuration Files

resource "aws_cloudwatch_event_rule" "this" {
  event_pattern = "<Set string over than 2048 characters>"
}

Steps to Reproduce

  1. Update AWS service quota Amazon EventBridge -> (CloudWatch Events) Event pattern size to 4096.
  2. Execute terraform plan

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

Does this static limit cause this issue?:

const maxJSONLength = 2048

Would you like to implement a fix?

None

@yukihiko-shinoda yukihiko-shinoda added the bug Addresses a defect in current functionality. label Oct 3, 2023
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

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 Oct 3, 2023
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Oct 3, 2023
@justinretzolk justinretzolk added good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 26, 2023
@github-actions github-actions bot added this to the v5.25.0 milestone Nov 6, 2023
Copy link

This functionality has been released in v5.25.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. 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