File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,30 @@ resource "aws_redshift_parameter_group" "this" {
61
61
name = " wlm_json_configuration"
62
62
value = " ${ var . wlm_json_configuration } "
63
63
}
64
+
65
+ parameter {
66
+ # ref: https://docs.aws.amazon.com/redshift/latest/mgmt/connecting-ssl-support.html
67
+ name = " require_ssl"
68
+ value = " ${ var . require_ssl } "
69
+ }
70
+
71
+ parameter {
72
+ name = " use_fips_ssl"
73
+ value = " ${ var . use_fips_ssl } "
74
+ }
75
+
76
+ parameter {
77
+ # ref: https://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html
78
+ name = " enable_user_activity_logging"
79
+ value = " ${ var . enable_user_activity_logging } "
80
+ }
81
+
82
+ parameter {
83
+ # ref: https://docs.aws.amazon.com/redshift/latest/dg/r_analyze_threshold_percent.html
84
+ name = " analyze_threshold_percent"
85
+ value = " ${ var . analyze_threshold_percent } "
86
+ }
87
+
64
88
}
65
89
66
90
resource "aws_redshift_subnet_group" "this" {
Original file line number Diff line number Diff line change @@ -108,6 +108,24 @@ variable "logging_s3_key_prefix" {
108
108
default = false
109
109
}
110
110
111
+ # parameter group config bits
112
+ # ref: https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html
113
+ variable "analyze_threshold_percent" {
114
+ default = " 10"
115
+ }
116
+
117
+ variable "enable_user_activity_logging" {
118
+ default = false
119
+ }
120
+
121
+ variable "require_ssl" {
122
+ default = false
123
+ }
124
+
125
+ variable "use_fips_ssl" {
126
+ default = false
127
+ }
128
+
111
129
variable "wlm_json_configuration" {
112
130
default = " [{\" query_concurrency\" : 5}]"
113
131
}
You can’t perform that action at this time.
0 commit comments