Skip to content

Commit

Permalink
Expose allow_major_version_upgrade (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetzeytindali authored Oct 7, 2022
1 parent 18ac3bf commit 47e8dd2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ resource "aws_rds_cluster_parameter_group" "aurora_cluster_postgres96_parameter_

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| allow_major_version_upgrade | Determines whether major engine upgrades can be performed | string | `false` | no |
| apply_immediately | Determines whether or not any DB modifications are applied immediately, or during the maintenance window | string | `false` | no |
| auto_minor_version_upgrade | Determines whether minor engine upgrades will be performed automatically in the maintenance window | string | `true` | no |
| azs | List of AZs to use | list | - | yes |
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ resource "aws_rds_cluster" "default" {
apply_immediately = var.apply_immediately
db_cluster_parameter_group_name = var.db_cluster_parameter_group_name
deletion_protection = var.deletion_protection
allow_major_version_upgrade = var.allow_major_version_upgrade
}

// Geneate an ID when an environment is initialised
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,9 @@ variable "performance_insights_enabled" {
description = "Whether to enable Performance Insights"
}

variable "allow_major_version_upgrade" {
type = string
default = false
description = "Whether to allow major version upgrades"
}

0 comments on commit 47e8dd2

Please sign in to comment.