INFRA-3107 | Saurabh | Comments resolved bindata

This commit is contained in:
Saurabh Bhagwan Sathe
2024-06-14 14:05:23 +05:30
parent c417afbb9b
commit 820c2cface
2 changed files with 8 additions and 8 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.006kB)
// templates/elastic-cache-tf/main.tf (6.012kB)
// 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\x4d\x4f\x23\x39\x13\xbe\xe7\x57\x58\x7d\xef\xe6\x9d\x77\x35\x33\x12\x12\xd2\x32\x2c\x5a\x71\x80\x41\x23\x66\x0e\x7b\xb1\x2a\x76\x25\x6d\xc5\x1f\xbd\xfe\x00\x32\x6c\xfe\xfb\xca\x76\x27\xe9\x26\x01\x3a\x90\x20\xed\xe4\x96\xca\x53\x4f\x55\x3d\x65\x97\x63\x7b\xb4\x16\x26\xc6\x2a\xf2\x30\x22\x64\x0c\x6c\x86\x9a\x93\xc2\xfd\x56\x24\x03\x21\xe3\xc0\x66\xe8\x49\xff\x73\x42\x0a\x0d\xb7\xa2\x1c\x83\x9e\x95\x2b\x8a\x92\x19\xa5\x40\xf3\xd2\x79\xf0\x58\x24\x77\x8b\x53\x61\xf4\xa6\x3b\x34\xa5\x33\xc1\xd7\xe5\x87\x8c\x9b\xe1\x9c\x6c\x7c\x4e\x48\x81\x12\x9c\x17\xac\x64\xc0\xea\x96\xf2\xce\xd8\x99\x6b\x80\x21\x9d\xe1\x9c\x36\x16\x27\xe2\x7e\x03\x9a\x73\x70\x47\x0f\x0f\xa4\xba\xd0\x13\x0b\x3f\xd0\x7a\xc1\x40\x92\xc5\x22\x19\xcf\xef\xbd\x85\x6f\xe8\x4c\xb0\x0c\x5d\x75\xae\x6f\x85\x35\x5a\xa1\xf6\x4f\x21\x32\xfd\x59\x64\xaf\x2e\xb4\xf3\xa0\x19\x5e\x81\x42\xb2\x58\xe4\xc4\x1a\x6b\x26\x42\xe2\x46\x0d\x4c\xf1\x0c\x00\x26\xb7\x16\x99\x35\x2e\xcd\x9d\x46\x5b\x4e\x82\x94\x25\x33\xda\x5b\x23\xa3\xdb\x62\xb4\x18\x8d\x94\xe1\x41\xe2\xaa\x46\x9a\xe5\x48\x2d\xca\xf9\x75\xd8\xa6\xc2\x1f\x1f\x3b\x57\x1f\x1f\x1d\x4d\x85\xff\x7d\x2a\x7c\x1d\xc6\x15\x33\xea\x28\xf5\x4c\x44\x35\x8e\xfa\x62\x65\xfa\x6a\x2a\x7c\x8c\x88\x1d\x2d\x22\xe3\x0b\x72\xfd\x43\xfe\x0e\xc6\x47\x19\x46\x84\x68\x50\xb8\xee\xc9\x4e\x32\xf6\x78\x52\x96\xf4\x76\xd9\xb4\x4c\xd5\x6f\x64\x0f\xef\x11\x54\x8b\xba\x41\x50\xd5\x63\xc6\x08\x81\xa9\x8b\x90\xd4\x8a\x9b\x17\xf0\x11\xf3\x35\xf6\xa3\x0b\xca\x86\x47\xa8\x6b\x6b\x78\x60\xbe\x8b\x5b\x9a\x1e\x21\xcf\xdf\xa0\x2b\x21\x29\xc3\x75\x9b\xa3\x73\x37\xe9\x84\x4a\x75\x6a\xc3\x91\xfa\x79\x83\x03\x1a\x70\x7a\xe7\x96\x3d\x38\x93\xe0\x5c\x3f\x28\x34\x8d\x9c\x53\xa1\x14\x72\x01\x1e\xe5\x7c\x08\x63\xf4\xb9\xe8\xb8\x24\xf1\x1f\x1e\x4a\x22\x26\xcf\x7b\x9e\xeb\xa9\xd0\xf8\x03\xad\x8b\x13\x23\x25\x80\xc9\x14\x97\x41\xb2\xbd\x1c\xbd\xcf\xd1\x2b\x26\xa6\x10\x67\x5b\x5e\x0c\x6d\x42\x35\xb8\xeb\xbc\x58\x77\xa0\x2d\x3e\x17\x99\x72\x02\x4a\x24\x51\x0a\x8b\x5c\xb8\xcf\xc5\x32\x8c\x74\xf8\x7a\xf6\x4f\xdb\xd9\x3f\x55\xf7\xfb\xe1\xff\xb8\x9d\xff\x63\xf5\xbf\xe2\x91\x4c\x6b\x9d\x9e\xe5\xbf\x0c\xd2\x8b\xd3\xbf\x32\xab\x8a\x5f\x28\xfc\xa4\xa8\x61\x2c\x91\x93\x13\xe2\x6d\xc0\xb8\x2e\x83\x1a\xa3\xcd\xa3\x8b\x32\x19\x9c\x47\x1b\x37\xe4\xff\xbb\x55\xe5\x21\xf2\x04\xf2\x43\x3f\xbf\x55\x76\xc6\x0e\x4b\xf0\x59\xd0\x59\x8e\x73\x69\xf8\x72\xf5\x07\x6f\x14\xc4\x69\x3b\x01\x21\xcd\x2d\xda\xcd\x9a\xda\x6c\xba\xc9\xec\x16\xa4\xad\x8e\xaa\xb8\x69\xb7\x49\x46\xd3\x76\x9e\x5a\x13\x1a\x37\x60\x03\x5c\x05\x75\x65\x38\xfe\x99\xf1\x29\x84\xc5\x46\x0a\x06\x8e\x36\x68\x3b\x6c\xc3\xc8\xbe\xb5\xce\xd7\x68\x57\xbc\x1b\xfb\x69\x58\xed\xdd\x2f\xa7\x12\xad\xbf\xa9\x2d\xba\xda\x48\xee\xda\x4d\xf9\x66\x9e\xea\xac\x09\xdf\xbd\x90\xe2\x27\xf8\xd5\x10\x61\x4d\xa0\x61\x6d\xa4\x20\xc1\x2a\xea\x97\x4e\x43\xa6\xca\xf0\x88\x8f\x86\x76\x7f\xe8\xec\xa5\xbe\xb3\xb8\x5b\xfd\x17\x90\x71\x68\xaf\x2b\x64\xc9\x4c\xc7\xd9\xbe\xff\x22\xfb\x61\x0f\x5c\xe6\x25\x2a\x63\xe7\xdf\x1d\x4c\xdb\x10\x2a\x19\x68\x88\x96\x3d\xd7\xd6\x8d\x75\xe0\xb2\xae\xd0\xc7\x3f\xaf\x5f\x40\xf3\x3b\xc1\x7d\x7d\xa1\x4f\xa5\x34\x77\x51\xd1\xf3\x7b\x86\xc8\xb1\xdd\x4e\x3a\x03\xe9\x78\x89\xa4\x22\xae\xdb\x16\x4b\xb1\x05\xef\x59\x89\x21\xe9\xbd\xb3\x42\x5f\x83\x1f\x2c\x91\x09\xfe\xfd\x35\xda\x9a\xe0\x3b\x8b\x74\x63\xe3\xb5\x8d\xbf\x20\x14\x33\x5a\x23\x8b\x43\xca\x51\x9f\x3d\xde\x5f\xae\x27\x53\x7d\x56\xb2\xad\x7f\xdd\x76\xcb\xe9\x8f\x60\xd3\x80\x7e\xe3\x51\xb3\xa2\xd9\xe1\xa4\xc1\x5b\x90\x21\x1b\x1a\xb4\xc2\xbc\x4a\xd3\x27\x03\x1f\x62\xad\xf5\x82\xed\x72\xde\xec\xbf\xd4\xc3\x1f\x3b\xeb\x70\x43\x4e\x9d\x3d\x57\xf8\xdf\x3f\x7c\xf6\x2c\xc8\xaf\x7c\x06\x1d\x58\xaa\x5f\xf4\x28\x3a\xb0\x6a\x6f\x3e\x91\x16\xa3\x91\x09\xbe\x09\x7e\xf5\x3a\x97\xae\xad\xed\xad\x2b\xe5\x9d\xee\x5b\xb4\xb1\x42\x81\x9d\x53\xd4\xbc\x31\x42\x7b\x0a\x9c\x5b\x74\x2e\x3f\xe3\xc5\x2a\x71\xf5\xba\xd3\x3e\xc8\xf5\x9e\xfb\xaa\xd7\xd1\x8f\x08\xe1\xe8\x98\x15\x8d\xcf\x6f\x28\xc5\x4d\x8d\xa4\xfd\x91\x98\x09\xf1\x35\x92\xa5\x13\x99\x18\x9b\x0c\x2d\x5b\x7a\x4c\x22\x42\x27\x5b\x27\x26\x49\x31\xab\x62\xb4\x18\xed\xf8\x42\x30\x4c\x2b\x8b\xc0\xd3\x7d\xfb\x20\x52\x3d\xc1\xfe\x3a\xa5\x32\xd9\x40\xa1\xda\x35\xf3\x6f\x00\x00\x00\xff\xff\xef\x55\x5d\x8d\x76\x17\x00\x00")
var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x4d\x6f\x1b\x37\x10\xbd\xeb\x57\x10\x7b\xdf\x75\xd3\x22\x09\x60\xc0\x40\x1d\xd7\x28\x7c\xb0\x13\x04\x4e\x0e\x3d\x94\xa0\xc8\x91\x96\x10\x3f\xb6\xe4\xd0\xb6\xe2\xea\xbf\x17\x24\x57\xd2\xae\xe5\x8f\x95\x25\x19\x68\x74\xd3\xe8\xcd\x9b\x99\x37\xe4\x50\x24\x82\x73\x6c\x62\x9d\x26\xf7\x23\x42\xc6\x8c\xcf\xc0\x08\x52\xf8\xdf\x8a\x64\x20\x64\x1c\xf8\x0c\x90\xf4\x3f\x27\xa4\x30\xec\x46\x96\x63\x66\x66\xe5\x8a\xa2\xe4\x56\x6b\x66\x44\xe9\x91\x21\x14\xc9\xdd\xc1\x54\x5a\xb3\xe9\xce\x9a\xd2\xdb\x80\x75\xf9\x2e\xe3\x66\x30\x27\x1b\x9f\x13\x52\x80\x62\x1e\x25\x2f\x39\xe3\x75\x4b\x79\x6b\xdd\xcc\x37\x8c\x03\x9d\xc1\x9c\x36\x0e\x26\xf2\x6e\x03\x9a\x73\xf0\x47\xf7\xf7\xa4\xba\x30\x13\xc7\xbe\x83\x43\xc9\x99\x22\x8b\x45\x32\x9e\xdf\xa1\x63\x5f\xc1\xdb\xe0\x38\xf8\xea\xdc\xdc\x48\x67\x8d\x06\x83\x4f\x21\x32\xfd\x59\x64\xaf\x2e\x8c\x47\x66\x38\x5c\x31\x0d\x64\xb1\xc8\x89\x35\xce\x4e\xa4\x82\x8d\x1a\xb8\x16\x19\xc0\xb8\x7a\xb4\xc8\xac\x71\x69\x6f\x0d\xb8\x72\x12\x94\x2a\xb9\x35\xe8\xac\x8a\x6e\x8b\xd1\x62\x34\xd2\x56\x04\x05\xab\x1a\x69\x96\x23\xb5\x28\xe7\xd7\x61\x9b\x4a\x3c\x3e\xf6\xbe\x3e\x3e\x3a\x9a\x4a\xfc\x7d\x2a\xb1\x0e\xe3\x8a\x5b\x7d\x94\x7a\x26\xa3\x1a\x47\x7d\xb1\x32\x7d\x35\x95\x18\x23\x42\x47\x8b\xc8\xf8\x82\x5c\xff\x92\x7f\x82\xc5\x28\xc3\x88\x10\xc3\x34\xac\x7b\xb2\x95\x8c\x3d\x9e\x94\x25\xbd\x59\x36\x2d\x53\xf5\x1b\xd9\xc3\x23\x30\xdd\xa2\xae\x81\xe9\xea\x21\x63\x84\xb0\xa9\x8f\x90\xd4\x8a\xeb\x17\xf0\x11\xf3\x39\xf6\xa3\x0b\xca\x86\x07\xa8\x2f\xce\x8a\xc0\xb1\x8b\x5b\x9a\x1e\x20\xcf\x77\xd0\x95\x90\x94\xe1\xba\xcd\xd1\xb9\x9b\x74\x42\xa5\x3a\x8d\x15\x40\x71\xde\xc0\x80\x06\x9c\xde\xfa\x65\x0f\xce\x14\xf3\xbe\x1f\x94\x35\x8d\x9a\x53\xa9\x35\x08\xc9\x10\xd4\x7c\x08\x63\xf4\xb9\xe8\xb8\x24\xf1\xef\xef\x4b\x22\x27\xcf\x7b\x9e\x9b\xa9\x34\xf0\x1d\x9c\x8f\x13\x23\x25\x00\xc9\x14\x97\x41\xb2\xbd\x1c\xbd\xcf\xd1\x2b\x26\xa6\x10\x67\x5b\x5e\x0c\x6d\x42\x0e\xa6\x70\x77\xc9\x90\xd7\xa4\xf8\xfb\x63\xb1\x75\x82\x13\xa6\x65\x92\xa5\x70\x20\xa4\xff\x58\x2c\x03\x29\x0f\x1b\xfc\x1f\x76\xe6\xff\x50\xdd\x3d\x1b\xe1\xfd\xce\x11\xde\x57\xbf\x14\x0f\xc4\x5a\xab\xf5\x2c\xf7\x65\x50\x28\x4f\xff\xca\xac\x3a\x7e\xa1\xec\x07\x05\xc3\xc6\x0a\x04\x39\x21\xe8\x02\xc4\xd5\x19\xf4\x18\x5c\x1e\x60\x94\xab\xe0\x11\x5c\xdc\x96\xbf\x76\xeb\xca\xa3\xe4\x09\xe4\xbb\x7e\x7e\xab\xec\xac\x1b\x96\xe0\xb3\xa0\xb3\x1c\xe7\xd2\x8a\xe5\x1e\x08\x68\x35\x8b\x33\x77\xc2\xa4\xb2\x37\xe0\x36\x6b\x6a\xb3\xe9\x26\xb3\x5d\x90\xb6\x3a\xaa\xe3\xd6\x7d\x4c\x32\x9a\x36\xf5\xd4\xd9\xd0\xf8\x01\xdb\xe0\x2a\xe8\x2b\x2b\xe0\xcf\x8c\x4f\x21\x1c\x34\x4a\x72\xe6\x69\x03\xae\xc3\x36\x8c\xec\x6b\xeb\xfc\x05\xdc\x8a\x77\x63\x57\x0d\xab\xbd\xfb\xe5\x54\x81\xc3\xeb\xda\x81\xaf\xad\x12\xbe\xdd\x9a\x3b\xf3\x54\x67\x4d\xf8\x86\x52\xc9\x1f\x0c\x57\xeb\x9c\x37\x81\x86\xb5\x91\x32\xc5\x9c\xa6\xb8\x74\x1a\x32\x5b\x86\x47\x7c\x30\xba\xfb\xa3\x67\x2f\xf5\x9d\xc5\xdd\x8a\x9f\x98\x8a\xa3\x7b\x5d\x21\x4f\x66\x3a\xce\xf6\xfd\x17\xd9\x0f\x7b\xe0\x32\x2f\x41\x5b\x37\xff\xe6\xd9\xb4\x0d\xa1\x93\x81\x86\x68\xd9\x73\x6d\xdd\x58\x07\x2e\xeb\x0a\x30\xfe\x85\xfd\xc4\x8c\xb8\x95\x02\xeb\x0b\x73\xaa\x94\xbd\x8d\x8a\x9e\xdf\x71\x00\x01\xed\x76\x32\x19\x48\xc7\x4b\x24\x95\x71\xdd\xb6\x58\x0a\x2d\x78\xcf\x4a\x0c\x49\xef\x8d\x15\xfa\x1c\x70\xb0\x44\x36\xe0\xdb\x6b\xf4\x68\x82\x6f\x2c\xd2\xb5\x8b\x97\x37\xf1\x82\x50\xdc\x1a\x03\x3c\x0e\x29\x4f\x31\x7b\xbc\xbd\x5c\x4f\xa6\xfa\xac\x64\x8f\xfe\x81\xdb\x2e\xa7\x3f\x82\x4b\x03\x7a\xc7\xa3\x66\x45\xb3\xc5\x49\x03\x37\x4c\x85\x6c\x68\xc0\x49\xfb\x2a\x4d\x9f\x0c\x7c\x88\xb5\xd6\x0b\xb6\xcd\x79\xb3\xff\x52\x0f\x7f\xec\xac\xc3\x0d\x39\x75\xf6\x5c\xe1\xff\xff\xf0\xd9\xb3\x20\x3f\xf3\x19\x74\x60\xa9\x7e\xd2\xa3\xe8\xc0\xaa\xed\x7c\x22\x2d\x46\x23\x1b\xb0\x09\xb8\x7a\xa3\x4b\xd7\xd6\xf6\xd6\x95\xf2\x4e\xf7\x2d\xda\x38\xa9\x99\x9b\x53\x30\xa2\xb1\xd2\x20\x65\x42\x38\xf0\x3e\x3f\xe6\xc5\x2a\x61\xf5\xc6\xd3\x3e\xcb\xf5\x1e\xfd\xaa\xd7\xd1\x8f\x08\x11\xe0\xb9\x93\x0d\xe6\x97\x94\xe2\xba\x06\xd2\xfe\x48\xec\x84\x60\x0d\x64\xe9\x44\x26\xd6\x25\x43\xcb\x96\x9e\x94\x88\x34\xc9\xd6\x89\x49\x52\xcc\xaa\x18\x2d\x46\x5b\xbe\x10\x0c\xd3\xca\x01\x13\xe9\xbe\x7d\x10\xa9\x9e\x60\x7f\x9d\x52\x99\x6c\xa0\x50\xed\x9a\xf9\x2f\x00\x00\xff\xff\x91\x9b\xf2\x0c\x7c\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: 6006, mode: os.FileMode(0644), modTime: time.Unix(1718348062, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x92, 0xa, 0xb4, 0xeb, 0xb, 0xfc, 0xcc, 0x8d, 0x62, 0x28, 0x15, 0x4a, 0x83, 0x2e, 0xc1, 0x1e, 0x80, 0x1d, 0x26, 0x9f, 0x8d, 0x31, 0x1c, 0xcb, 0x5e, 0x7c, 0x63, 0xa8, 0x41, 0xb5, 0xf8, 0x1e}}
info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6012, mode: os.FileMode(0644), modTime: time.Unix(1718353946, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5a, 0x52, 0x92, 0xff, 0x2c, 0x48, 0x3f, 0xc3, 0x96, 0x30, 0x38, 0xc1, 0xb0, 0x45, 0xe1, 0x18, 0x6, 0x5f, 0xd9, 0x4d, 0xa1, 0x1, 0x32, 0xb1, 0xd1, 0xa9, 0xd1, 0x22, 0x86, 0x33, 0x8a, 0x4c}}
return a, nil
}

View File

@@ -27,15 +27,15 @@ module "elastic_cache" {
node_type = {{ .ExtraResources.ElasticCache.AwsInstanceClass | quote }}
apply_immediately = {{ .ExtraResources.ElasticCache.ApplyImmediately }}
{{- if .ExtraResources.ElasticCache.EngineVersion }}
{{- if .ExtraResources.ElasticCache.EngineVersion }}
engine_version = {{ .ExtraResources.ElasticCache.EngineVersion | quote }}
{{- end }}
{{- if hasPrefix .ExtraResources.ElasticCache.EngineVersion "7" }}
{{- if regexMatch "^7" .ExtraResources.ElasticCache.EngineVersion }}
family = "redis7"
{{- else if hasPrefix .ExtraResources.ElasticCache.EngineVersion "6" }}
{{- else if regexMatch "^6" .ExtraResources.ElasticCache.EngineVersion }}
family = "redis6.x"
{{- else if hasPrefix .ExtraResources.ElasticCache.EngineVersion "5" }}
{{- else if regexMatch "^5" .ExtraResources.ElasticCache.EngineVersion }}
family = "redis5.0"
{{- end }}