[ch10175] | Abhishek | Update default values for size of DB to be 50
This commit is contained in:
56
bindata.go
56
bindata.go
@@ -282,32 +282,32 @@ func bindataTemplatesRdstfDeploysh() (*asset, error) {
|
||||
}
|
||||
|
||||
var _bindataTemplatesRdstfMaintf = []byte(
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x55\x4d\x6f\xdb\x38\x10\xbd\xeb\x57\x10\xbe\x4b\xde\xc5\x1e\x16\x08" +
|
||||
"\x10\x60\xb3\xb5\x5b\xa4\x40\x8b\x20\x49\x7b\xe8\x45\xa0\xa8\x91\x3c\x30\x39\x54\x38\x54\x1c\xc7\xf1\x7f\x2f\x28" +
|
||||
"\xc9\xb6\x0c\x2b\xfe\x40\x50\x9e\x92\xd1\x9b\xc7\x37\x8f\x33\x63\x0f\xce\xc9\xc2\x3a\x23\x56\x91\x10\x99\x54\x73" +
|
||||
"\xa0\x5c\x8c\xf8\x9f\x51\x13\x10\x22\xab\xd5\x1c\xbc\xd8\x3f\xd7\x62\x44\xf2\x19\xe3\x4c\xd2\x3c\xde\x52\xc4\xca" +
|
||||
"\x1a\x23\x29\x8f\xd9\x4b\x0f\xa3\x26\xdd\x41\x89\x96\x0e\xd3\x65\x15\xb3\xad\xfd\x2c\xfe\xbb\xc5\xcd\x61\x29\x0e" +
|
||||
"\xce\xb5\x18\xb9\x9c\x5b\xc0\xc2\xba\x39\x57\x52\x41\x3a\x87\x65\x5a\x39\x28\xf0\xa5\x03\xb4\xf7\xf1\x78\xb5\x12" +
|
||||
"\xc9\xf4\xc5\x3b\x79\x0f\x6c\x6b\xa7\x80\x93\x89\xf4\x32\x93\x0c\xc9\x2d\xb1\x97\xa4\xe0\xbb\x34\x20\xd6\xeb\x96" +
|
||||
"\xb3\x72\xb6\x40\x0d\x07\x97\x2a\x93\xb7\x00\xa9\xf4\xa0\xaa\xd6\x94\xd8\x2e\x08\x5c\x5c\xd4\x5a\xc7\xca\x92\x77" +
|
||||
"\x56\x87\xb4\x75\xb4\x8e\x22\x63\xf3\x5a\x43\xab\xbf\x71\xb2\x55\xd4\xe3\x28\xd1\x5f\x5d\x31\xcf\xae\xc6\xe3\x12" +
|
||||
"\xfd\x7f\x25\xfa\x59\x9d\x25\xca\xe4\x49\x63\xad\x07\x35\x4b\x90\xc6\xcd\x3f\x48\x85\x93\x63\x97\x73\x52\xa2\x0f" +
|
||||
"\x77\x00\x3d\xa3\xb3\x64\x80\x7c\xc3\x36\x50\xfa\xb4\x07\x79\x13\x4f\xb5\xf5\xa1\xf0\x48\x08\xec\xac\x48\x29\x78" +
|
||||
"\x31\x98\x3b\x6c\xdb\x1e\x4b\x25\x99\x17\xd6\xe5\x9b\x7a\x8e\xb1\xdc\x6d\xb0\x7b\x0c\x8c\xaf\xd0\x77\xf5\x18\xc3" +
|
||||
"\x03\xbe\xc2\x2d\x7d\xc9\xda\xcc\x9a\xc1\x9d\x9b\xf9\x23\x60\x7b\xf7\x46\x42\x18\x4b\xe8\xad\x43\x2a\xd3\x4b\xaa" +
|
||||
"\xf8\xb6\x4d\x1b\xae\xa7\x47\xbb\x13\x78\x2e\xe5\x80\xcc\xbc\x43\xf1\x19\x44\x93\x2c\xbc\x10\x8b\x37\x61\x6a\xf6" +
|
||||
"\x8f\xf6\x2b\x5b\x6a\x55\x6d\x58\x52\x2f\x4b\x0e\x2c\x51\x2b\xec\x11\xa4\xe9\x48\xc3\x9f\xc9\xe1\x0b\x87\x63\x20" +
|
||||
"\x47\x85\xb1\xac\xaa\xd0\xb2\x01\x3c\x81\x4a\xdb\x65\xe8\xaa\xa4\x9b\xa5\x78\x20\xfc\x50\x17\x61\x3e\x37\x83\xb6" +
|
||||
"\x25\x6a\x26\xe6\xec\x6b\xfb\x5d\x7e\x59\x8f\x37\x06\xfa\x13\x25\x46\x42\xac\x56\xb1\xc0\xe2\x98\xaf\xd3\x17\x0f" +
|
||||
"\xc4\x68\x89\x3b\x3f\xb3\x14\x76\xa1\x53\xaf\xd2\xcb\x3e\x7c\x9a\x70\x79\xd8\xb6\xe7\x49\xb9\x07\x99\x5b\xd2\xcb" +
|
||||
"\xa6\x53\x9a\x7c\xd7\x45\xda\x76\x3b\x2e\x65\x2f\xfb\x0f\x4a\xd9\x0e\xd4\x79\x72\x7a\x93\xf4\x31\x49\x77\xe0\xc2" +
|
||||
"\x4f\x50\xd8\x55\xb7\xc4\x58\xce\x3c\x4f\x49\x66\x1a\xf2\x6e\x5d\xed\xbe\xa7\xd8\x01\x52\xe8\x10\x27\xb6\xd7\xfb" +
|
||||
"\xd4\x1f\x55\x7d\xb3\xe0\xcd\x86\xfd\xa4\x25\x77\x2d\x26\x17\x9c\x6e\x97\xb4\x6a\xe2\xc7\x15\x1e\xd0\xec\xcd\xc2" +
|
||||
"\x65\x92\xfe\x97\x6a\x5e\x57\x13\xe4\x9e\x79\x59\x13\x4b\x1d\x78\x20\x8f\x96\xd2\x0a\x1c\xda\xe0\xdb\x5f\x1b\x7e" +
|
||||
"\xcd\x70\x0a\xfb\xef\x7b\x5a\xc8\xfa\x23\x2b\xb2\xd6\x1e\x6f\x7e\xed\x0b\x32\x21\x98\xca\x57\x71\x2d\xbc\xab\xe1" +
|
||||
"\xf2\x6e\xe1\x27\xfd\x59\x1a\xd4\xcb\xae\x3b\xf8\x49\xa7\x45\x1b\x38\xd1\x0c\xbb\xcc\x0f\x98\x1c\x58\xa6\x54\x22" +
|
||||
"\xc1\x4f\x70\x61\x3d\xf4\x64\x40\x13\x4f\x9f\xbb\x0f\xa7\xe5\xec\x13\xbd\xab\x6a\x1d\xfd\x0e\x00\x00\xff\xff\xc8" +
|
||||
"\xeb\xd4\x94\xec\x09\x00\x00")
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x55\x5d\x6b\xdb\x4a\x10\x7d\xd7\xaf\x58\xfc\x2e\x39\x97\xcb\xe5\x42" +
|
||||
"\x20\x70\x73\x6b\xb7\xa4\xd0\x12\x92\xb4\x0f\x7d\x11\x2b\x69\x24\x0f\xde\x9d\x55\x76\x56\x71\x1c\xc7\xff\xbd\xac" +
|
||||
"\x24\xdb\x12\x96\xbf\x08\xd5\x53\x32\x9a\x73\xf6\xec\xd1\x99\xb1\x03\x6b\x65\x6e\xac\x16\xab\x40\x88\x44\xa6\x73" +
|
||||
"\xa0\x4c\x8c\xf8\xef\x51\x5d\x10\x22\xa9\xd2\x39\x38\xd1\x7f\x6e\xc4\x88\xe4\x0b\x86\x89\xa4\x79\xb8\xa5\x08\x53" +
|
||||
"\xa3\xb5\xa4\x2c\x64\x27\x1d\x8c\x6a\xb8\x85\x02\x0d\xed\xc3\x65\x19\xb2\xa9\xdc\x2c\xfc\xab\xe9\x9b\xc3\x52\xec" +
|
||||
"\x3d\x37\x62\x64\x33\x6e\x1a\x16\xc6\xce\xb9\x94\x29\xc4\x73\x58\xc6\xa5\x85\x1c\x5f\xdb\x86\xe6\x3c\x1e\xaf\x56" +
|
||||
"\x22\x9a\xbe\x3a\x2b\x1f\x80\x4d\x65\x53\xe0\x68\x22\x9d\x4c\x24\x43\x74\x47\xec\x24\xa5\xf0\x5d\x6a\x10\xeb\x75" +
|
||||
"\xc3\x59\x5a\x93\xa3\x82\xbd\x43\x53\x9d\x35\x0d\x32\x55\x83\xaa\x1a\x53\x42\xb3\x20\xb0\x61\x5e\x29\x15\xa6\x86" +
|
||||
"\x9c\x35\xca\xc3\xd6\xc1\x3a\x08\xb4\xc9\x2a\x05\x8d\xfe\xda\xc9\x46\x51\x87\xa3\x40\x77\x7d\xcd\x3c\xbb\x1e\x8f" +
|
||||
"\x0b\x74\xff\x15\xe8\x66\x55\x12\xa5\x3a\x8b\x6a\x6b\x1d\xa4\xb3\x08\x69\x5c\xff\x83\x94\x5b\x39\xb6\x19\x47\x05" +
|
||||
"\x3a\x7f\x06\xd0\x0b\x5a\x43\x1a\xc8\xd5\x6c\x03\x57\x9f\x76\x5a\xde\xc5\x73\x65\x9c\xbf\x78\x20\x04\xb6\x56\xc4" +
|
||||
"\xe4\xbd\x18\xc4\x0e\xdb\xd6\x63\x29\x25\xf3\xc2\xd8\x6c\x73\x9f\x63\x2c\xf7\x9b\xde\x1e\x43\xc5\x60\xbb\xae\x1e" +
|
||||
"\x63\xf8\xe1\x7b\x3b\xe8\x40\x08\x6d\x08\x9d\xb1\x48\x45\x7c\x89\x96\x6f\x5b\xd8\xb0\xaa\x0e\xed\x4e\xe0\xb9\x94" +
|
||||
"\x03\x32\xb3\xb6\x8b\xcf\x20\x9a\x24\xde\x67\x16\xef\x42\x57\xec\x9e\xcc\x57\x36\xd4\xa8\xda\xb0\xc4\x4e\x16\xec" +
|
||||
"\x59\x82\x46\xd8\x13\x48\xdd\x92\xfa\x3f\xa3\xfd\xef\xe4\x1f\x0d\x19\xa6\x18\xca\xb2\xf4\xc1\xf3\xcd\x13\x28\x95" +
|
||||
"\x59\xfa\x6c\x44\xed\x44\x84\x03\xe5\xc7\x2a\xf7\x53\xb6\x19\x97\x2d\x51\x9d\xfb\xb3\x8f\xed\x66\xf5\xb2\xa4\xd6" +
|
||||
"\x06\xba\x13\x57\x0c\x84\x58\xad\x42\x81\xf9\x61\x5f\x1f\xf1\x0d\xee\xe8\x4b\xd2\xb0\x32\xbe\x9d\x8a\x7d\x1f\xe0" +
|
||||
"\xe9\x41\x31\xf4\xe0\xff\x5c\x6d\xde\x50\x76\xa6\x8c\x49\x32\x7d\x75\x40\x8c\x86\xb8\xfd\xac\x49\x0c\xbb\xd2\xa9" +
|
||||
"\x70\x74\xd0\xfb\x09\xb9\x4c\xca\x03\xc8\xcc\x90\x5a\xd6\x81\xad\xf1\xb6\xad\x34\xa9\x3f\x2e\xa5\x87\xfe\x83\x52" +
|
||||
"\xb6\x73\x7d\x9e\x9c\xce\x40\x7f\x4c\xd2\x3d\x58\xff\x7b\xe6\x17\xdf\x1d\x31\x16\x33\xc7\x53\x92\x89\x82\xac\xdd" +
|
||||
"\x7d\xbb\xf7\x31\xb6\x0d\x31\xb4\x1d\x27\x56\xe1\x61\xea\x8f\xaa\xbe\x5d\xf0\x66\x5d\x7f\x52\x92\xdb\x88\xc9\x05" +
|
||||
"\xc7\xdb\x8d\x9f\xd6\xf5\xe3\x0a\xf7\x68\x7a\x23\x79\x99\xa4\xff\x65\x3a\xaf\xca\x09\x72\xc7\xbc\xa4\xae\xc5\x16" +
|
||||
"\x1c\x90\x43\x43\x71\x09\x16\x8d\xf7\xed\x6a\x6f\xd6\x0e\xf7\xfe\x7b\x48\x0b\x19\x77\x64\x53\x57\xca\xe1\xed\xaf" +
|
||||
"\xbe\x20\xed\x8b\xb1\x7c\x13\x37\xc2\xd9\x0a\x2e\x4f\x0b\x3f\xab\xcf\x52\xa3\x5a\xb6\xe9\xe0\x67\x15\xe7\x4d\xe1" +
|
||||
"\x44\x18\x76\xc8\x0f\x98\xec\x59\xa6\x54\x20\xc1\x4f\xb0\x7e\x3d\x74\x64\x40\x5d\x8f\x5f\xda\x17\xa7\xe5\xf4\x89" +
|
||||
"\x0e\xaa\x5a\x07\xbf\x03\x00\x00\xff\xff\xd6\xb4\x35\x4c\x39\x0a\x00\x00")
|
||||
|
||||
func bindataTemplatesRdstfMaintfBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
@@ -326,10 +326,10 @@ func bindataTemplatesRdstfMaintf() (*asset, error) {
|
||||
|
||||
info := bindataFileInfo{
|
||||
name: "templates/rds-tf/main.tf",
|
||||
size: 2540,
|
||||
size: 2617,
|
||||
md5checksum: "",
|
||||
mode: os.FileMode(420),
|
||||
modTime: time.Unix(1588707459, 0),
|
||||
modTime: time.Unix(1588762350, 0),
|
||||
}
|
||||
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
|
||||
@@ -14,7 +14,6 @@ module "rds" {
|
||||
environment = {{ .ExtraResources.Environment | quote }}
|
||||
instance_name = {{ .ExtraResources.Database.InstanceName | quote }}
|
||||
password = {{ .ExtraResources.Database.Password | quote }}
|
||||
size = {{ .ExtraResources.Database.SizeInGb }}
|
||||
user = {{ .ExtraResources.Database.User | quote }}
|
||||
|
||||
monitoring_password = {{ .ExtraResources.Database.MonitoringPassword | quote }}
|
||||
@@ -30,6 +29,12 @@ module "rds" {
|
||||
|
||||
team = {{ .Team.Name | quote }}
|
||||
|
||||
{{- if .ExtraResources.Database.SizeInGb }}
|
||||
size = {{ .ExtraResources.Database.SizeInGb }}
|
||||
{{- else }}
|
||||
size = 50
|
||||
{{- end }}
|
||||
|
||||
{{- if .ExtraResources.Database.DbExtensions }}
|
||||
db_extensions = {{ .ExtraResources.Database.DbExtensions | mustToJson }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user