Skip to content

feat: add performance insights variable #20

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locals {

module "documentdb_cluster" {
source = "cloudposse/documentdb-cluster/aws"
version = "0.14.0"
version = "0.27.0"

instance_class = var.instance_class
cluster_size = var.cluster_size
Expand All @@ -14,6 +14,7 @@ module "documentdb_cluster" {
engine_version = var.engine_version
deletion_protection = var.deletion_protection_enabled
enabled_cloudwatch_logs_exports = var.enabled_cloudwatch_logs_exports
enable_performance_insights = var.enable_performance_insights
storage_encrypted = var.encryption_enabled

snapshot_identifier = var.snapshot_identifier
Expand Down
6 changes: 6 additions & 0 deletions src/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ variable "enabled_cloudwatch_logs_exports" {
default = []
}

variable "enable_performance_insights" {
type = bool
description = "Specifies whether to enable Performance Insights for the DB Instance."
default = false
}

variable "eks_security_group_ingress_enabled" {
type = bool
description = "Whether to add the Security Group managed by the EKS cluster in the same regional stack to the ingress allowlist of the DocumentDB cluster."
Expand Down
Loading