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

aws_cloudwatch_event_rule: Expected value of event_bus_name to match regular expression #18182

Closed
vdahmane opened this issue Mar 18, 2021 · 4 comments · Fixed by #30109
Closed
Assignees
Labels
bug Addresses a defect in current functionality. service/cloudwatch Issues and PRs that pertain to the cloudwatch service. stale Old or inactive issues managed by automation, if no further action taken these will get closed.
Milestone

Comments

@vdahmane
Copy link

vdahmane commented Mar 18, 2021

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 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
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Terraform Version: 0.13.5
Provider: v3.32.0

Affected Resource(s)

  • aws_cloudwatch_event_rule

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

resource "aws_cloudwatch_event_rule" "foo" {
  name           = "foo"
  description    = "foo"
  event_bus_name = "aws.partner/datadog.com/foo"
  event_pattern = <<EOF
{
  "account": ["12345678"]
}
EOF
}

Debug Output

Panic Output

Expected Behavior

TF should create event rule with this event bus name.

Actual Behavior

Terraform displaying this error output:
expected value of event_bus_name to match regular expression "^[a-zA-Z0-9._\\-]+$", got aws.partner/datadog.com/foo

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@ghost ghost added service/cloudwatchevents service/cloudwatch Issues and PRs that pertain to the cloudwatch service. labels Mar 18, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Mar 18, 2021
@ewbankkit
Copy link
Contributor

@bill-rich bill-rich added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. service/cloudwatchevents labels Mar 19, 2021
@github-actions
Copy link

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 17, 2023
@github-actions github-actions bot added this to the v4.60.0 milestone Mar 20, 2023
@github-actions
Copy link

This functionality has been released in v4.60.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!

@github-actions
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 Apr 23, 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. service/cloudwatch Issues and PRs that pertain to the cloudwatch service. 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.

4 participants