Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
added logging exports and export tags (#6)
Browse files Browse the repository at this point in the history
* added logging exports and export tags

* fixed for mysql

---------

Co-authored-by: Ernest Chuang <echuang@revacomm.com>
  • Loading branch information
ernestchuang-cms and echuang-rc authored Jul 5, 2023
1 parent 0287753 commit 6f0154f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module "aurora" {
enabled_cloudwatch_logs_exports = var.enabled_cloudwatch_logs_exports

tags = var.tags
copy_tags_to_snapshot = true
}

resource "aws_db_parameter_group" "db_parameter_group" {
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ variable "skip_final_snapshot" {

variable "enabled_cloudwatch_logs_exports" {
type = list(any)
default = ["general"]
default = ["audit","error","general","slowquery"]
}
variable "create_db_subnet_group" {
type = bool
Expand Down

0 comments on commit 6f0154f

Please sign in to comment.