Skip to content

Commit

Permalink
Update edition variable to default to ENTERPRISE.
Browse files Browse the repository at this point in the history
This mirrors the API behaviour, and fixes an issue with the `coalesce()`
function not finding a value for `edition`.
  • Loading branch information
Gavin Williams committed Sep 15, 2023
1 parent f5007c6 commit b431ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mysql/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ variable "tier" {
variable "edition" {
description = "The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS."
type = string
default = null
default = "ENTERPRISE"
}

variable "zone" {
Expand Down
2 changes: 1 addition & 1 deletion modules/postgresql/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variable "tier" {
variable "edition" {
description = "The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS."
type = string
default = null
default = "ENTERPRISE"
}

variable "zone" {
Expand Down

0 comments on commit b431ee9

Please sign in to comment.