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

Add oracle specific parameters to option enabled_cloudwatch_logs_exports in rds cluster resource #5253

Closed
sriprasanna opened this issue Jul 19, 2018 · 4 comments · Fixed by #5494
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/rds Issues and PRs that pertain to the rds service.
Milestone

Comments

@sriprasanna
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 "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 VersionTerraform

v0.11.7

Affected Resource(s)

resource "aws_db_instance"

Terraform Configuration Files

resource "aws_db_instance" "new-oracle-db" {
  engine                                             = "oracle-se"
  ...
  enabled_cloudwatch_logs_exports = ["alert", "audit", "listener", "trace"]
}

Debug Output

https://gist.github.com/sriprasanna/e4b964086fb76bfd1befe04bb6a3a049

Panic Output

Expected Behavior

The following logs should be enabled for CloudWatch exports: alert, audit, listener and trace

Actual Behavior

Right now, the available parameters for enabled_cloudwatch_logs_exports are audit, error, general and slowquery. These parameters apply for MySQL but not necessarily to other Databases. Oracle for instance supports alert, audit, listener and trace, on using these parameters validation error is thrown from this code.

Steps to Reproduce

  1. terraform plan

Important Factoids

References

@paddycarver paddycarver added bug Addresses a defect in current functionality. service/rds Issues and PRs that pertain to the rds service. labels Aug 1, 2018
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed bug Addresses a defect in current functionality. labels Aug 9, 2018
@bflad
Copy link
Contributor

bflad commented Aug 10, 2018

Pull request submitted: #5494

@bflad bflad added this to the v1.32.0 milestone Aug 13, 2018
@bflad
Copy link
Contributor

bflad commented Aug 13, 2018

In version 1.32.0 of the AWS provider, releasing later this week, you will be able to declare these additional log types. 👍

@bflad
Copy link
Contributor

bflad commented Aug 16, 2018

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

@ghost
Copy link

ghost commented Apr 4, 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 Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/rds Issues and PRs that pertain to the rds service.
Projects
None yet
3 participants