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 - error reading CloudWatch Events Rule - unexpected format for ID #20605

Closed
sufiyanghori-apt opened this issue Aug 18, 2021 · 4 comments
Labels
bug Addresses a defect in current functionality. stale Old or inactive issues managed by automation, if no further action taken these will get closed.

Comments

@sufiyanghori-apt
Copy link

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 v1.0.4
provider registry.terraform.io/hashicorp/aws v3.54.0

Affected Resource(s)

  • aws_cloudwatch_event_rule

Terraform Configuration Files

resource "aws_cloudwatch_event_rule" "buildkite-secret-scanner-events" {
  name          = "test"
  event_bus_name = "aws.partner/foo.com/foo/18554d09-58ff-aa42-ba9c-c4c33899006f"
  event_pattern = <<PATTERN
{
  "detail-type": [ "test" ]
}
PATTERN
}

Debug Output

Panic Output

Expected Behavior

Event rule should be created.

Actual Behavior

Terraform fails,

#16973 (comment)

error reading CloudWatch Events Rule (aws.partner/appflow/salesforce.com/xxx/foo-eventbus/bar-rule): unexpected format for ID ("aws.partner/appflow/salesforce.com/xxx/foo-eventbus/bar-rule"), expected / or "

Steps to Reproduce

  1. terraform apply

Important Factoids

References

#16973 (comment)

  • #0000
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/cloudwatchevents labels Aug 18, 2021
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 18, 2021
@ewbankkit
Copy link
Contributor

@sufiyanghori-apt Thanks for raising this issue.
This should have been fixed in #19072, released in v3.39.0 of the Terraform AWS Provider.
Does your event bus name contain any "special" characters?

@ewbankkit ewbankkit added the waiting-response Maintainers are waiting on response from community or contributor. label Aug 20, 2021
Copy link

github-actions bot commented Nov 1, 2023

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 Nov 1, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
Copy link

github-actions bot commented Jan 2, 2024

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 Jan 2, 2024
@justinretzolk justinretzolk removed the waiting-response Maintainers are waiting on response from community or contributor. label Sep 6, 2024
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. stale Old or inactive issues managed by automation, if no further action taken these will get closed.
Projects
None yet
Development

No branches or pull requests

4 participants