INFRA-1768 | Abhishek | Remove psqlFamily as input to rds module
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -13,8 +13,10 @@ terraform {
|
||||
}
|
||||
}
|
||||
|
||||
{{ $new_db_versions := list "13" "13.7" "13.9" }}
|
||||
|
||||
module "rds" {
|
||||
source = "git::ssh://git@github.cmd.navi-tech.in/navi-infra/rds.git"
|
||||
source = "git::ssh://git@github.cmd.navi-tech.in/navi-infra/rds.git?ref=INFRA-1768"
|
||||
environment = {{ .ExtraResources.Environment | quote }}
|
||||
instance_name = {{ .ExtraResources.Database.InstanceName | quote }}
|
||||
password = {{ .ExtraResources.Database.Password | quote }}
|
||||
@@ -78,14 +80,6 @@ module "rds" {
|
||||
multi_az = true
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.Database.PsqlFamily }}
|
||||
psql_family = {{ .ExtraResources.Database.PsqlFamily | quote }}
|
||||
{{- else }}
|
||||
{{- if eq .ExtraResources.Database.PsqlEngineVersion "13" }}
|
||||
psql_family = "postgres13"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.Database.PsqlEngineVersion }}
|
||||
psql_engine_version = {{ .ExtraResources.Database.PsqlEngineVersion | quote }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user