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 is_enabled flag is not working #10346

Closed
stevesuh opened this issue Oct 2, 2019 · 4 comments · Fixed by #11346
Closed

aws_cloudwatch_event_rule is_enabled flag is not working #10346

stevesuh opened this issue Oct 2, 2019 · 4 comments · Fixed by #11346
Labels
bug Addresses a defect in current functionality. service/cloudwatch Issues and PRs that pertain to the cloudwatch service.
Milestone

Comments

@stevesuh
Copy link

stevesuh commented Oct 2, 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

Terraform Version

Terraform v0.12.9

  • provider.archive v1.2.2
  • provider.aws v2.30.0

Affected Resource(s)

  • aws_cloudwatch_event_rule

Terraform Configuration Files

resource "aws_cloudwatch_event_rule" "retract_alarms" {
  name                = "${local.namespace}-schedule-every-8-hours"
  description         = "Triggers function once every 8 hours"
  schedule_expression = "cron(0 */8 * * ? *)"
  tags = local.tags
  is_enabled = false
}

Debug Output

Panic Output

Expected Behavior

cloudwatch event rule should be disabled

Actual Behavior

cloudwatch event rule is enabled

Steps to Reproduce

  1. terraform apply

Important Factoids

This was working in TF 0.12.6

References

  • #0000
@ghost ghost added service/cloudwatchevents service/cloudwatch Issues and PRs that pertain to the cloudwatch service. labels Oct 2, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Oct 2, 2019
@stevesuh
Copy link
Author

I tested this again with aws provider v2.33.0. Still not working.

@bflad bflad added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Jan 3, 2020
@bflad bflad added this to the v2.44.0 milestone Jan 3, 2020
@bflad
Copy link
Contributor

bflad commented Jan 3, 2020

Improved handling for the is_enabled argument has been merged and will release with version 2.44.0 of the Terraform AWS Provider, Thursday next week. Thanks to @DrFaust92 for the implementation.

@ghost
Copy link

ghost commented Jan 10, 2020

This has been released in version 2.44.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 for triage. Thanks!

@ghost
Copy link

ghost commented Mar 27, 2020

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 and limited conversation to collaborators Mar 27, 2020
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.
Projects
None yet
2 participants