INFRA-433 | Abhishek | Fix naming and formatting
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\x5d\x8f\xea\x36\x10\x7d\xcf\xaf\xb0\x78\x0f\xdc\x6a\x5b\x55\x5a\x69\xd5\x2e\x0b\xb7\xda\xea\xde\x6a\xbb\x1f\xad\xd4\x17\xcb\x71\x26\xc1\xc2\xb1\xb3\x1e\x67\x59\x96\xe5\xbf\x57\x8e\x03\x24\x10\xbe\xb9\x3c\xc1\xf1\xcc\xf1\x99\x93\x99\x01\x2c\x18\xc3\x12\x6d\x32\x32\x0b\x08\x89\x18\x1f\x83\x8a\x49\x07\xaf\x3a\x25\x40\x48\x54\xf0\x31\x58\xd2\x7c\xdd\x90\x8e\x62\x6f\x22\x8c\x98\x1a\x87\x4b\x8a\x90\xeb\x2c\x63\x2a\x0e\xd1\x32\x0b\x9d\x32\xdd\x40\x2a\xb4\xda\x4c\x67\x79\x88\xba\xb0\xa3\xf0\x27\x1f\x37\x86\x29\xd9\x78\xdd\x90\x8e\x89\xd1\x07\x4c\xb4\x19\x63\xce\x38\xd0\x31\x4c\x69\x6e\x20\x11\xef\x55\x80\xbf\x0f\x7b\xb3\x19\xe9\x0e\xdf\xad\x61\x8f\x80\xba\x30\x1c\xb0\x3b\x60\x96\x45\x0c\xa1\x7b\xaf\xd0\x32\xc5\xe1\x2f\x96\x01\x99\xcf\x3d\x67\x6e\x74\x22\x24\x6c\x5c\xca\xb3\xd8\x07\x30\x2e\x5b\x55\x79\x53\x42\x3d\x51\x60\xc2\xa4\x90\x32\xe4\x5a\x59\xa3\xa5\x4b\x9b\x07\xf3\x20\xc8\x74\x5c\x48\xf0\xfa\x4b\x27\xbd\xa2\x1a\x47\x2a\xec\xf5\x35\xe2\xe8\xba\xd7\x4b\x85\xfd\x3d\x15\x76\x54\x44\x5d\x9e\xc5\xdd\xd2\x5a\x0b\x7c\xd4\x15\xaa\x57\x7e\x10\x2a\x31\xac\x67\x62\xec\xa6\xc2\xfe\x66\x20\xb9\x29\x91\xf0\xe7\xab\x2b\x77\x23\xa8\x37\x61\xb4\xca\x40\xd9\x92\xbb\xc5\x88\x61\x2d\xe4\x93\xbc\x16\xda\x3a\x1b\x02\x42\x44\x65\x0c\x55\xce\x99\xd6\xdc\x76\x13\x1b\x2c\x39\x43\x9c\x68\x13\x2f\xaa\xdb\xc5\xf2\xb0\x88\x6d\x30\x14\x08\xa6\xee\xf1\x2e\x86\x17\x17\xdb\xc8\x2e\xc5\xaf\x65\x0f\x20\x97\x7a\xea\x2a\xee\xae\x0b\x0e\x08\xc9\xb4\x12\x56\x1b\xa1\x52\x7a\x8c\xf8\xef\xcb\xb4\xf6\x32\x6a\xb4\xab\x8a\x0e\xa5\x5c\xaf\x2b\x20\x24\xae\xa2\xf0\x00\xa2\x41\xe4\xea\x44\xf2\x49\xb2\x02\xed\xb3\xfe\x13\xb5\xf2\xaa\x16\x2c\xd4\xb2\x14\x1d\x4b\xe0\x85\x3d\x03\xcb\x2a\x52\xf7\x76\xc3\x27\x1f\x95\x41\x2c\xb8\x08\x59\x9e\xbb\xbe\x6d\xb3\x76\x3e\x0f\x5b\xe0\xa7\x22\x71\x43\xba\x98\xb6\x25\x51\x39\x36\x07\x5f\x5b\x6f\xee\xe3\x5a\xbb\x34\xd0\xee\x29\x31\x20\x64\x36\x0b\x89\x48\xb6\xfb\xfa\x24\x3e\xe0\x5e\xfd\x11\x79\x56\x14\x1f\xfb\xe6\xa4\x99\xe0\xe8\x41\x22\x34\xd2\x7f\xf9\xb2\x38\x51\xf1\x81\x32\x06\xd1\xf0\xdd\x82\x42\xa1\x15\x56\x8f\x35\xa2\xb0\x82\xf6\x35\x47\x2d\x7b\xb3\x43\x8e\x93\xf2\x08\x2c\xd6\x4a\x4e\xcb\x86\x2d\xf3\x4d\x85\xf8\xae\xdf\x2d\xa5\x91\xfd\x03\xa5\x2c\xe7\xfa\x30\x39\xb5\x81\x3e\x4f\xd2\x03\x18\xf7\x75\xe8\x36\xe5\xbd\x42\x91\x8e\x2c\x0e\x15\x8b\x24\xc4\xd5\xb2\x5c\x9d\x53\x51\x05\x50\xa8\x22\xf6\xec\xce\xed\xd4\xe7\xaa\xbe\x9d\xe0\x62\xbf\xdf\x49\x86\x55\x8b\xb1\x09\xd2\xe5\x57\x04\x2f\xf1\xdd\x0a\x37\x68\x1a\x23\x79\x9c\xa4\x3e\xe3\xe3\x22\x1f\x08\xac\x99\x17\x95\x18\x35\x60\x41\x59\xa1\x15\xcd\xc1\x08\xed\x7c\xfb\xb2\x31\x6b\xdb\x63\x7f\xdd\xa6\x45\x69\xbb\x63\x53\x17\xd2\x8a\xdb\xff\x9a\x82\x32\x07\x52\xf6\x41\x6e\x88\x35\x05\x1c\xdf\x2d\xf8\x2a\xbf\xb2\x4c\xc8\x69\xd5\x1d\xf8\x2a\x69\xe2\x81\x3d\xcd\xb0\xca\x3c\xc3\x64\xc7\x32\x54\xa9\x50\xf0\x0f\x18\xb7\x1e\x6a\x32\xa0\xc4\xe9\x5b\x75\xb0\x5f\x4e\x93\xe8\x0c\x55\x6e\x28\x1f\x21\x97\x82\xb3\xd5\x54\x53\xe3\x91\xf5\x8e\x3c\x60\xc0\x2b\xae\xb6\xf6\x5c\x1f\x9b\xc6\x4d\x67\xcc\x6a\xfd\xda\xcb\xcf\xed\x63\x8c\xb7\x12\x8c\x7d\x1e\x19\xc0\x91\x96\x31\x76\xef\x1e\x5e\x5e\xac\x90\xe2\x83\xd9\xe5\x63\xe4\x79\x41\x8b\x15\x48\x99\x64\x26\xa3\x76\x91\xd4\x5e\xc2\x7e\xee\x2d\x4f\x96\x90\x23\x15\xe7\xc5\x9d\x81\x58\xd8\x3e\x93\xce\x9b\xa5\x66\x5e\xa2\x34\xf2\xf0\xe9\xaa\xd7\xf9\x8f\xef\xc8\x16\xd6\x7e\x61\xb0\xa9\x38\x72\xc8\xd9\x6a\x1b\xbc\x17\x51\x3a\xe8\xdf\x69\xa5\x80\xdb\xc6\x6f\x06\xbe\xc2\x4e\xd6\xda\x64\xbe\x88\xd8\xbf\x0b\x28\x60\x00\xb9\x1d\x79\x9e\x57\xf7\x99\xc6\x0e\x38\x59\x66\x8d\xf3\x22\x1a\xbf\x1a\x80\x27\xab\x0d\x4b\xe1\xc9\xfd\x19\x7d\x00\xc3\xdd\xef\xce\x92\x34\x31\x00\x14\xfd\x29\xf5\xff\x55\xf3\xea\xfc\x50\xbd\xdb\xf8\x2f\xb7\x24\xdc\x0d\xdf\x21\xd3\x66\xfa\xac\xf5\x37\x3d\xb9\x57\xfd\xa9\x05\x5c\x55\xe0\xb6\x12\xcd\xca\x88\x13\x0c\xdf\x46\x7f\xb9\x02\xdc\x5a\xfd\xc6\x2c\x28\x3e\xad\xed\x6b\xe9\x91\x93\x1b\xa5\xce\x7a\x91\x4e\xf9\xd7\x08\x0b\x0d\x9d\x13\x87\x9c\x2d\xb4\xc1\xbb\x55\xe9\x3c\xf8\x3f\x00\x00\xff\xff\xff\x77\x80\xbe\xd9\x11\x00\x00")
|
||||
var _bindataTemplatesRdstfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x97\xdf\x6f\xe2\x38\x10\xc7\xdf\xf3\x57\x58\x7d\x0f\xdd\xd3\xe9\x74\x52\xa5\x4a\xd7\x96\xee\xa9\xa7\xdd\x53\xaf\xed\xde\x49\xf7\x62\x39\xce\x10\x2c\x1c\x3b\xf5\x4c\x4a\x29\xcb\xff\xbe\x72\x1c\x20\x81\xf0\x9b\xe5\x09\xbe\x9e\xf9\xfa\xe3\x61\xc6\x01\x02\xe7\xc4\xc0\xba\x9c\x4d\x23\xc6\x12\x21\x47\x60\x52\x76\x81\xbf\x5e\x54\x02\x63\x49\x29\x47\x40\xac\xfd\xba\x66\x17\x46\xbc\xa9\x38\x11\x66\x14\x2f\x2c\x62\x69\xf3\x5c\x98\x34\x46\x12\x04\x17\x55\xba\x83\x4c\x59\xb3\x9e\x2e\x8a\x18\x6d\x49\xc3\xf8\x97\x10\x37\x82\x09\x5b\x7b\x5d\xb3\x0b\x97\x62\x08\x18\x5b\x37\xc2\x42\x48\xe0\x23\x98\xf0\xc2\xc1\x40\xbd\xd7\x01\x61\x3f\xbc\x9c\x4e\x59\xef\xfe\x9d\x9c\x78\x02\xb4\xa5\x93\x80\xbd\xbe\x20\x91\x08\x84\xde\x83\x41\x12\x46\xc2\xdf\x22\x07\x36\x9b\x05\xcf\xc2\xd9\x81\xd2\xb0\xb6\xa9\xcc\xd3\x10\x20\xa4\xee\xa4\x0a\x45\x89\xed\xd8\x80\x8b\x07\xa5\xd6\xb1\xb4\x86\x9c\xd5\x3e\x6d\x16\xcd\xa2\x28\xb7\x69\xa9\x21\xf0\x57\x95\x0c\x44\x0d\x8f\x4c\xd1\xd5\x15\xe2\xf0\xea\xf2\x32\x53\xf4\x47\xa6\x68\x58\x26\x3d\x99\xa7\xbd\xaa\xb4\x04\x72\xd8\x53\xe6\xb2\xfa\xa0\xcc\xc0\x89\x4b\x97\x62\x2f\x53\xe4\xf7\x00\xf3\xa6\x9c\x35\x39\x18\xaa\xdc\x3a\x8e\x7e\xdf\x08\xf9\xce\x5e\x4b\x4b\xfe\xe0\x11\x63\xaa\x2e\x05\x37\xbe\x16\x9d\xb9\xdd\x65\x6b\xb9\x14\x02\x71\x6c\x5d\x3a\x3f\xcf\x36\x97\xc7\x79\x6c\xcb\xa1\x44\x70\xcd\xaa\x6e\x73\xf8\xe6\x63\x5b\xd9\x15\xfc\x4a\x76\x1f\x0a\x6d\x27\xfe\xc4\xbd\x55\xe0\x88\xb1\xdc\x1a\x45\xd6\x29\x93\xf1\x43\xe0\xbf\x2e\xd2\xba\x8f\xd1\xb0\x5d\x9e\x68\x5f\xcb\xd5\x73\x45\x8c\xa5\x75\x14\xee\x61\xd4\x4f\xfc\x39\x91\x7d\x67\x79\x89\xf4\x62\xff\x42\x6b\x02\xd5\xdc\x85\x93\xc8\xd0\xbb\x44\x01\xec\x05\x44\x5e\x9b\xfa\xb7\x6b\x75\x0a\x51\x39\xa4\x4a\xaa\x58\x14\x85\xef\xd4\xae\xd2\xce\x66\x71\x87\xfc\x5c\x0e\xfc\x58\xce\xe7\x6b\x61\x54\x0d\xca\xde\xdb\x36\x9b\xfb\xb0\xd6\xae\x0a\x48\x3b\x8e\x18\x31\x36\x9d\xc6\x4c\x0d\x36\xd7\xf5\x59\x7d\xc0\x83\xf9\x33\x09\xae\xa8\x3e\x76\xcd\x49\x3b\xc1\xdb\x83\x46\x68\xa5\xff\xf6\x69\xbe\x62\xd2\x3d\x31\xfa\xc9\xfd\x3b\x81\x41\x65\x0d\xd6\x5f\x6b\xc2\x61\x29\xed\x6a\x8e\x46\xf6\x7a\x87\x1c\x86\xf2\x04\x22\xb5\x46\x4f\xaa\x86\xad\xf2\x5d\xad\x84\xae\xdf\x8e\xd2\xca\xfe\x89\x28\x8b\xb9\xde\x0f\xa7\x31\xd0\xa7\x21\x3d\x82\xf3\x0f\x40\x7f\x53\x3e\x18\x54\xd9\x90\xf0\xde\x88\x44\x43\x5a\x5f\x96\xcb\x75\xae\xea\x00\x0e\x75\xc4\x8e\xbb\x73\xb3\xf5\xa9\xd4\x37\x63\x9c\xdf\xef\x77\x5a\x60\xdd\x62\x62\x8c\x7c\xf1\x88\x90\x95\xbe\x9d\x70\xcd\xa6\x35\x92\x87\x21\xdd\x0a\x39\x2a\x8b\xbe\xc2\x46\xf1\x92\x4a\xe3\x0e\x08\x0c\x29\x6b\x78\x01\x4e\x59\x5f\xb7\x4f\x6b\xb3\xb6\x39\xf6\xf7\x4d\x2c\xc6\xd2\x96\x9b\xba\xd4\xa4\x6e\xfe\x6f\x03\xe5\x5e\xe4\xe2\x83\x5d\x33\x72\x25\x1c\xde\x2d\xf8\xaa\x3f\x8b\x5c\xe9\x49\xdd\x1d\xf8\xaa\xf9\x20\x08\x3b\x9a\x61\x99\x79\x42\x91\xbd\xcb\xbd\xc9\x94\x81\x7f\xc1\xf9\xeb\xa1\x81\x01\x95\xce\xdf\xea\x85\xdd\x38\x6d\xa3\x13\xa8\xfc\x50\x3e\x41\xa1\x95\x14\xcb\xa9\xe6\x2e\x28\xab\x1d\xb9\xc7\x80\xd7\x5e\x5d\xed\xb9\x3a\x36\xad\x9d\x4e\x98\xd5\xe6\xb6\x3f\x73\x6e\x8b\x42\x4f\x1e\x72\xff\xb4\x14\x04\xf3\x2e\x12\x5e\xe5\xaa\x21\xef\x18\xdb\x55\x97\x23\xb1\x9e\x52\xbc\xd1\xe0\xe8\x65\xe8\x00\x87\x56\xa7\xd8\xbb\x2b\xca\x6f\xa4\xb4\xfa\x10\xb4\xe8\x2e\x59\x94\xbc\x5c\x8a\x5c\x68\xe1\x72\x4e\xf3\xa4\x6e\xd8\xdd\xde\x1b\x1a\x8e\xb1\x83\x89\xef\x1c\xa4\x8a\x6e\x85\xf6\x5f\xd9\x82\x59\x56\x2a\x4f\x82\x7c\x0a\x75\xdb\xff\xf0\x41\xe9\x70\xbd\x2d\x1d\xb6\x89\x13\xaf\x9c\x4c\xdb\xf2\x3d\x0b\x69\xff\xf6\xce\x1a\x03\x92\x5a\x3f\x65\xe4\x52\x3b\x9a\xb5\xed\x7c\x16\xd8\x7f\x4a\x28\xa1\x0f\x05\x0d\x83\xcf\xab\xff\xcc\x53\x2f\x1c\x8d\xd9\xf0\x3c\x0b\xe3\x67\x07\xf0\x4c\xd6\x89\x0c\x9e\xfd\xbf\xe2\x47\x70\xd2\xff\x1c\xae\x4c\x07\x0e\x80\x63\x58\xe5\xe1\x4f\x73\x51\xaf\xef\xcb\xbb\xc9\xff\x7c\x97\x84\xdf\xe1\x2b\xe4\xd6\x4d\x5e\xac\xfd\x62\xc7\x0f\xe6\x76\x42\x80\xcb\x13\xf8\xcb\x92\xe7\x55\xc4\x11\x05\xdf\x64\x7f\xbe\x03\xf8\xdb\xfe\x8b\x20\x30\x72\xd2\x78\x8c\xe8\xa0\x1c\xdd\x28\x4d\xd7\xb3\x74\xca\x7f\x4e\x11\xb4\x38\xc7\x5e\x39\x19\xb4\xe5\xbb\x91\x74\x16\xfd\x08\x00\x00\xff\xff\x52\x6d\xde\x77\x62\x12\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: 4569,
|
||||
size: 4706,
|
||||
md5checksum: "",
|
||||
mode: os.FileMode(420),
|
||||
modTime: time.Unix(1596113213, 0),
|
||||
modTime: time.Unix(1596116642, 0),
|
||||
}
|
||||
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
|
||||
@@ -83,8 +83,8 @@ module "rds" {
|
||||
apply_immediately = {{ .ExtraResources.Database.ApplyImmediately | mustToJson }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.CPUUtilization }}
|
||||
cpu_utilization_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.CPUUtilization | quote }}
|
||||
{{- if .ExtraResources.RdsAlertThresholds.CpuUtilization }}
|
||||
cpu_utilization_alarm_threshold = {{ .ExtraResources.RdsAlertThresholds.CpuUtilization | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.RdsAlertThresholds.CpuCreditBalance }}
|
||||
|
||||
18
types.go
18
types.go
@@ -72,15 +72,15 @@ type S3Bucket struct {
|
||||
}
|
||||
|
||||
type RdsAlertThresholds struct {
|
||||
CPUUtilization int `json:"cpuUtilization"`
|
||||
CpuCreditBalance int `json:"cpuCreditBalance"`
|
||||
BurstBalance int `json:"burstBalance"`
|
||||
DBConnections int `json:"dbConnections"`
|
||||
QueueDepth int `json:"queueDepth"`
|
||||
FreeStorageSpacePercent int `json:"freeStorageSpacePercent"`
|
||||
FreeMemoryTooLowInBytes int `json:"freeMemoryTooLowInBytes"`
|
||||
ReadLatency float64 `json:"readLatency"`
|
||||
WriteLatency float64 `json:"writeLatency"`
|
||||
CpuUtilization int `json:"cpuUtilization"`
|
||||
CpuCreditBalance int `json:"cpuCreditBalance"`
|
||||
BurstBalance int `json:"burstBalance"`
|
||||
DBConnections int `json:"dbConnections"`
|
||||
QueueDepth int `json:"queueDepth"`
|
||||
FreeStorageSpacePercent int `json:"freeStorageSpacePercent"`
|
||||
FreeMemoryTooLowInBytes int `json:"freeMemoryTooLowInBytes"`
|
||||
ReadLatency float64 `json:"readLatency"`
|
||||
WriteLatency float64 `json:"writeLatency"`
|
||||
}
|
||||
|
||||
type LifecycleRule struct {
|
||||
|
||||
Reference in New Issue
Block a user