Merge pull request #29 from navi-infra/infra-443
Revert "Revert "INFRA-433 | Abhishek | Move alert threshold field ins…
This commit is contained in:
@@ -233,7 +233,7 @@ func bindataTemplatesRdstfDeploySh() (*asset, error) {
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _bindataTemplatesRdstfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x4d\x6f\xe3\x36\x10\xbd\xeb\x57\x10\xb9\xcb\xd9\xa2\x28\x0a\x04\x08\xd0\x24\xce\x16\x29\x76\x8b\x34\xc9\xb6\x40\x2f\x04\x45\x8d\x65\xc2\x14\xa9\x70\x46\x71\x1c\xaf\xff\xfb\x82\xa2\x6c\x4b\xb6\xfc\xed\xf5\xc9\x7a\x9c\x79\x7c\x33\x7e\x43\x5a\x04\xce\x89\x81\x75\x39\x9b\x46\x8c\x25\x42\x8e\xc0\xa4\xec\x02\x7f\xbd\xa8\x00\xc6\x92\x52\x8e\x80\x58\xfb\x73\xcd\x2e\x8c\x78\x53\x71\x22\xcc\x28\x5e\x50\xc4\xd2\xe6\xb9\x30\x69\x8c\x24\x08\x2e\xaa\x74\x07\x99\xb2\x66\x3d\x5d\x14\x31\xda\x92\x86\xf1\x2f\x21\x6e\x04\x13\xb6\xf6\xb9\x66\x17\x2e\xc5\x10\x30\xb6\x6e\x84\x85\x90\xc0\x47\x30\xe1\x85\x83\x81\x7a\xaf\x03\xc2\x7e\x78\x39\x9d\xb2\xde\xfd\x3b\x39\xf1\x04\x68\x4b\x27\x01\x7b\x7d\x41\x22\x11\x08\xbd\x07\x83\x24\x8c\x84\xbf\x45\x0e\x6c\x36\x0b\x9c\x85\xb3\x03\xa5\x61\x6d\x53\x99\xa7\x21\x40\x48\xdd\xa9\x2a\x34\x25\xb6\x63\x03\x2e\x1e\x94\x5a\xc7\xd2\x1a\x72\x56\xfb\xb4\x59\x34\x8b\xa2\xdc\xa6\xa5\x86\xa0\xbf\xea\x64\x50\xd4\xe0\xc8\x14\x5d\x5d\x21\x0e\xaf\x2e\x2f\x33\x45\x7f\x64\x8a\x86\x65\xd2\x93\x79\xda\xab\x5a\x4b\x20\x87\x3d\x65\x2e\xab\x07\x65\x06\x4e\x5c\xba\x14\x7b\x99\x22\xbf\x07\x98\x37\xe5\xac\xc9\xc1\x50\xc5\xd6\x51\xfa\x7d\x23\xe4\x3b\x7b\x2d\x2d\xf9\xc2\x23\xc6\x54\xdd\x0a\x6e\x7c\x2f\x3a\x73\xbb\xdb\xd6\x62\x29\x04\xe2\xd8\xba\x74\x5e\xcf\x36\x96\xc7\x79\x6c\x8b\xa1\x44\x70\xcd\xae\x6e\x63\xf8\xe6\x63\x5b\xd9\x95\xf8\x95\xec\x3e\x14\xda\x4e\x7c\xc5\xbd\x55\xc1\x11\x63\xb9\x35\x8a\xac\x53\x26\xe3\x87\x88\xff\xba\x48\xeb\x2e\xa3\x41\xbb\xac\x68\x5f\xca\xd5\xba\x22\xc6\xd2\x3a\x0a\xf7\x20\xea\x27\xbe\x4e\x64\xdf\x59\x5e\x22\xbd\xd8\xbf\xd0\x9a\xa0\x6a\xce\xc2\x49\x64\xe8\x59\xa2\x20\xec\x05\x44\x5e\x93\xfa\xaf\x6b\x7d\x0a\x51\x39\xa4\x4a\xaa\x58\x14\x85\x77\x6a\x57\x6b\x67\xb3\xb8\x03\x7e\x2e\x07\x7e\x2c\xe7\xf3\xb5\x20\xaa\x06\x65\xef\x6d\x9b\xe6\x3e\xcc\xda\x55\x03\x69\x47\x89\x11\x63\xd3\x69\xcc\xd4\x60\x73\x5f\x9f\xd5\x07\x3c\x98\x3f\x93\xc0\x8a\xea\x63\xd7\x9c\xb4\x13\x3c\x3d\x68\x84\x56\xfa\x6f\x9f\xe6\x2b\x26\xdd\x53\x46\x3f\xb9\x7f\x27\x30\xa8\xac\xc1\xfa\x67\x4d\x38\x2c\xa1\x5d\xe6\x68\x64\xaf\x3b\xe4\x30\x29\x4f\x20\x52\x6b\xf4\xa4\x32\x6c\x95\xef\x6a\x24\xb8\x7e\xbb\x94\x56\xf6\x4f\x94\xb2\x98\xeb\xfd\xe4\x34\x06\xfa\x34\x49\x8f\xe0\xfc\x05\xe8\x4f\xca\x07\x83\x2a\x1b\x12\xde\x1b\x91\x68\x48\xeb\xc3\x72\xb9\xce\x55\x1d\xc0\xa1\x8e\xd8\x71\x76\x6e\xa6\x3e\x55\xf5\xcd\x18\xe7\xe7\xfb\x9d\x16\x58\x5b\x4c\x8c\x91\x2f\xae\x08\x59\xe1\xdb\x15\xae\xd1\xb4\x46\xf2\x30\x49\xb7\x42\x8e\xca\xa2\xaf\xb0\xd1\xbc\xa4\xc2\xb8\x03\x02\x43\xca\x1a\x5e\x80\x53\xd6\xf7\xed\xd3\xda\xac\x6d\x8e\xfd\x7d\x93\x16\x63\x69\xcb\x49\x5d\x6a\x52\x37\xff\xb7\x05\xe5\x1e\xe4\xe2\x83\x5d\x33\x72\x25\x1c\xee\x16\x7c\xd5\x9f\x45\xae\xf4\xa4\x76\x07\xbe\x6a\x3e\x08\xc0\x0e\x33\x2c\x33\x4f\x68\xb2\x67\xb9\x37\x99\x32\xf0\x2f\x38\x7f\x3c\x34\x64\x40\x85\xf3\xb7\x7a\x61\xb7\x9c\x36\xd1\x09\xaa\xfc\x50\x3e\x41\xa1\x95\x14\xcb\xa9\xe6\x2e\x20\xab\x8e\xdc\x63\xc0\x6b\xae\x2e\x7b\xae\x8e\x4d\x6b\xa7\x13\x66\xb5\xb9\xed\xcf\x9c\xdb\xa2\xd0\x93\x87\xdc\xdf\x96\x82\x60\xee\x22\xe1\x51\xae\x1a\xf0\x8e\xb1\x5d\x65\x39\x52\xd6\x53\x8a\x37\x1a\x1c\xbd\x0c\x1d\xe0\xd0\xea\x14\x0f\x8d\xef\xdd\x15\xe5\x37\x52\x5a\x7d\x08\x5a\xb8\x51\x16\x25\x2f\x97\x20\x17\x5a\xb8\x9c\xd3\x3c\xa9\xbb\xb8\xdd\xdc\x87\x1b\xb4\x9b\xf3\xce\x41\xaa\xe8\x56\x68\xff\x03\x2f\x14\xcb\x0a\xe5\x49\x80\x4f\xd1\xdc\xe6\x3f\x8b\xea\xdb\xd2\x61\x5b\x71\xe2\x91\x93\xd5\xb6\x78\xcf\xa2\xb4\x7f\x7b\x67\x8d\x01\x49\xad\x3f\x3e\x72\x89\x1d\xad\xb5\xcd\x7c\x16\xb1\xff\x94\x50\x42\x1f\x0a\x1a\x06\x9e\x57\xff\xcc\x53\x0f\x1c\x2d\xb3\xc1\x79\x16\x8d\x9f\x1d\xc0\x33\x59\x27\x32\x78\xf6\xef\xd0\x8f\xe0\xa4\xff\xf3\x5c\x91\x0e\x1c\x00\xc7\xb0\xca\xc3\x2b\x76\x51\xaf\xef\xab\x77\x13\xff\xd9\x8e\x94\x6a\x87\xaf\x90\x5b\x37\x79\xb1\xf6\x8b\x1d\x3f\x98\xdb\x09\x01\x2e\x2b\xf0\x47\x2b\xcf\xab\x88\x23\x1a\xbe\x89\xfe\x7c\x05\xf8\xbb\xe1\x8b\x20\x30\x72\xd2\xb8\x74\x74\x40\x8e\x36\x4a\x93\xf5\x2c\x4e\xf9\xcf\x29\x82\x96\xce\xb1\x47\x4e\x16\xda\xe2\xdd\xa1\x74\xfe\x34\x8b\x7e\x04\x00\x00\xff\xff\xa9\x7e\x9a\x68\x9e\x12\x00\x00")
|
||||
var _bindataTemplatesRdstfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x4d\x6f\xe3\x36\x10\xbd\xeb\x57\x10\xb9\xcb\xd9\xa2\x28\x0a\x2c\x10\xa0\x49\x9c\x2d\x52\xec\x16\x69\x92\x6d\x81\x5e\x08\x8a\x1a\xcb\x84\x29\x52\xe1\x8c\xe2\x38\x5e\xff\xf7\x82\xa2\x6c\x4b\xfe\x92\x5d\x39\x3e\x59\x4f\x33\x6f\xde\x8c\xde\x50\x36\x81\x73\x62\x64\x5d\xce\xe6\x11\x63\x89\x90\x13\x30\x29\xbb\xc0\x9f\x2f\x2a\x80\xb1\xa4\x94\x13\x20\xd6\xfe\x5c\xb1\x0b\x23\x5e\x55\x9c\x08\x33\x89\x57\x14\xb1\xb4\x79\x2e\x4c\x1a\x23\x09\x82\x8b\x2a\xdd\x41\xa6\xac\xd9\x4e\x17\x45\x8c\xb6\xa4\x71\xfc\x53\x88\x9b\xc0\x8c\x6d\x7d\xae\xd8\x85\x4b\x31\x04\x4c\xad\x9b\x60\x21\x24\xf0\x09\xcc\x78\xe1\x60\xa4\xde\xea\x80\x50\x0f\x2f\xe7\x73\x36\xb8\x7b\x23\x27\x1e\x01\x6d\xe9\x24\xe0\x60\x28\x48\x24\x02\x61\x70\x6f\x90\x84\x91\xf0\xa7\xc8\x81\x2d\x16\x81\xb3\x70\x76\xa4\x34\x6c\x15\x95\x79\x1a\x02\x84\xd4\x3b\x55\x85\xa1\xc4\x76\x6a\xc0\xc5\xa3\x52\xeb\x58\x5a\x43\xce\x6a\x9f\xb6\x88\x16\x51\x94\xdb\xb4\xd4\x10\xf4\x57\x93\x0c\x8a\x1a\x1c\x99\xa2\xcf\x9f\x11\xc7\x9f\x2f\x2f\x33\x45\xbf\x65\x8a\xc6\x65\x32\x90\x79\x3a\xa8\x46\x4b\x20\xc7\x03\x65\x2e\xab\x0b\x65\x46\x4e\x5c\xba\x14\x07\x99\x22\x5f\x03\xcc\xab\x72\xd6\xe4\x60\xa8\x62\xdb\xd1\xfa\x5d\x23\xe4\x07\x7b\x29\x2d\xf9\xc6\x23\xc6\x54\x3d\x0a\x6e\xfc\x2c\x76\xe6\xee\x1e\x5b\x8b\xa5\x10\x88\x53\xeb\xd2\x65\x3f\x87\x58\x1e\x96\xb1\x2d\x86\x12\xc1\x35\xa7\x7a\x88\xe1\xbb\x8f\x6d\x65\x57\xe2\x37\xb2\x87\x50\x68\x3b\xf3\x1d\x0f\x36\x05\x47\x8c\xe5\xd6\x28\xb2\x4e\x99\x8c\x9f\x22\xfe\xdb\x2a\x6d\x77\x1b\x0d\xda\x75\x47\xc7\x52\x6e\xf6\x15\x31\x96\xd6\x51\x78\x04\xd1\x30\xf1\x7d\x22\xfb\xc1\xf2\x12\xe9\xd9\xfe\x81\xd6\x04\x55\x4b\x16\x4e\x22\x43\xcf\x12\x05\x61\xcf\x20\xf2\x9a\xd4\x7f\xdd\x9a\x53\x88\xca\x21\x55\x52\xc5\xa2\x28\xbc\x53\x77\x8d\x76\xb1\x88\x77\xc0\x4f\xe5\xc8\xaf\xe5\x72\xbf\x56\x44\xd5\xa2\x1c\x5d\xb6\x69\xee\xd3\xac\x5d\x0d\x90\x3a\x5a\x8c\x18\x9b\xcf\x63\xa6\x46\xfb\xe7\xfa\xa4\xde\xe1\xde\xfc\x9e\x04\x56\x54\xef\x5d\x7b\xd2\x4e\xf0\xf4\xa0\x11\x5a\xe9\xbf\x7c\x5a\xde\x31\xe9\x91\x32\x86\xc9\xdd\x1b\x81\x41\x65\x0d\xd6\x8f\x35\xe1\xb0\x86\xba\xcc\xd1\xc8\xde\x76\xc8\x69\x52\x1e\x41\xa4\xd6\xe8\x59\x65\xd8\x2a\xdf\xd5\x48\x70\xfd\x61\x29\xad\xec\x0f\x94\xb2\xda\xeb\xe3\xe4\x34\x16\xba\x9f\xa4\x07\x70\xfe\x05\xe8\x4f\xca\x7b\x83\x2a\x1b\x13\xde\x19\x91\x68\x48\xeb\xc3\x72\x7d\x9f\xab\x3a\x80\x43\x1d\xd1\x71\x76\xee\xa7\xee\xab\xfa\x7a\x8a\xcb\xf3\xfd\x56\x0b\xac\x2d\x26\xa6\xc8\x57\xaf\x08\x59\xe1\x87\x15\x6e\xd1\xb4\x56\xf2\x34\x49\x37\x42\x4e\xca\x62\xa8\xb0\x31\xbc\xa4\xc2\xb8\x03\x02\x43\xca\x1a\x5e\x80\x53\xd6\xcf\xed\xd3\xd6\xae\xed\x8f\xfd\x75\x9f\x16\x63\xe9\xc0\x49\x5d\x6a\x52\xd7\xff\xb6\x05\xe5\x1e\xe4\xe2\x9d\x5d\x31\x72\x25\x9c\xee\x16\x7c\xd1\x5f\x44\xae\xf4\xac\x76\x07\xbe\x68\x3e\x0a\x40\x87\x19\xd6\x99\x3d\x86\xec\x59\xee\x4c\xa6\x0c\xfc\x0d\xce\x1f\x0f\x0d\x19\x50\xe1\xfc\xb5\xbe\xd1\x2d\xa7\x4d\xd4\x43\x95\x5f\xca\x47\x28\xb4\x92\x62\xbd\xd5\xdc\x05\x64\xd3\x91\x47\x2c\x78\xcd\xb5\xcb\x9e\x9b\x6b\xd3\xaa\xd4\x63\x57\x9b\x65\x3f\x72\x6f\x8b\x42\xcf\xee\x73\xff\xb6\x14\x04\x4b\x17\x09\x8f\x72\xd5\x80\x3b\xd6\x76\x93\xa5\xf7\xb9\x9c\xe2\xb5\x06\x47\xcf\x63\x07\x38\xb6\x3a\xc5\xff\x9d\x38\xb8\x2d\xca\xef\xa4\xb4\x7a\x17\xb4\xf2\xa7\x2c\x4a\x5e\xae\x41\x2e\xb4\x70\x39\xa7\x65\x52\xd7\xb3\xe9\x2c\xd2\xc7\xbb\x3b\xc9\x6f\x1d\xa4\x8a\x6e\x84\xf6\x26\x58\xf5\x20\x2b\x94\x27\x01\x3e\x4b\x17\xed\x42\xe7\xed\xe3\xa6\x74\xd8\xee\x21\xf1\xc8\xf9\xf4\xb7\x0a\x9c\x57\xfb\xf0\xe6\xd6\x1a\x03\x92\x5a\x3f\xa0\xe4\x1a\xeb\xaf\xbe\x5d\xe2\xbc\xf2\xff\x2a\xa1\x84\x21\x14\x34\x0e\x84\x2f\xfe\x9a\xa7\x1e\xe8\x2f\xbc\x41\x7e\x5e\xd5\x5f\x1c\xc0\x13\x59\x27\x32\x78\xf2\xff\xd7\x1f\xc0\x49\xff\x43\xbd\x62\x1f\x39\x00\x8e\xe1\x2e\x0f\x7f\xe7\x8b\xfa\xfe\xc9\x1d\xec\x2b\x74\xfe\x73\xac\x2a\xf5\x0d\x72\xeb\x66\xcf\xd6\x7e\xb5\xd3\x7b\x73\x33\x23\xc0\x75\x4f\xfe\x60\xe7\x79\x15\xd1\xe7\xa1\xec\xab\xf3\x01\x2d\xf9\x77\xd5\x57\x41\x60\xe4\xac\xf1\x12\xd4\x01\xe9\x6f\xaf\x26\xfd\x79\xfd\xf5\x8f\x53\x04\x2d\xe5\x53\x8f\x9c\x4f\x7a\xab\x40\x87\xf6\xe5\xd5\x22\xfa\x2f\x00\x00\xff\xff\x53\x8a\x41\x87\x49\x13\x00\x00")
|
||||
|
||||
func bindataTemplatesRdstfMainTfBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
@@ -252,10 +252,10 @@ func bindataTemplatesRdstfMainTf() (*asset, error) {
|
||||
|
||||
info := bindataFileInfo{
|
||||
name: "templates/rds-tf/main.tf",
|
||||
size: 4766,
|
||||
size: 4937,
|
||||
md5checksum: "",
|
||||
mode: os.FileMode(420),
|
||||
modTime: time.Unix(1596121552, 0),
|
||||
modTime: time.Unix(1596127248, 0),
|
||||
}
|
||||
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
|
||||
@@ -15,6 +15,17 @@
|
||||
"readReplica": {
|
||||
"awsInstanceClass": "db.t3.micro",
|
||||
"performanceInsightsEnabled": true
|
||||
},
|
||||
"rds_alert_thresholds": {
|
||||
"cpuUtilization": 70,
|
||||
"cpuCreditBalance": 120,
|
||||
"burstBalance": 85,
|
||||
"dbConnections": 200,
|
||||
"queueDepth": 20,
|
||||
"freeStorageSpacePercent": 90,
|
||||
"freeMemoryTooLowInBytes": 150000000,
|
||||
"readLatency": 0.5,
|
||||
"writeLatency": 0.5
|
||||
}
|
||||
},
|
||||
"aws_access": {
|
||||
@@ -50,18 +61,7 @@
|
||||
}
|
||||
}]
|
||||
}
|
||||
],
|
||||
"rds_alert_thresholds": {
|
||||
"cpuUtilization": 70,
|
||||
"cpuCreditBalance": 120,
|
||||
"burstBalance": 85,
|
||||
"dbConnections": 200,
|
||||
"queueDepth": 20,
|
||||
"freeStorageSpacePercent": 90,
|
||||
"freeMemoryTooLowInBytes": 150000000,
|
||||
"readLatency": 0.5,
|
||||
"writeLatency": 0.5
|
||||
}
|
||||
]
|
||||
},
|
||||
"team": {
|
||||
"name": "Infra"
|
||||
|
||||
@@ -83,42 +83,42 @@ module "rds" {
|
||||
apply_immediately = {{ .ExtraResources.Database.ApplyImmediately | mustToJson }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.CpuUtilization }}
|
||||
cpu_utilization_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.CpuUtilization | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.CpuUtilization }}
|
||||
cpu_utilization_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.CpuUtilization | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.CpuCreditBalance }}
|
||||
cpucredit_balance_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.CpuCreditBalance | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.CpuCreditBalance }}
|
||||
cpucredit_balance_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.CpuCreditBalance | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.BurstBalance }}
|
||||
burst_balance_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.BurstBalance | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.BurstBalance }}
|
||||
burst_balance_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.BurstBalance | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.DBConnections }}
|
||||
db_connections_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.DBConnections | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.DBConnections }}
|
||||
db_connections_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.DBConnections | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.QueueDepth }}
|
||||
queue_depth_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.QueueDepth | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.QueueDepth }}
|
||||
queue_depth_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.QueueDepth | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.FreeStorageSpacePercent }}
|
||||
free_storage_space_percent = {{ .ExtraResources.RdsAlertThresholds.FreeStorageSpacePercent | mustToJson }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.FreeStorageSpacePercent }}
|
||||
free_storage_space_percent = {{ .ExtraResources.Database.RdsAlertThresholds.FreeStorageSpacePercent | mustToJson }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.FreeMemoryTooLowInBytes }}
|
||||
freeable_memory_threshold = {{ .ExtraResources.RdsAlertThresholds.FreeMemoryTooLowInBytes | mustToJson }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.FreeMemoryTooLowInBytes }}
|
||||
freeable_memory_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.FreeMemoryTooLowInBytes | mustToJson }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.ReadLatency }}
|
||||
read_latency_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.ReadLatency | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.ReadLatency }}
|
||||
read_latency_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.ReadLatency | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.WriteLatency }}
|
||||
write_latency_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.WriteLatency | quote }}
|
||||
{{- if .ExtraResources.Database.RdsAlertThresholds.WriteLatency }}
|
||||
write_latency_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.WriteLatency | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
||||
2
types.go
2
types.go
@@ -22,7 +22,6 @@ type ExtraResources struct {
|
||||
Database *Database `json:"database"`
|
||||
ServiceRole *ServiceRole `json:"aws_access"`
|
||||
S3Buckets []S3Bucket `json:"s3_buckets"`
|
||||
RdsAlertThresholds *RdsAlertThresholds `json:"rds_alert_thresholds"`
|
||||
}
|
||||
|
||||
//We provide defaults in respective terraforms instead of here to keep all values at one place
|
||||
@@ -45,6 +44,7 @@ type Database struct {
|
||||
ReadonlyPassword string `json:"readonlyPassword"`
|
||||
PerformanceInsightsEnabled bool `json:"performanceInsightsEnabled"`
|
||||
ReadReplica *ReadReplica `json:"readReplica"`
|
||||
RdsAlertThresholds *RdsAlertThresholds `json:"rds_alert_thresholds"`
|
||||
}
|
||||
|
||||
type Team struct {
|
||||
|
||||
Reference in New Issue
Block a user