INFRA-3107 | Saurabh | Elastic Cache version upgrade dropdown checks

This commit is contained in:
Saurabh Bhagwan Sathe
2024-06-13 18:58:41 +05:30
parent fed166c4c4
commit 7dbc91d345
2 changed files with 4 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
// templates/dynamo-db-tf/deploy.sh (646B)
// templates/dynamo-db-tf/main.tf (4.473kB)
// templates/elastic-cache-tf/deploy.sh (1.047kB)
// templates/elastic-cache-tf/main.tf (6.09kB)
// templates/elastic-cache-tf/main.tf (6.056kB)
// templates/rds-tf/deploy.sh (4.236kB)
// templates/rds-tf/main.tf (11.55kB)
// templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh (2.751kB)
@@ -304,7 +304,7 @@ func templatesElasticCacheTfDeploySh() (*asset, error) {
return a, nil
}
var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x5d\x4f\x1b\x39\x14\x7d\xcf\xaf\xb0\xe6\x69\xfb\x30\x03\x74\x55\x2a\x21\x21\x2d\x65\xd1\x8a\x07\x68\x55\xd1\x3e\xec\x8b\xe5\xd8\x37\x89\x15\x7f\x4c\xaf\x6d\x20\x65\xf3\xdf\x57\xb6\x27\x61\x86\x04\x98\x40\x82\xd4\xe6\x2d\x37\xe7\x9e\x7b\xee\xf1\x57\x6c\x0f\x88\x6c\x64\x51\x93\xbb\x01\x21\x43\xc6\xa7\x60\x04\x29\xdc\x9f\x45\x0a\x10\x32\x0c\x7c\x0a\x9e\x74\x3f\xc7\xa4\x30\xec\x5a\x96\x43\x66\xa6\xe5\x92\xa2\xe4\x56\x6b\x66\x44\xe9\x3c\xf3\x50\xa4\x74\x84\xb1\xb4\x66\x35\x9d\xd5\xa5\xb3\xc1\x4f\xca\x83\x8c\x9b\xc2\x8c\xac\x7c\x8e\x49\x01\x8a\x39\x2f\x79\xc9\x19\x9f\x34\x94\x37\x16\xa7\xae\x66\x1c\xe8\x14\x66\xb4\x46\x18\xc9\xdb\x15\x68\xd6\xe0\xf6\xee\xee\x48\x75\x6e\x46\xc8\xbe\x03\x7a\xc9\x99\x22\xf3\x79\x0a\x9e\xdd\x7a\x64\x5f\xc1\xd9\x80\x1c\x5c\x75\x66\xae\x25\x5a\xa3\xc1\xf8\xc7\x10\x99\xfe\x34\xb2\x57\xe7\xc6\x79\x66\x38\x5c\x32\x0d\x64\x3e\xcf\xc2\x6a\xb4\x23\xa9\x60\xa5\x07\xae\x45\x06\x30\xae\xd6\x36\x99\x3d\x2e\xed\x8d\x01\x2c\x47\x41\xa9\x92\x5b\xe3\xd1\xaa\x98\x36\x1f\xcc\x07\x03\x6d\x45\x50\xb0\xec\x91\x66\x3b\xd2\x10\x65\x7d\x2d\xb6\xb1\xf4\x47\x47\xce\x4d\x8e\xf6\xf6\xc6\xd2\xff\x35\x96\x7e\x12\x86\x15\xb7\x7a\x2f\x8d\x99\x8c\x6e\xec\x75\xcd\xca\xf4\xd5\x58\xfa\x58\x11\x5a\x5e\x44\xc6\x67\xec\xfa\x8f\xfc\x08\xd6\x47\x1b\x06\x84\x18\xa6\xe1\x7e\x4c\x36\xb2\xb1\xc3\x93\x54\xd2\xeb\xc5\xa0\x65\xaa\xee\x40\x76\xf0\x1e\x98\x6e\x50\x57\xc0\x74\xf5\x90\x31\x42\xd8\xd8\x45\x48\x1a\x8a\xab\x67\xf0\x11\xf3\x39\x8e\x47\x1b\x94\x03\x0f\x50\x5f\xd0\x8a\xc0\x7d\x1b\xb7\x08\x3d\x40\x9e\xbd\xc2\x57\x42\x92\xc2\xfb\x61\x8e\xc9\x6d\xd1\x09\x95\xfa\x34\x56\x00\xf5\xb3\x1a\x7a\x0c\xc0\xc9\x8d\x5b\x8c\xc1\xa9\x62\xce\x75\x8b\xb2\xba\x56\x33\x2a\xb5\x06\x21\x99\x07\x35\xeb\xc3\x18\x73\xce\x5b\x29\xd9\xfc\xbb\xbb\x92\xc8\xd1\xd3\xa9\x67\x66\x2c\x0d\x7c\x07\x74\x71\xcb\x48\x0a\x20\x85\xe2\x3c\x48\xb1\xe7\xcb\x77\x39\x3a\xdd\x44\x09\x71\x73\xeb\x08\x82\x1f\x9b\xf0\x15\x1f\xab\x83\x22\xb3\x8d\x98\x96\xc9\x90\x02\x41\x48\xf7\xb1\x58\x54\x50\x0e\x22\xb1\x45\xf2\xc7\x86\xe4\x87\xd5\x7e\xf1\xee\x05\x59\xef\x8b\x77\x6b\x35\x1d\x56\xb7\x0f\x55\x6d\xc8\xfd\xa1\xda\xaf\x0e\xd7\x37\xfc\xa1\xda\xef\x90\x3f\x6d\xca\xd2\xf6\xbe\x73\xe1\x22\x28\x2f\x4f\xfe\xcd\xb4\x3a\x7e\xa1\xec\x27\x05\xc3\x86\x0a\x04\x39\x26\x1e\x03\xc4\xb9\x1e\xf4\x10\x30\x6f\x87\x94\xab\xe0\x3c\x60\x5c\xe4\xef\x57\xa4\x3d\x86\x3c\xe8\x4a\x5c\xaa\xb3\xd8\x4f\xe0\x93\xa0\xd3\x5c\xe7\xc2\x8a\xc5\x8a\x0a\xde\x6a\x16\x77\xf0\x11\x93\xca\x5e\x03\xae\xf6\xd4\xa8\x69\x8b\xd9\xac\x48\xd3\x1d\xd5\x71\x23\x58\x67\x19\x4d\x5b\xc4\x18\x6d\xa8\x5d\x8f\x35\x75\x19\xf4\xa5\x15\xf0\x4f\xc6\xa7\x12\x08\xb5\x92\x9c\x39\x5a\x03\xb6\xd8\xfa\x91\x7d\x6d\x92\xbf\x00\x2e\x79\x57\x96\x68\xcf\x2d\xa3\xf5\xe5\x44\x01\xfa\xab\x09\x82\x9b\x58\x25\x5c\x33\xe1\x5e\xcd\x53\x9d\xd6\xe1\x9b\x97\x4a\xfe\x64\x7e\xb9\x2f\xf1\x3a\xd0\x70\x1f\xa4\x4c\x31\xd4\xd4\x2f\x92\xfa\x6c\x54\xfd\x2b\x3e\x38\x08\xba\x0b\x6a\x2b\xfd\x9d\xc6\xe5\xea\x3f\x31\x15\x0f\x82\xfb\x0e\x79\x0a\xd3\x61\x8e\x6f\xbf\xc9\x6e\xd9\x1d\xb7\x79\x01\xda\xe2\xec\x9b\x63\xe3\xa6\x84\x4e\x01\x1a\x62\x64\xcb\xbd\xb5\x6b\xed\xb8\xad\x4b\xf0\xf1\x0f\xf1\x27\x66\xc4\x8d\x14\x7e\x72\x6e\x4e\x94\xb2\x37\xd1\xd1\xb3\x5b\x0e\x20\xa0\x59\x4e\x26\x03\xe9\x70\x81\xa4\x32\xce\xdb\x06\x4b\xa1\x01\x6f\xd9\x89\x3e\xf2\xde\xd8\xa1\xcf\xc1\xf7\xb6\xc8\x06\xff\xf6\x1e\xad\x15\xf8\xc6\x26\x5d\x61\xbc\x0a\x8a\x67\x8c\xe2\xd6\x18\xe0\x71\x93\x72\xd4\xe7\x8c\xb7\xb7\xeb\x51\xa9\x4f\x5a\xb6\xf6\xdf\xe0\x66\x9a\xfe\x0e\x98\x36\xe8\x57\x1e\x35\x4b\x9a\x0d\x4e\x1a\xb8\x66\x2a\xe4\x40\x0d\x28\xed\x8b\x3c\x7d\xb4\xf0\x2e\xe6\x5a\xa7\xd8\x26\xe7\xcd\xf6\x5b\xdd\xfd\xb1\x73\x5f\xae\xcf\xa9\xb3\xe5\x0e\x7f\xfd\xc3\x67\xcb\x86\xfc\xce\x67\xd0\x8e\xad\xfa\x4d\x8f\xa2\x1d\xbb\xf6\xea\x13\x69\x3e\x18\xd8\xe0\xeb\xe0\x97\x2f\x7e\xe9\xda\xda\xdc\xba\x92\xee\x74\xdf\xa2\x35\x4a\xcd\x70\x46\xc1\x88\xda\x4a\xe3\x29\x13\x02\xc1\xb9\xfc\x34\x18\xbb\x84\xe5\x8b\x51\xf3\xc8\xd7\x79\x42\xac\x5e\x46\x3f\x20\x44\x80\xe3\x28\x6b\x9f\x9f\x65\x8a\xab\x09\x90\xe6\x47\x62\x47\xc4\x4f\x80\x2c\x92\xc8\xc8\x62\x0a\x34\x6c\xe9\x81\x8a\x48\x93\x62\xad\x9a\x24\xd5\xac\x8a\xc1\x7c\xb0\xe1\x0b\x41\x3f\xaf\x10\x98\x48\xf7\xed\x9d\x58\xf5\x08\xfb\xcb\x9c\xca\x64\x3d\x8d\x6a\xe6\xcc\xff\x01\x00\x00\xff\xff\x03\x9c\x4b\x24\xca\x17\x00\x00")
var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\xdf\x4f\x1b\x39\x10\x7e\xcf\x5f\x61\xed\xd3\xf5\x61\x17\xe8\xa9\x54\x42\x42\x3a\xca\xa1\x13\x0f\xd0\xaa\xa2\x7d\xb8\x17\xcb\xb1\x27\x89\x15\xff\xd8\x8e\x6d\x20\xe5\xf2\xbf\x9f\x6c\x6f\xc2\x2e\x09\xb0\x81\x04\xa9\xcd\x5b\x26\xdf\x7c\x33\xf3\x8d\x3d\x8e\xed\x01\x91\x8d\x2c\x6a\x72\x37\x20\x64\xc8\xf8\x14\x8c\x20\x85\xfb\xb3\x48\x06\x42\x86\x81\x4f\xc1\x93\xee\xe7\x98\x14\x86\x5d\xcb\x72\xc8\xcc\xb4\x5c\x52\x94\xdc\x6a\xcd\x8c\x28\x9d\x67\x1e\x8a\xe4\x8e\x30\x96\xd6\xac\xba\xb3\xba\x74\x36\xf8\x49\x79\x90\x71\x53\x98\x91\x95\xcf\x31\x29\x40\x31\xe7\x25\x2f\x39\xe3\x93\x86\xf2\xc6\xe2\xd4\xd5\x8c\x03\x9d\xc2\x8c\xd6\x08\x23\x79\xbb\x02\xcd\x39\xb8\xbd\xbb\x3b\x52\x9d\x9b\x11\xb2\xef\x80\x5e\x72\xa6\xc8\x7c\x9e\x8c\x67\xb7\x1e\xd9\x57\x70\x36\x20\x07\x57\x9d\x99\x6b\x89\xd6\x68\x30\xfe\x31\x44\xa6\x3f\x8d\xec\xd5\xb9\x71\x9e\x19\x0e\x97\x4c\x03\x99\xcf\x73\x62\x35\xda\x91\x54\xb0\x52\x03\xd7\x22\x03\x18\x57\x6b\x8b\xcc\x1a\x97\xf6\xc6\x00\x96\xa3\xa0\x54\xc9\xad\xf1\x68\x55\x74\x9b\x0f\xe6\x83\x81\xb6\x22\x28\x58\xd6\x48\xb3\x1c\xa9\x45\x39\xbf\x16\xdb\x58\xfa\xa3\x23\xe7\x26\x47\x7b\x7b\x63\xe9\xff\x1a\x4b\x3f\x09\xc3\x8a\x5b\xbd\x97\x7a\x26\xa3\x1a\x7b\x5d\xb1\x32\x7d\x35\x96\x3e\x46\x84\x96\x16\x91\xf1\x19\xb9\xfe\x23\x3f\x82\xf5\x51\x86\x01\x21\x86\x69\xb8\xef\xc9\x46\x32\x76\x78\x52\x96\xf4\x7a\xd1\xb4\x4c\xd5\x6d\x64\x07\xef\x81\xe9\x06\x75\x05\x4c\x57\x0f\x19\x23\x84\x8d\x5d\x84\xa4\x56\x5c\x3d\x83\x8f\x98\xcf\xb1\x1f\x6d\x50\x36\x3c\x40\x7d\x41\x2b\x02\xf7\x6d\xdc\xc2\xf4\x00\x79\xf6\x0a\x5d\x09\x49\x19\xde\xb7\x39\x3a\xb7\x93\x4e\xa8\x54\xa7\xb1\x02\xa8\x9f\xd5\xd0\xa3\x01\x27\x37\x6e\xd1\x83\x53\xc5\x9c\xeb\x06\x65\x75\xad\x66\x54\x6a\x0d\x42\x32\x0f\x6a\xd6\x87\x31\xfa\x9c\xb7\x5c\xb2\xf8\x77\x77\x25\x91\xa3\xa7\x5d\xcf\xcc\x58\x1a\xf8\x0e\xe8\xe2\xc8\x48\x19\x40\x32\xc5\x75\x90\x6c\xcf\x87\xef\x72\x74\xaa\x89\x29\xc4\xe1\xd6\x49\x08\x7e\x6c\xc2\x57\x7c\xac\x0e\x8a\xcc\x36\x62\x5a\x26\x41\x0a\x04\x21\xdd\xc7\x62\x11\x41\x39\x88\xc4\x16\xc9\x1f\x1b\x92\x1f\x56\xfb\xc5\xbb\x17\x78\xbd\x2f\xde\xad\xcd\xe9\xb0\xba\x7d\x98\xd5\x86\xdc\x1f\xaa\xfd\xea\x70\x7d\xc1\x1f\xaa\xfd\x62\x45\xd4\xbe\x9d\xbe\x08\xca\xcb\x93\x7f\x33\xb1\x8e\x5f\x28\xfb\x49\xc1\xb0\xa1\x02\x41\x8e\x89\xc7\x00\x71\x25\x07\x3d\x04\xcc\xc3\x8e\x72\x15\x9c\x07\x8c\x5b\xf8\x7d\xbb\xaa\x3c\x76\x1e\x41\x1e\x74\x53\x5c\x66\x67\xb1\x5f\x82\x4f\x82\x4e\x73\x9c\x0b\x2b\x16\xfb\x25\x78\xab\x59\x9c\xcf\x23\x26\x95\xbd\x06\x5c\xad\xa9\xc9\xa6\x9d\xcc\x66\x41\x9a\xea\xa8\x8e\xdb\x7c\x9d\x64\x34\x0d\x80\x31\xda\x50\xbb\x1e\x3b\xe6\x32\xe8\x4b\x2b\xe0\x9f\x8c\x4f\x21\x10\x6a\x25\x39\x73\xb4\x06\x6c\xb1\xf5\x23\xfb\xda\x38\x7f\x01\x5c\xf2\xae\x6c\xc0\x9e\x03\xa1\xf5\xe5\x44\x01\xfa\xab\x09\x82\x9b\x58\x25\x5c\xb3\xe0\x5e\xcd\x53\x9d\xd6\xe1\x9b\x97\x4a\xfe\x64\x7e\x39\x75\x78\x1d\x68\xb8\x37\x52\xa6\x18\x6a\xea\x17\x4e\x7d\xc6\x50\xff\x88\x0f\xc6\x7c\x77\x43\x6d\xa5\xbe\xd3\xb8\x61\xfd\x27\xa6\xe2\x98\xbf\xaf\x90\x27\x33\x1d\x66\xfb\xf6\x8b\xec\x86\xdd\x71\x99\x17\xa0\x2d\xce\xbe\x39\x36\x6e\x42\xe8\x64\xa0\x21\x5a\xb6\x5c\x5b\x3b\xd6\x8e\xcb\xba\x04\x1f\xff\xee\x7e\x62\x46\xdc\x48\xe1\x27\xe7\xe6\x44\x29\x7b\x13\x15\x3d\xbb\xe5\x00\x02\x9a\xed\x64\x32\x90\x0e\x17\x48\x2a\xe3\xba\x6d\xb0\x14\x1a\xf0\x96\x95\xe8\x93\xde\x1b\x2b\xf4\x39\xf8\xde\x12\xd9\xe0\xdf\x5e\xa3\xb5\x09\xbe\xb1\x48\x57\x18\x2f\x7a\xe2\x19\xa1\xb8\x35\x06\x78\x1c\x52\x8e\xfa\xec\xf1\xf6\x72\x3d\x9a\xea\x93\x92\xad\xfd\xaf\xb7\x59\x4e\x7f\x07\x4c\x03\xfa\x95\x47\xcd\x92\x66\x83\x93\x06\xae\x99\x0a\xd9\x50\x03\x4a\xfb\x22\x4d\x1f\x0d\xbc\x8b\xb5\xd6\x09\xb6\xc9\x79\xb3\xfd\x52\x77\x7f\xec\xdc\x87\xeb\x73\xea\x6c\xb9\xc2\x5f\xff\xf0\xd9\xb2\x20\xbf\xf3\x19\xb4\x63\xa9\x7e\xd3\xa3\x68\xc7\xaa\xbd\xfa\x44\x9a\x0f\x06\x36\xf8\x3a\xf8\xe5\x7b\x5e\xba\xb6\x36\xb7\xae\x94\x77\xba\x6f\xd1\x1a\xa5\x66\x38\xa3\x60\x44\x6d\xa5\xf1\x94\x09\x81\xe0\x5c\x7e\xf8\x8b\x55\xc2\xf2\x3d\xa8\x79\xc2\xeb\x3c\x10\x56\x2f\xa3\x1f\x10\x22\xc0\x71\x94\xb5\xcf\x8f\x2e\xc5\xd5\x04\x48\xf3\x23\xb1\x23\xe2\x27\x40\x16\x4e\x64\x64\x31\x19\x1a\xb6\xf4\xfc\x44\xa4\x49\xb6\x56\x4c\x92\x62\x56\xc5\x60\x3e\xd8\xf0\x85\xa0\x9f\x56\x08\x4c\xa4\xfb\xf6\x4e\xa4\x7a\x84\xfd\x65\x4a\x65\xb2\x9e\x42\x35\x6b\xe6\xff\x00\x00\x00\xff\xff\x1e\xe0\x74\xf2\xa8\x17\x00\x00")
func templatesElasticCacheTfMainTfBytes() ([]byte, error) {
return bindataRead(
@@ -319,8 +319,8 @@ func templatesElasticCacheTfMainTf() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6090, mode: os.FileMode(0644), modTime: time.Unix(1718284777, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf9, 0x4b, 0x8e, 0x2, 0x5f, 0x93, 0x88, 0x5b, 0x75, 0x1d, 0x34, 0x9, 0x93, 0x66, 0x21, 0x5a, 0xaf, 0xb3, 0x6d, 0x57, 0x95, 0xea, 0xd6, 0x67, 0xd8, 0xa7, 0x1a, 0x7a, 0xdf, 0x4a, 0x73, 0x7f}}
info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6056, mode: os.FileMode(0644), modTime: time.Unix(1718285245, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x4d, 0x6a, 0x12, 0xc1, 0xab, 0xa9, 0x86, 0x79, 0x2c, 0xb6, 0xd0, 0xda, 0x63, 0x12, 0x49, 0xb0, 0x5c, 0x84, 0xd, 0x18, 0xb8, 0x54, 0x7a, 0xf0, 0x88, 0x5a, 0x4, 0x5d, 0xfb, 0xa0, 0x51}}
return a, nil
}

View File

@@ -37,8 +37,6 @@ module "elastic_cache" {
family = "redis6.x"
{{- else if eq .ExtraResources.ElasticCache.EngineVersion "5.0.6" }}
family = "redis5.0"
{{- else }}
family = "redis7"
{{- end }}