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

alert, listener and trace logs are not available options for enabled_cloudwatch_logs_exports when oracle engine is used in aws_db_instance #5235

Closed
ruortega opened this issue Jul 18, 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

@ruortega
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 Version

Terraform v0.11.7
provider.aws v1.27.0

Affected Resource(s)

resource "aws_db_instance" "database" {
  enabled_cloudwatch_logs_exports = ["alert","audit","listener","trace"]
}

Terraform Configuration Files

resource "aws_db_instance" "database" {
  engine                          = "oracle-ee"
  enabled_cloudwatch_logs_exports = ["alert","audit","listener","trace"]
}

Debug Output

Expected Behavior

We expect terraform to enable alert, audit, listener and trace cloudwatch logs exports when oracle is selected as db engine

Actual Behavior

Error: aws_db_instance.database: expected enabled_cloudwatch_logs_exports.0 to be one of [audit error general slowquery], got alert

Error: aws_db_instance.database: expected enabled_cloudwatch_logs_exports.2 to be one of [audit error general slowquery], got listener

Error: aws_db_instance.database: expected enabled_cloudwatch_logs_exports.3 to be one of [audit error general slowquery], got trace

Steps to Reproduce

  1. terraform apply

References

Thank you

@ruortega ruortega changed the title alert, listener and trace logs are not available options for enabled_cloudwatch_logs_exports when oracle engine is used alert, listener and trace logs are not available options for enabled_cloudwatch_logs_exports when oracle engine is used in aws_db_instance Jul 18, 2018
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/rds Issues and PRs that pertain to the rds service. labels Jul 23, 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
2 participants