-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Weyder Ferreira
committed
Jan 12, 2023
1 parent
cf5aae6
commit 454938d
Showing
4 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
variable "name" { | ||
type = string | ||
description = "The name of RDS Option Group" | ||
type = string | ||
description = "The name of RDS Option Group" | ||
} | ||
variable "option_group_description" { | ||
type = string | ||
default = null | ||
description = "The description, pourpose of the option group" | ||
type = string | ||
default = null | ||
description = "The description, pourpose of the option group" | ||
} | ||
variable "engine_name" { | ||
type = string | ||
description = "The family database engine" | ||
type = string | ||
description = "The family database engine" | ||
|
||
} | ||
variable "major_engine_version" { | ||
type = number | ||
description = "The version of the database" | ||
type = string | ||
description = "The version of the database" | ||
|
||
} | ||
variable "tags" { | ||
type = map(string) | ||
default = {} | ||
description = "The list of Tags" | ||
type = map(string) | ||
default = {} | ||
description = "The list of Tags" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,9 @@ resource "aws_db_parameter_group" "dpg" { | |
} | ||
} | ||
|
||
lifecycle { | ||
create_before_destroy = true | ||
} | ||
|
||
tags = var.tags | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
variable "name" { | ||
type = string | ||
description = "The name of Parameter Group resource" | ||
type = string | ||
description = "The name of Parameter Group resource" | ||
} | ||
|
||
variable "description" { | ||
type = string | ||
description = "The description of Parameter Group resource" | ||
type = string | ||
description = "The description of Parameter Group resource" | ||
} | ||
|
||
variable "family" { | ||
type = string | ||
description = "The Family RDS used" | ||
type = string | ||
description = "The Family RDS used" | ||
} | ||
|
||
variable "parameters" { | ||
type = list(map(string)) | ||
default = [] | ||
description = "(Optional) A list of DB parameters to apply. Note that parameters may differ from a family to an other." | ||
type = list(map(string)) | ||
default = [] | ||
description = "(Optional) A list of DB parameters to apply. Note that parameters may differ from a family to an other." | ||
} | ||
|
||
variable "tags" { | ||
type = map(string) | ||
default = {} | ||
description = "The Tag list" | ||
type = map(string) | ||
default = {} | ||
description = "The Tag list" | ||
} |