From 0ca80a51a79d74cb03ff9bab49a66f73c64a0041 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Thu, 30 May 2024 12:56:56 +0530 Subject: [PATCH 01/18] INFRA-3131 | Ankit Bhardwaj | add rds alert on total iops --- bindata/bindata.go | 10 +++++----- config/prod/default.yml | 2 +- templates/rds-tf/main.tf | 8 ++++++++ .../sample_infra_manifest/rds-tf/main.tf | 2 ++ testdata/sample_infra_manifest.json | 6 ++++-- types.go | 2 ++ 6 files changed, 22 insertions(+), 8 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index b7010b2..76bae27 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -13,7 +13,7 @@ // templates/elastic-cache-tf/deploy.sh (1.047kB) // templates/elastic-cache-tf/main.tf (5.565kB) // templates/rds-tf/deploy.sh (4.236kB) -// templates/rds-tf/main.tf (11.185kB) +// templates/rds-tf/main.tf (11.55kB) // templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh (2.751kB) // templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh (5.643kB) // templates/rds-tf/scripts/run_additional_scripts.sh (1.443kB) @@ -319,7 +319,7 @@ func templatesElasticCacheTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1715851478, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1716886554, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x3c, 0x66, 0x49, 0x51, 0x47, 0x68, 0x46, 0x6f, 0xa5, 0x84, 0x71, 0x3b, 0xa1, 0xb5, 0xbf, 0x44, 0x60, 0x73, 0xb6, 0xba, 0x93, 0x63, 0xde, 0x76, 0x84, 0x83, 0x8f, 0xbe, 0x99, 0x8d, 0x43}} return a, nil } @@ -344,7 +344,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return a, nil } -var _templatesRdsTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5a\x5b\x6f\xe3\x36\x16\x7e\xd7\xaf\x20\xf4\x34\x03\xd4\x4e\xba\xb3\xc5\x02\x03\x04\xd8\xdc\x5a\x78\xdb\xb4\xd9\xc4\x9d\x02\xbb\x58\x08\x94\x74\x2c\x13\xa1\x48\x85\xa4\xe2\x38\xa9\xff\xfb\x82\xa2\x6e\xd4\xc5\x92\x47\x9a\x87\xe6\x29\x3a\x3c\xe7\x3b\x17\x1e\x92\x1f\x25\xbf\xbf\x2f\x10\xd9\x20\x06\x68\x79\xfb\xaa\x04\x7e\x00\xc9\x53\x11\x80\x5c\xde\x60\x85\x7d\x2c\x61\x79\xe3\xdf\xb2\x88\x30\x58\xef\x13\x40\xae\x08\xe5\x02\xa7\x82\x0b\xbc\x48\xb8\x54\x91\x00\xe9\xa2\xc3\xc1\x51\x20\x04\xde\x70\x11\xa3\x77\x07\x21\x1f\x07\x4f\xc0\x42\xe4\xca\x4f\x6e\x26\x40\xc8\x4f\x83\x27\x50\xc8\xfe\xbb\x40\xee\xfb\x3b\x5a\x3e\x2a\xac\xe0\x51\x71\x01\x57\xc6\x70\x79\x95\x69\xff\x8a\x63\x40\x87\x83\x9b\x01\x08\x88\x08\x67\x6d\x00\x9c\x2c\x24\x4f\xd5\x76\xf1\xbd\xd1\x7b\x82\x3d\x6a\xfd\x5d\x64\x91\x1b\x85\x3c\x67\x78\x46\xcb\x15\xdb\x08\xfc\x05\x84\x22\x01\xa6\xc8\xa5\xc0\x42\xc2\xa2\x2c\x21\xad\xb9\xe3\xe2\x49\x26\x38\x00\xef\x09\xf6\x5e\x22\x60\x43\x5e\x73\xa8\x85\xd4\x31\xcb\x33\x1d\x7e\x5f\xe5\x56\x4c\x2a\xcc\x02\xb0\xd2\xd0\xde\x81\x4a\x38\xcd\x85\x1d\xe8\xe1\xd0\xe5\xf7\x96\xbd\x10\xc1\x59\x0c\x4c\xf5\x68\x8c\x88\x8c\x85\x79\x60\x89\xe0\x1b\x42\x61\xe4\x7c\x5d\xfe\xf1\x78\x9f\x1b\x14\x70\x38\xa0\x9d\xf3\x60\x1a\x61\xc1\x77\x0c\xc4\x62\x93\x52\xba\x08\x38\x53\x82\x53\x6d\x76\x70\x0e\x8e\x13\xf3\x30\xa5\xa6\xd7\x4c\xf7\x98\xf8\x6b\x18\x11\x51\x9f\x3f\x4b\xb9\xfd\x7c\x76\x16\x11\xf5\xcf\x88\xa8\x6d\xea\x2f\x03\x1e\x9f\x31\xfc\x42\x16\x44\x57\xeb\x4c\x84\x72\x19\x11\xa5\x61\xa1\x56\x1a\x0d\x30\x50\xbd\x3f\xd1\x73\xca\x15\x98\x36\x20\x79\xad\x3c\xa6\x8b\xd5\x69\xdb\x5d\x57\x0b\x25\xc1\x52\xee\xb8\x08\x8b\x14\x8e\xa1\xdc\x17\xba\x16\x42\x2a\x41\xd4\x0b\x79\x0c\xe1\x77\xad\x6b\x59\x67\xc1\x37\xac\xdb\x51\xe6\x4b\x63\x79\x4d\x53\xa9\x40\x18\x61\x60\x1e\x4c\xfe\xb9\x69\xa1\xd0\xb2\xd6\xab\x3e\x2f\xdb\x46\x60\xef\xa5\x68\x59\x63\x66\xb7\x71\xcd\xd8\x41\x28\xe6\x8c\x28\x2e\x08\x8b\xbc\x53\x8a\x75\x57\x9a\x75\x97\xad\x06\x5b\x55\x70\x2c\x64\xb3\x8e\x0e\x42\x61\xae\x25\x47\x00\xdd\xf8\xba\xc4\x12\xfd\x89\xe2\x54\xaa\x35\xff\x97\xe4\xcc\x44\x55\xa0\x78\x0a\x47\x12\x5d\xa0\x18\x44\x04\x1f\xcc\x4e\xb9\x06\x1c\xe7\xc0\xfa\xdf\x8e\x69\x42\xe8\x37\xbd\x7a\xea\x4a\x46\xd0\xd0\xba\x17\x3c\x4c\x03\x55\xd7\x2b\x44\x0d\xcd\xdb\x09\x0b\x04\xa1\x5f\xeb\xcd\xd5\xee\x2d\x53\xb8\xb2\xbb\xb8\xe8\xaf\x98\xde\x4f\xd2\xe4\x86\x48\xec\x53\x08\x8f\x54\xf6\xc1\xd2\x2c\x02\xc9\x1f\x8b\x51\x74\x81\x94\x48\x21\x1b\xba\xdc\x49\x23\xbc\x16\x5c\xca\xcb\x20\xe0\x29\xd3\x95\xd9\x60\x2a\xa1\x6e\x5c\x2a\x5a\x83\xc5\xb6\x5d\x78\xea\x83\x2b\xfd\x0d\xa3\x99\x95\x52\xaf\xcc\xf2\x0e\x14\xd6\xad\x51\x78\x69\xca\xb3\x02\x3c\x02\x93\x44\x91\x17\xa2\xf6\x65\xde\x0d\xb1\x99\x83\x5e\xab\xc6\xf4\x35\x73\x6b\xa3\xb9\xf7\xab\x95\xf7\x78\xbf\x72\x9b\xd1\x37\xce\xd3\xca\x23\x91\x58\x6f\x10\x0f\x10\xf0\x17\x10\x7b\xe4\xfe\xa8\x93\x77\x6d\x13\xcc\x42\xf4\x21\x84\x0d\x4e\xa9\x1a\xdd\x13\x59\x15\x3f\x8e\xb0\x6b\xf6\x48\x6e\xf8\xd7\x6d\x95\xe3\x8f\x87\xef\xba\x56\xed\x4f\x94\xfb\x98\xae\xf5\x2e\xd3\xd8\x85\xd0\x47\x07\x21\x35\xb0\xd7\xd4\xce\x84\xbe\x32\x3f\x92\x37\x58\xb1\x9f\x7c\x13\x92\x24\x6f\x43\x87\xa4\x6d\x60\x57\x2b\x37\xff\xe1\xdc\x69\x2e\x92\xc1\x30\x14\x17\x38\x32\x2c\xd5\x40\x19\x81\xa7\xb4\x64\x20\xa2\x9a\x6d\xfb\x44\xab\x82\xb3\x11\xdd\x28\xf9\x9b\xeb\xd4\x79\x93\x63\x2d\x86\x31\xde\xdc\x28\xf9\xe4\x5a\x67\x6f\x74\x84\x8a\x97\x95\xfb\xfb\xf9\x79\x7e\xca\xf2\x44\x0e\x71\x12\xad\x62\x65\x55\xe6\xb1\x15\x3c\x8d\xb6\x49\xaa\x46\xd6\xa7\xd2\xef\x3f\xf7\x3b\x67\x6d\x74\x39\x08\xff\xde\x9d\x90\xd9\x69\x2d\x73\x87\x5f\x2f\x29\xe5\x01\x56\x10\xe6\x51\xe4\x9c\x01\xbf\x7a\xb8\x18\xf1\xf2\x72\x0d\x91\x86\x3e\xb0\xd3\x62\xba\xf1\x6f\x5f\x95\xde\x7b\x39\x93\x39\x55\xf0\x3d\xa8\x44\x43\x84\xa3\x66\xdd\x66\x1d\xa7\x85\xf2\x00\x38\xe4\x8c\xee\x33\x12\x94\xd9\x8b\x5c\x62\x98\xd4\xf1\x50\x2c\xeb\x6f\x18\x4a\xc9\x15\xc7\x85\x53\x23\x89\xd3\x42\xba\x07\xa1\xaf\xbb\x9a\xed\xaf\x98\x24\xd1\x56\xc9\x5b\x66\x4e\x28\x43\xf8\xab\x71\x8f\xe4\x0a\x1e\xe4\x1a\x03\xfc\xbf\x1f\x7a\x6a\xd4\x97\x3b\x59\xdc\x51\xae\x29\x96\x79\x8b\xe1\x9d\xf4\xca\x6b\x4e\x90\xc9\x8f\x47\xd8\x82\x99\xb0\x0a\x1b\xc7\x7b\x86\xe0\x67\x32\x4f\x80\x02\xa6\x08\x67\x5e\x02\x82\x70\x5d\xb7\xf3\xd6\xae\xdc\xaf\xfb\x8f\xbe\x58\x18\x3f\x42\x1b\xee\x52\xaa\xc8\xe5\x7f\xec\x80\x62\x2d\xf4\xf0\x5b\x75\x6c\x9f\xd8\x2d\xf2\x99\x9a\xd7\x28\x5f\x40\xe8\xe5\x99\x37\x89\x7c\xa6\x1e\x64\x72\x7d\x55\xca\x06\x06\x7a\xa3\x05\x34\xa1\xf4\x7a\x51\x3c\x40\x42\x49\x80\xab\x55\xe5\x09\x23\x69\x76\xc4\x88\x05\x96\x63\x75\xb5\x47\xb3\x6d\x2d\x4f\x13\xd6\x4a\xdd\xed\x49\xeb\xc6\x0a\x20\x9b\x5e\xfc\x66\xfb\x3c\xda\x25\x75\xbf\xcd\x8e\xe9\x5e\xa4\x27\x91\x97\xaf\x3f\x37\xad\xbc\xda\x8c\xe5\x93\xdb\x5a\x40\xc7\x2c\xc6\xb3\xa6\x23\xfb\xd2\x18\x86\xd0\xbf\xd5\x24\x09\xdd\xaf\xe2\x18\x42\x82\x15\xd0\xfc\xca\x83\xb5\xd4\x23\x35\xf1\xc0\x86\xd5\x44\x99\xbc\xfd\x63\x81\x63\x50\x20\x64\xf1\x7e\xa7\x7c\xbe\x40\xff\x2d\xb9\xb9\xc0\xec\x18\xa1\xab\xa1\x94\x8c\xde\x31\xd7\xe8\xda\xdb\xa6\xc6\x5d\xda\x8c\xbf\x60\x9a\x16\x0a\x5f\xb2\xff\x9b\x1a\xa6\x46\x31\xa8\x6d\xb6\x1b\xba\x89\x79\xbb\xb9\x10\xe0\x73\xae\xcc\x55\xee\xf0\x5d\xfb\x56\xf1\xbf\xbe\x62\x70\x81\x3e\x1c\xef\x48\xac\x20\x06\xa6\xd6\x24\x06\x9e\x2a\x74\xfe\xf1\x04\xe5\x36\xc3\xf0\x64\xa1\xe3\xa9\x5c\x69\xa8\x23\xbb\x30\x7b\xa0\x46\xbe\x4a\xeb\xc6\x3c\xad\x59\xd6\x40\x21\xe1\x42\x69\xfa\xd2\x8d\xa7\x72\x8d\xaf\xcb\x7b\x18\xbf\x1e\xef\x98\x83\x21\x94\x97\x14\x84\x5a\x6f\x05\xc8\x2d\xa7\xa1\x1c\x7b\xa2\xb4\x0c\x97\xd7\x49\xfa\xbb\x22\x94\xbc\x61\x55\x9e\x7b\x41\x92\x7a\x69\x25\xf4\x30\xc5\x22\xd6\xf7\x11\x63\x34\xb4\xe7\x0f\x3a\x99\x72\x26\x76\x82\x5f\x0b\x08\x89\xba\xc2\x54\x1f\x2e\x65\x0e\x41\x26\xf5\x7c\x23\x9e\x25\x0b\xdb\xd1\xbc\x79\x5c\xa5\x42\xda\x39\xf8\x5a\x32\x5f\xfc\x96\x83\x79\x63\xbf\xb9\xba\xe6\x8c\x41\xa0\xac\x8b\x51\x50\xc9\xa6\x47\x6f\xbb\x98\x37\xfc\x7f\xa7\x90\xc2\x0d\x24\x6a\x6b\x00\x9f\xf5\xb3\x17\x6a\xc1\xf4\xc0\x6b\xe0\xf3\x46\xfd\xa3\x00\xc8\x4f\xf9\xc7\x04\x07\x70\x0f\x22\x30\x5f\x97\x1c\x84\x36\x02\xa0\xa4\x0b\xe6\x13\x56\x92\x8f\x9f\x9c\x41\x9f\xa3\xc9\xf7\xc6\x6e\x57\x77\x10\x73\xb1\x5f\x73\xfe\x0b\xdf\xad\xd8\xdd\x55\x95\x90\x26\x70\x5e\x9c\x0d\x4f\x99\x91\x4e\x27\xdf\x20\x19\xcd\x42\x7f\xc1\x0a\x58\xb0\xaf\x71\x39\x6a\x24\xd3\x1b\xab\x0e\x3f\x6f\x67\xfd\x21\x88\x02\x2b\xf2\x9d\x96\xcc\x17\xba\xe5\x60\xde\xd8\x6f\xaf\x1e\xaf\xf6\x0a\xac\x8d\x14\x7c\xe9\xf9\x7b\x05\xf3\xed\xa5\x0d\x2f\xb3\xa7\xb0\xfa\xad\x95\x00\xe1\xb3\x86\x5f\x79\x18\x08\xfe\xf4\x54\x6e\x52\x81\xcb\x93\xe0\x6b\xec\x4e\x60\x25\xa0\x99\x36\xb6\xdf\x2c\x8c\x29\x46\xaf\xaf\x19\xa6\xd2\xc2\x3e\x81\x9b\xcc\x92\xcb\xec\x14\xa5\x42\x1f\xc7\x50\xa6\x67\x31\x37\x51\xa9\x90\x87\x79\xca\xf4\xe8\x67\x27\x2a\x15\xf4\x30\x4f\x99\x1e\xfe\xbc\x74\xa5\xc2\x3d\x95\xad\xcc\x95\x4f\x3f\x79\x99\x39\xb9\x91\xb4\x85\x73\x8f\xf2\xdd\xac\xe9\x75\x70\x99\x19\x73\x1b\xc3\x62\xa6\xe7\x31\x33\x99\xa9\x80\xc7\x71\x99\xe9\x09\xcc\x4d\x69\x2a\xe4\x13\x18\xcd\xf4\x34\xe6\x27\x36\x16\xf6\x18\x5e\x33\x4b\x12\xdf\x80\xde\xe4\xbb\xc8\x2d\x0b\xc4\x3e\x51\xc5\xb7\x87\x62\xd7\x82\x52\x3c\xea\xbd\x6c\x03\x25\xf7\xdd\x6f\xf6\x73\x2c\x7f\x86\xfd\x2a\x57\x7f\x8a\x65\xf6\x8b\x44\x32\xe4\xad\x34\x1b\xf8\x24\xdc\xfa\x8a\x5e\x4f\xa7\xf8\xb9\x43\xcb\xec\x68\xb5\x18\x4e\xe4\x96\xab\x55\x08\x4c\x91\x0d\x29\x3e\x0d\xca\x5c\xee\x91\x6a\x60\xa0\x62\x6d\xa4\xae\x6c\xf4\x24\x1e\x1c\x87\xa7\x2a\x49\x15\x72\xd5\x96\x48\x2f\xf4\xab\xef\x24\x9b\xe7\x90\x99\x1f\x2c\x86\x20\x03\x41\x12\x65\xbe\xe7\xb8\x82\xa7\x0a\x7e\xf8\x84\x32\x05\xa7\x78\x77\x5b\xbc\x7d\x34\x3f\x77\x5c\x8a\x50\x2e\x3b\x21\x9d\x83\x53\x05\xf0\xff\x00\x00\x00\xff\xff\x71\x1b\xad\x39\xb1\x2b\x00\x00") +var _templatesRdsTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5a\xdf\x6f\xe3\x36\x12\x7e\xd7\x5f\x41\xe8\x69\x17\xa8\x9d\xf4\x72\xc5\x01\x0b\x04\xb8\xfc\x6a\xe1\x6b\xd3\xcd\xc5\xee\x16\xb8\xc3\x41\xa0\xa4\xb1\x4d\x84\x22\x15\x92\x8a\xe3\x64\xfd\xbf\x1f\x28\x52\xbf\x25\x4b\x5e\x69\x1f\x9a\xa7\x68\x34\xf3\xf1\x9b\xd1\x90\xfc\x28\xf9\xfd\x7d\x86\xc8\x1a\x31\x40\xf3\xbb\x57\x25\xf0\x23\x48\x9e\x88\x00\xe4\xfc\x16\x2b\xec\x63\x09\xf3\x5b\xff\x8e\x6d\x08\x83\xd5\x3e\x06\xe4\x8a\x50\xce\x70\x22\xb8\xc0\xb3\x98\x4b\xb5\x11\x20\x5d\x74\x38\x38\x0a\x84\xc0\x6b\x2e\x22\xf4\xee\x20\xe4\xe3\xe0\x09\x58\x88\x5c\x79\xe1\xa6\x06\x84\xfc\x24\x78\x02\x85\xaa\x7f\x97\xc8\x7d\x7f\x47\xf3\xa5\xc2\x0a\x96\x8a\x0b\xb8\x36\x81\xf3\xeb\xd4\xfb\x77\x1c\x01\x3a\x1c\xdc\x14\x40\xc0\x86\x70\xd6\x04\xc0\xf1\x4c\xf2\x44\x6d\x67\x3f\x1a\xbf\x27\xd8\xa3\xc6\xdf\x65\xca\xdc\x38\xd8\x9c\xe1\x19\xcd\x17\x6c\x2d\xf0\x17\x10\x8a\x04\x98\x22\x97\x02\x0b\x09\xdb\xa4\x09\x69\xcf\x1d\x17\x4f\x32\xc6\x01\x78\x4f\xb0\xf7\x62\x01\x6b\xf2\x6a\xa1\x66\x52\x73\x96\x67\x9a\x7e\x57\xe5\x16\x4c\x2a\xcc\x02\xa8\xa4\xa1\x47\x07\x2a\xe1\xb4\x21\xaa\x44\x0f\x87\xb6\x71\xef\xd8\x0b\x11\x9c\x45\xc0\x54\x87\xc7\x00\x66\x2c\xb4\xc4\x62\xc1\xd7\x84\xc2\xc0\xe7\x75\xf5\xe7\xf2\xc1\x06\x64\x70\x38\xa0\xad\xcf\xc1\x34\xc2\x8c\xef\x18\x88\xd9\x3a\xa1\x74\x16\x70\xa6\x04\xa7\x3a\xec\xe0\x1c\x1c\x27\xe2\x61\x42\x4d\xaf\x99\xee\x31\xfc\x4b\x18\x1b\xa2\x3e\x7d\x92\x72\xfb\xe9\xec\x6c\x43\xd4\x3f\x37\x44\x6d\x13\x7f\x1e\xf0\xe8\x8c\xe1\x17\x32\x23\xba\x5a\x67\x22\x94\xf3\x0d\x51\x1a\x16\x4a\xa5\xd1\x00\x3d\xd5\xfb\x8a\x9e\x13\xae\xc0\xb4\x01\xb1\xb5\xf2\x98\x2e\x56\x6b\x6c\x7b\x5d\x2b\x28\x31\x96\x72\xc7\x45\x98\xa5\x70\x0c\xe5\x21\xf3\xad\x20\x24\x12\x44\xb9\x90\xc7\x10\xfe\xd0\xbe\x95\xe8\x94\x7c\x2d\xba\xc9\xd2\x4e\x8d\xf9\x0d\x4d\xa4\x02\x61\x8c\x81\xb9\x30\xf9\xdb\xd0\xcc\xa1\x11\xad\x67\xbd\x2d\xdb\x5a\x60\xef\x25\x6b\x59\x13\x56\x6d\xe3\x52\xb0\x83\x50\xc4\x19\x51\x5c\x10\xb6\xf1\x4e\x29\xd6\x7d\x1e\xd6\x5e\xb6\x12\x6c\x51\xc1\xa1\x90\xf5\x3a\x3a\x08\x85\xd6\x4b\x0e\x00\xba\xf5\x75\x89\x25\xfa\x8a\xa2\x44\xaa\x15\xff\x97\xe4\xcc\xb0\xca\x50\x3c\x85\x37\x12\x5d\xa2\x08\xc4\x06\x3e\x98\x95\x72\x05\x38\xb2\xc0\xfa\xdf\x96\xc7\x84\xd0\x67\x3d\x7b\xca\x4e\xc6\x50\xf3\x7a\x10\x3c\x4c\x02\x55\xf6\xcb\x4c\x35\xcf\xbb\x11\x13\x04\xa1\xdf\xcb\xcd\xd5\xec\x2d\x53\xb8\xbc\xbb\xb8\xe8\xae\x98\x5e\x4f\x92\xf8\x96\x48\xec\x53\x08\x8f\x54\xf6\xb1\xe2\x99\x11\xb1\x97\xd9\x5d\x74\x89\x94\x48\x20\xbd\x75\xb5\x93\xc6\x78\x23\xb8\x94\x57\x41\xc0\x13\xa6\x2b\xb3\xc6\x54\x42\x39\x38\x77\xac\xdc\xcc\x96\xed\x6c\xa4\x2e\xb8\x7c\xbc\x7e\x34\x33\x53\xca\x95\x99\xdf\x83\xc2\xba\x35\xb2\x51\xea\xf6\xb4\x00\x4b\x60\x92\x28\xf2\x42\xd4\x3e\xcf\xbb\x66\x36\xcf\xa0\x33\xaa\xf6\xf8\xea\xb9\x35\xd1\xdc\x87\xc5\xc2\x5b\x3e\x2c\xdc\x3a\xfb\xda\x7e\x5a\x8c\x48\x24\xd6\x0b\xc4\x23\x04\xfc\x05\xc4\x1e\xb9\x3f\xeb\xe4\xdd\x6a\x08\x66\x21\xfa\x10\xc2\x1a\x27\x54\x0d\xee\x89\xb4\x8a\x1f\x07\xc4\xd5\x7b\xc4\x06\xfe\x75\x5b\xe5\xf8\xe5\xe1\x87\xb6\x59\xfb\x0b\xe5\x3e\xa6\x2b\xbd\xca\xd4\x56\x21\xf4\xd1\x41\x48\xf5\xac\x35\xa5\x3d\xa1\xab\xcc\x4b\xf2\x06\x0b\xf6\x8b\x6f\x28\x49\xf2\xd6\xb7\x49\x56\x03\xaa\xd5\xb2\xe1\x3f\x9d\x3b\xf5\x49\xd2\x4b\x43\x71\x81\x37\x46\xa5\x1a\x28\x63\xf0\x94\xb6\xf4\x30\x2a\xc5\x36\x77\xb4\x82\x5c\x15\xd1\xdd\xc4\x7f\x73\x9d\xb2\x6e\x72\x2a\x93\x61\xc8\x68\xee\x26\xbe\x70\x2b\x7b\xef\xe6\x88\x14\xcf\x2b\xf7\xf7\xf3\x73\xbb\xcb\xf2\x58\xf6\x69\x12\xed\x52\xc9\x2a\xcf\x63\x2b\x78\xb2\xd9\xc6\x89\x1a\x58\x9f\xc2\xbf\x7b\xdf\x6f\x7d\x6a\x83\xcb\x41\xf8\x8f\xee\x88\xcc\x4e\x6b\x99\x7b\xfc\x7a\x45\x29\x0f\xb0\x82\xd0\xb2\xb0\x9a\x01\xbf\x7a\x38\xbb\xe3\xd9\x72\xf5\x89\x86\x2e\xb0\xd3\x38\xdd\xfa\x77\xaf\x4a\xaf\xbd\x9c\x49\x2b\x15\x7c\x0f\x0a\x53\x9f\xe0\x28\x45\x37\x55\xc7\x69\x54\x1e\x01\x87\x9c\xd1\x7d\x2a\x82\xd2\x78\x61\x2d\x46\x49\x1d\xa7\x52\x89\xfe\x8e\x54\x72\xad\x38\x8c\x4e\x49\x24\x8e\xa3\xf4\x00\x42\x1f\x77\xb5\xda\x5f\x30\x49\x36\x5b\x25\xef\x98\xd9\xa1\x8c\xe0\x2f\xee\x7b\xc4\x3a\x78\x60\x3d\x7a\xf4\x7f\x37\xf4\x58\xd6\x57\x3b\x99\x9d\x51\x6e\x28\x96\xb6\xc5\xf0\x4e\x7a\xf9\x31\x27\x48\xed\xc7\x19\x36\x60\x46\xcc\xc2\xda\xf6\x9e\x22\xf8\xa9\xcd\x13\xa0\x80\x29\xc2\x99\x17\x83\x20\x5c\xd7\xed\xbc\xb1\x2a\x77\xfb\xfe\xa3\x8b\x0b\xe3\x47\x64\xc3\x7d\x42\x15\xb9\xfa\x4f\x95\x50\xa4\x8d\x1e\x7e\x2b\xb6\xed\x13\xbb\x45\x3e\x53\xf3\x1a\xe5\x0b\x08\x3d\x3d\x6d\x93\xc8\x67\xea\x41\x6a\xd7\x47\xa5\xf4\x46\x4f\x6f\x34\x80\x46\x94\x5e\x4f\x8a\x47\x88\x29\x09\x70\x31\xab\x3c\x61\x2c\xf5\x8e\x18\x30\xc1\x2c\x56\x5b\x7b\xd4\xdb\xb6\x32\xd2\x88\xb9\x52\x1e\xf6\xa4\x79\x53\x21\x90\x3e\x5e\xfc\x56\x1d\xf3\x68\x97\x94\xc7\xad\x77\x4c\xfb\x24\x3d\x49\xbc\x7c\xfb\xbe\x59\xc9\xab\xa9\x58\x2e\xdc\xc6\x04\x3a\x16\x31\x5c\x35\x1d\x59\x97\x86\x28\x84\xee\xa5\x26\x8e\xe9\x7e\x11\x45\x10\x12\xac\x80\xda\x23\x0f\xd6\x56\x8f\x94\xcc\x3d\x0b\x56\x1d\x65\xf4\xf2\x8f\x05\x8e\x40\x81\x90\xd9\xfb\x9d\xfc\xfa\x12\xfd\x37\xd7\xe6\x02\xb3\x63\x82\xae\x84\x92\x2b\x7a\xc7\x1c\xa3\x4b\x6f\x9b\x6a\x67\x69\x73\xff\x05\xd3\x24\x73\xf8\x92\xfe\x5f\xf7\x30\x35\x8a\x40\x6d\xd3\xd5\xd0\x8d\xcd\xdb\xcd\x99\x00\x9f\x73\x65\x8e\x72\x87\x1f\x9a\xa7\x8a\xff\x75\x15\x83\x0b\xf4\xe1\x78\x47\x62\x05\x11\x30\xb5\x22\x11\xf0\x44\xa1\xf3\x8f\x27\x38\x37\x15\x86\x27\x33\x1f\x4f\x59\xa7\xbe\x8e\x6c\xc3\xec\x80\x1a\xf8\x2a\xad\x1d\xf3\xb4\x66\x59\x01\x85\x98\x0b\xa5\xe5\x4b\x3b\x9e\xb2\x1e\xdf\x96\x77\x3f\x7e\x99\xef\x90\x8d\x21\x94\x57\x14\x84\x5a\x6d\x05\xc8\x2d\xa7\xa1\x1c\xba\xa3\x34\x02\xe7\x37\x71\xf2\x87\x22\x94\xbc\x61\x95\xef\x7b\x41\x9c\x78\x49\x61\xf4\x30\xc5\x22\xd2\xe7\x11\x13\xd4\xb7\xe6\xf7\x0e\x32\x66\x4f\x6c\x05\xbf\x11\x10\x12\x75\x8d\xa9\xde\x5c\xf2\x1c\x82\xd4\xea\xf9\xc6\x3c\x49\x16\xd5\x81\xa6\xcd\xe3\x3a\x11\xb2\x9a\x83\xaf\x2d\xd3\xf1\xaf\x0c\x30\x2d\xf7\xdb\xeb\x1b\xce\x18\x04\xaa\x72\x30\x0a\x0a\xdb\x78\xf6\xd5\x21\xa6\xa5\xff\xef\x04\x12\xb8\x85\x58\x6d\x0d\xe0\xb3\xbe\xf6\x42\x6d\x18\x4f\xbc\x04\x3e\x2d\xeb\x9f\x05\x80\xdd\xe5\x97\x31\x0e\xe0\x01\x44\x60\xbe\x2e\x39\x08\xad\x05\x40\x2e\x17\xcc\x27\xac\xd8\xde\x3f\x39\x83\xae\x81\x46\x9f\x1b\xdb\x87\xba\x87\x88\x8b\xfd\x8a\xf3\xdf\xf8\x6e\xc1\xee\xaf\x8b\x84\xb4\x80\xf3\xa2\xf4\xf6\x98\x27\xd2\x3a\xc8\x77\x48\x46\xab\xd0\xdf\xb0\x02\x16\xec\x4b\x5a\x8e\x1a\xcb\xf8\xc6\x2a\xc3\x4f\xdb\x59\x7f\x0a\xa2\xa0\xc2\x7c\xa7\x2d\xd3\x51\xaf\x0c\x30\x2d\xf7\xbb\xeb\xe5\xf5\x5e\x41\x65\x21\x05\x5f\x7a\xfe\x5e\xc1\x74\x6b\x69\x6d\x94\xc9\x53\x58\x7c\x6e\x24\x40\xf8\xa4\xf4\x8b\x11\xa6\x25\xbf\xe2\x0a\xd3\xc5\xe7\x87\xa5\x95\x4e\xfa\xd2\x23\x3c\x6e\x6e\x01\xa7\xd3\x2e\xb0\x7b\x38\x9f\x9e\xc1\x6d\x22\x70\xbe\x7b\x7d\x4b\xdc\x09\x4a\x0a\xf4\xe9\x00\x57\xdf\x86\x0c\xa9\x44\xe7\x58\x13\x3c\xc1\x0a\xf6\x09\x7a\x6a\x92\x5c\x26\x97\x55\x05\xfa\x30\x55\x35\x3e\x8b\xa9\xc5\x55\x81\xdc\xaf\xad\xc6\xb3\x9f\x5c\x5c\x15\xd0\xfd\xda\x6a\x3c\xfd\x69\x25\x56\x81\x7b\xaa\xc2\x9a\x2a\x9f\x6e\xc1\x35\x71\x72\x03\xa5\x16\xe7\x1e\xe5\xbb\x49\xd3\x6b\xd1\x5f\x13\xe6\x36\x44\x79\x8d\xcf\x63\x62\x01\x56\x00\x0f\xd3\x5f\xe3\x13\x98\x5a\x86\x15\xc8\x27\xa8\xb0\xf1\x69\x4c\x2f\xc6\x2a\xd8\x43\xb4\xd8\x24\x49\x4c\x2a\xc9\x0a\xe4\x3e\x45\x36\x9e\xfb\x77\xd0\x65\x76\xf9\xbb\x63\x81\xd8\xc7\x2a\xfb\xd0\x93\x2d\xb7\x90\x9b\x07\xbd\x04\xaf\xa1\xd8\xb1\xbb\xc3\x7e\x8d\xe4\xaf\xb0\x5f\x58\xf7\xa7\x48\xa6\x3f\xff\x24\x7d\xa3\xe5\x61\x3d\xdf\xdf\x1b\x3f\x59\x28\xa7\x93\xfd\xb6\xa4\x11\x76\xb4\x5a\x0c\xc7\x72\xcb\xd5\x22\x04\xa6\xc8\x9a\x64\xdf\x61\xa5\xb5\x7b\xa4\xb8\xd1\x53\xb1\x26\x52\x5b\x36\xfa\x21\x1e\x1c\x87\x27\x2a\x4e\x14\x72\xd5\x96\x48\x2f\xf4\x8b\x8f\x52\xeb\xe7\x90\x99\x5f\x87\x86\x20\x03\x41\x62\x65\x3e\x9e\xb9\x82\x27\x0a\x7e\xba\x40\xa9\x83\x93\xbd\x28\xcf\x5e\xf5\x9a\xdf\x96\xce\x45\x28\xe7\xad\x90\xce\xc1\x29\x08\xfc\x3f\x00\x00\xff\xff\xd8\xc7\x72\x1d\x1e\x2d\x00\x00") func templatesRdsTfMainTfBytes() ([]byte, error) { return bindataRead( @@ -359,8 +359,8 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11185, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x19, 0x3d, 0x3f, 0x54, 0xf5, 0xe4, 0x5, 0xfc, 0x50, 0xb5, 0xe2, 0xc9, 0x63, 0x87, 0xc6, 0x94, 0x16, 0x31, 0x73, 0x2c, 0x11, 0x35, 0x85, 0x50, 0x68, 0x2c, 0x1c, 0x24, 0x2a, 0x88, 0xcc, 0x6e}} + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1716908453, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } diff --git a/config/prod/default.yml b/config/prod/default.yml index 1eff4a3..c75a5c7 100644 --- a/config/prod/default.yml +++ b/config/prod/default.yml @@ -1,2 +1,2 @@ app_name: infra-provisioner-v2 -version: v2.47.2 +version: v2.48.0 diff --git a/templates/rds-tf/main.tf b/templates/rds-tf/main.tf index c1e827c..5424aa0 100644 --- a/templates/rds-tf/main.tf +++ b/templates/rds-tf/main.tf @@ -212,6 +212,10 @@ module "rds" { ebs_io_balance_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.EBSIOBalance | quote }} {{- end }} + {{- if .ExtraResources.Database.RdsAlertThresholds.TotalIOPS }} + total_iops_alarm_threshold = {{ .ExtraResources.Database.RdsAlertThresholds.TotalIOPS | quote }} + {{- end }} + {{- end }} {{- if .ExtraResources.Database.RdsAlertDurations }} @@ -260,6 +264,10 @@ module "rds" { ebs_io_balance_alarm_evaluation_period = {{ .ExtraResources.Database.RdsAlertDurations.EBSIOBalance | quote }} {{- end }} + {{- if .ExtraResources.Database.RdsAlertDurations.TotalIOPS }} + total_iops_alarm_evaluation_period = {{ .ExtraResources.Database.RdsAlertDurations.TotalIOPS | quote }} + {{- end }} + {{- end }} {{- if .ExtraResources.Database.StorageEncrypted }} diff --git a/testdata/expected_output/sample_infra_manifest/rds-tf/main.tf b/testdata/expected_output/sample_infra_manifest/rds-tf/main.tf index 6cc3aaf..b428fbf 100755 --- a/testdata/expected_output/sample_infra_manifest/rds-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest/rds-tf/main.tf @@ -66,6 +66,7 @@ module "rds" { write_latency_alarm_threshold = "0.5" ebs_byte_balance_alarm_threshold = "70" ebs_io_balance_alarm_threshold = "70" + total_iops_alarm_threshold = "80" cpu_utilization_alarm_evaluation_period = "15" cpucredit_balance_alarm_evaluation_period = "5" burst_balance_alarm_evaluation_period = "5" @@ -77,6 +78,7 @@ module "rds" { write_latency_alarm_evaluation_period = "5" ebs_byte_balance_alarm_evaluation_period = "5" ebs_io_balance_alarm_evaluation_period = "5" + total_iops_alarm_evaluation_period = "10" storage_encrypted = false } diff --git a/testdata/sample_infra_manifest.json b/testdata/sample_infra_manifest.json index e0906b9..7fe2def 100644 --- a/testdata/sample_infra_manifest.json +++ b/testdata/sample_infra_manifest.json @@ -49,7 +49,8 @@ "readLatency": 0.5, "writeLatency": 0.5, "ebsByteBalance": 70, - "ebsIOBalance": 70 + "ebsIOBalance": 70, + "totalIOPS": 80 }, "rdsAlertDurations": { "cpuUtilization": 15, @@ -62,7 +63,8 @@ "readLatency": 5, "writeLatency": 5, "ebsByteBalance": 5, - "ebsIOBalance": 5 + "ebsIOBalance": 5, + "totalIOPS": 10 } }, "docdb": { diff --git a/types.go b/types.go index ac5200b..b7492ff 100644 --- a/types.go +++ b/types.go @@ -281,6 +281,7 @@ type RdsAlertThresholds struct { WriteLatency float64 `json:"writeLatency"` EBSByteBalance int `json:"ebsByteBalance"` EBSIOBalance int `json:"ebsIOBalance"` + TotalIOPS int `json:"totalIOPS" ` } type RdsAlertDurations struct { @@ -295,6 +296,7 @@ type RdsAlertDurations struct { WriteLatency int `json:"writeLatency"` EBSByteBalance int `json:"ebsByteBalance"` EBSIOBalance int `json:"ebsIOBalance"` + TotalIOPS int `json:"totalIOPS"` } type AuroraAlertThresholds struct { From a19c452dd87fd51d9ac5a502b8b0d7c58753781d Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Thu, 30 May 2024 12:59:21 +0530 Subject: [PATCH 02/18] INFRA-3131 | Ankit Bhardwaj | correct indentations --- types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index b7492ff..8bbde5d 100644 --- a/types.go +++ b/types.go @@ -281,7 +281,7 @@ type RdsAlertThresholds struct { WriteLatency float64 `json:"writeLatency"` EBSByteBalance int `json:"ebsByteBalance"` EBSIOBalance int `json:"ebsIOBalance"` - TotalIOPS int `json:"totalIOPS" ` + TotalIOPS int `json:"totalIOPS" ` } type RdsAlertDurations struct { @@ -296,7 +296,7 @@ type RdsAlertDurations struct { WriteLatency int `json:"writeLatency"` EBSByteBalance int `json:"ebsByteBalance"` EBSIOBalance int `json:"ebsIOBalance"` - TotalIOPS int `json:"totalIOPS"` + TotalIOPS int `json:"totalIOPS"` } type AuroraAlertThresholds struct { From 96df5cf48356ddf54ee3a39a23cd86f8d8c66599 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Fri, 7 Jun 2024 15:36:48 +0530 Subject: [PATCH 03/18] INFRA-3367 | Ankit Bhardwaj | add error message for resource not present in manifest --- bindata/bindata.go | 34 +++++++++++++++++----------------- resource.go | 3 ++- types.go | 10 ++++++++++ 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 76bae27..372d6c6 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -99,7 +99,7 @@ func templatesAuroraDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0xd6, 0xbd, 0xd6, 0x82, 0xa3, 0x1c, 0xc9, 0xe8, 0x32, 0xeb, 0x25, 0x3d, 0x8b, 0x44, 0x41, 0x2c, 0xe, 0x9, 0x9b, 0xa, 0xa1, 0x3e, 0xaa, 0x8, 0xfc, 0x72, 0xef, 0x72, 0x46, 0x2a, 0xfd}} return a, nil } @@ -119,7 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil } @@ -139,7 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil } @@ -159,7 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil } @@ -179,7 +179,7 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil } @@ -199,7 +199,7 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1537, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1537, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x27, 0x1e, 0xa0, 0x8, 0x2d, 0x33, 0xea, 0x2d, 0x44, 0x48, 0x4f, 0x94, 0xe3, 0x64, 0x23, 0x93, 0xbb, 0x27, 0x4d, 0xdf, 0xa0, 0xff, 0xc1, 0x86, 0x9, 0x24, 0xaa, 0x3e, 0xdf, 0x24, 0xe1, 0x30}} return a, nil } @@ -219,7 +219,7 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil } @@ -239,7 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil } @@ -259,7 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil } @@ -279,7 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil } @@ -299,7 +299,7 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } @@ -319,7 +319,7 @@ func templatesElasticCacheTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1716886554, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x3c, 0x66, 0x49, 0x51, 0x47, 0x68, 0x46, 0x6f, 0xa5, 0x84, 0x71, 0x3b, 0xa1, 0xb5, 0xbf, 0x44, 0x60, 0x73, 0xb6, 0xba, 0x93, 0x63, 0xde, 0x76, 0x84, 0x83, 0x8f, 0xbe, 0x99, 0x8d, 0x43}} return a, nil } @@ -339,7 +339,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil } @@ -359,7 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1716908453, 0)} + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1717746834, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } @@ -379,7 +379,7 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil } @@ -399,7 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -419,7 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil } diff --git a/resource.go b/resource.go index af9aba8..2453634 100644 --- a/resource.go +++ b/resource.go @@ -240,7 +240,8 @@ func templateResourceTf(templateName, resourceDir string, manifest *Manifest, de err = t.Execute(tfOut, manifest) if err != nil { - log.Fatalf("\nErr: %v", err) + log.Fatalf("\nError while Templating %s. \nPlease ensure %s is present in the manifest, if present please check if the configurations are correct.\n"+ + "Err: %v", resourceDir, templateDirMap[resourceDir], err) return err } tfOut.Close() diff --git a/types.go b/types.go index 8bbde5d..0e1275c 100644 --- a/types.go +++ b/types.go @@ -379,6 +379,16 @@ var InfraVerticals = map[string]string{ "lending": "", } +var templateDirMap = map[string]string{ + DIR_RDS_TF: "DATABASE", + DIR_ELASTIC_CACHE_TF: "ELASTIC CACHE", + DIR_DOCDB_TF: "DOCUMENT DB", + DIR_AWS_ROLES_TF: "AWS ACCESS", + DIR_S3_BUCKETS_TF: "S3 Buckets", + DIR_DYNAMODB_TF: "DYNAMODB", + DIR_AURORADB_TF: "DATABASE", +} + type ExtraResourceData struct { ResourceName string `json:"resourceName"` IsDeployed bool `json:"isDeployed"` From 0dfec159d6a7e14471871c073b6e497364bdda07 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Fri, 7 Jun 2024 15:39:37 +0530 Subject: [PATCH 04/18] INFRA-3367 | Ankit Bhardwaj | update version --- config/prod/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/prod/default.yml b/config/prod/default.yml index c75a5c7..5f2fb3a 100644 --- a/config/prod/default.yml +++ b/config/prod/default.yml @@ -1,2 +1,2 @@ app_name: infra-provisioner-v2 -version: v2.48.0 +version: v2.48.1 From cf1b0504a6a8e4b206820032c561e093d5c89769 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Mon, 10 Jun 2024 12:29:52 +0530 Subject: [PATCH 05/18] INFRA-3367 | Ankit Bhardwaj | updated case in map --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 0e1275c..5273843 100644 --- a/types.go +++ b/types.go @@ -384,7 +384,7 @@ var templateDirMap = map[string]string{ DIR_ELASTIC_CACHE_TF: "ELASTIC CACHE", DIR_DOCDB_TF: "DOCUMENT DB", DIR_AWS_ROLES_TF: "AWS ACCESS", - DIR_S3_BUCKETS_TF: "S3 Buckets", + DIR_S3_BUCKETS_TF: "S3 BUCKETS", DIR_DYNAMODB_TF: "DYNAMODB", DIR_AURORADB_TF: "DATABASE", } From cecadf4c41edee9385541134410830f56ce17662 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Tue, 11 Jun 2024 15:41:38 +0530 Subject: [PATCH 06/18] INFRA-3367 | Ankit Bhardwaj | change field DisasterRecovery field to DisableDRBackup for s3 --- bindata/bindata.go | 8 ++++---- templates/aws-s3-bucket-tf/main.tf | 6 +++--- .../sample_infra_manifest/aws-s3-bucket-tf/main.tf | 2 +- .../sample_infra_manifest_2/aws-s3-bucket-tf/main.tf | 2 +- .../sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 372d6c6..b9114a2 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -5,7 +5,7 @@ // templates/aws-roles-tf/deploy.sh (1.99kB) // templates/aws-roles-tf/main.tf (1.444kB) // templates/aws-s3-bucket-tf/deploy.sh (1.075kB) -// templates/aws-s3-bucket-tf/main.tf (1.537kB) +// templates/aws-s3-bucket-tf/main.tf (1.596kB) // templates/document-db-tf/deploy.sh (1.045kB) // templates/document-db-tf/main.tf (4.899kB) // templates/dynamo-db-tf/deploy.sh (646B) @@ -184,7 +184,7 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return a, nil } -var _templatesAwsS3BucketTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x8f\xda\x30\x10\xbd\xf3\x2b\x46\xb9\x27\xa8\xe2\x86\xb4\x52\x8b\xca\x81\x4a\x6d\xd1\x06\xb5\xc7\x68\x48\x26\xc1\x22\xb1\x59\x7b\x0c\x8b\xd8\xfc\xf7\xca\x71\xd2\xe6\x83\x6d\xb7\x6a\x73\x22\x93\xf7\x9e\xdf\x9b\x19\xc3\xa4\x35\xe6\x4a\x57\x70\x9b\x01\xec\x31\x3d\x92\xcc\x20\x30\x8b\xa0\x29\x00\xec\x6d\x7a\x24\x86\xe1\xf3\x00\xc1\xed\x06\x51\xcc\xc8\x14\xb3\xd2\xb4\xf2\xc4\x68\xd5\xa0\xbf\x60\x45\x50\xd7\x41\x23\xa0\xa9\x10\x4a\x4e\x05\xf0\x14\x1a\x65\xf9\x10\xbe\xf3\xb8\x23\x5d\x61\xf2\x3c\x38\x2b\xa1\xf7\x60\x3c\xee\x76\x0b\x41\xe4\x40\x4f\x10\x6d\x64\xae\xf1\x1b\x69\x16\x29\x96\x10\x94\x24\x33\x21\x8b\x00\xea\xba\x41\x5e\x94\x3e\x9a\x13\xa6\x94\x1c\xe9\x9a\x9c\x34\xe5\xe2\x79\xa8\x38\x77\x29\xd6\xcf\xac\xf1\x91\x8c\xb2\x3a\x25\x13\xad\xe5\x59\x68\x25\x2b\x92\x0c\x75\xdd\x20\xda\x3c\x61\xf7\x3b\xb6\xb9\x93\xea\x12\x3a\x47\x54\x1a\xfa\xbb\x63\x87\xe6\xdb\x93\xfe\x8f\x17\x99\xb5\x56\x4e\x5a\xe5\xa2\xa4\x37\x0e\xef\xc3\xf7\x78\xdb\x12\x3a\x39\x4c\xcb\xbb\x43\xf1\x41\x42\x75\x91\xa4\xc3\xdc\x96\x65\x98\x2a\xc9\x5a\x95\x8e\x56\xcf\xea\xd9\xac\x52\x99\x2d\x69\x30\xbe\x66\xa3\x7c\xb4\x9e\x54\x21\x78\xb9\x34\xe6\xb0\x9c\xcf\x0b\xc1\xef\x0b\xc1\x07\xbb\x8f\x52\x55\xcd\x25\x9e\x45\x28\x5c\x9b\xe6\x78\x31\xe1\x4f\xa5\xa8\x10\xec\xce\x31\x8b\xa4\x95\x76\x42\x77\xda\x17\x2f\x56\xed\xf7\x17\xa8\xac\xe1\x9d\xfa\x64\x94\xf4\xeb\x41\xbd\xd6\xbe\x42\xef\x77\xff\x05\x9e\xac\x62\xf2\xdc\xc6\x53\x72\xee\x66\xe7\xc9\xc3\x79\x0e\xf0\xde\x65\xc2\x58\x18\x07\x6e\x3a\xbb\x23\xac\xfa\x2d\x75\x12\xae\xe6\x07\x3c\xa0\x03\x7c\x75\x7d\xee\x83\x7c\x61\x84\x6a\x6f\x46\xf4\x99\x18\x33\x64\x8c\xb6\x5a\x65\x36\xe5\xee\x7b\xf7\xea\x75\x26\xa8\x3b\x6a\x6e\xab\xef\xb3\x1b\x17\xbf\x63\xca\xac\x7b\x6d\x02\xb5\x4b\x37\xf8\x67\x58\xff\xc3\x08\xa6\x69\xfb\xf5\x8b\xe0\x43\x2f\xe1\x47\x64\x8c\x49\x1a\xc1\xe2\x2c\xf8\xda\x21\xc7\x65\xef\xe0\x4f\x7d\x98\xb2\x82\xed\x66\x93\xc4\xdb\x4d\x30\x4e\xff\xaa\x1f\x61\xd0\x30\xe9\x47\x4a\xd5\x99\xf4\x2f\x43\xe3\xfa\x1b\x1d\x4d\x69\xc1\x4e\x5b\x9a\xf8\x19\xdb\x73\x17\xf5\x47\x00\x00\x00\xff\xff\x5c\x45\xc9\xd8\x01\x06\x00\x00") +var _templatesAwsS3BucketTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x8f\x9b\x30\x10\xbd\xe7\x57\x58\xdc\x21\xaa\xf6\xb6\xd2\x4a\xed\x2a\xa9\x94\x4a\x6d\xa3\x10\xb5\x47\x34\x81\x81\x58\x31\x76\xd6\x1e\x27\x1b\x65\xf9\xef\x95\xb1\xe9\x42\x60\xfb\xa1\x96\x13\xb6\xdf\x7b\x7e\x6f\xc6\x36\xa1\xd6\x50\x2a\x5d\xb3\xeb\x8c\xb1\x1d\xe4\x07\x94\x05\x8b\xcc\x5d\xd4\x4e\x30\xb6\xb3\xf9\x01\x89\x0d\xbf\x07\x16\x5d\xaf\x2c\x49\x09\x08\x53\x52\x1a\x1f\x3d\x31\x79\x6c\xd1\x5f\xa0\x46\xd6\x34\x51\x2b\xa0\xb1\xe2\x4a\x8e\x05\xe0\x18\x1b\x65\x69\x1f\xbf\xf3\xb8\x03\x5e\xd8\xe8\x7b\x70\x56\x62\xef\xc1\x78\xdc\xf5\x1a\x33\x5e\x32\x7c\x62\xc9\x4a\x96\x1a\xbe\xa1\x26\x9e\x83\x60\x91\x40\x59\x70\x59\x45\xac\x69\x5a\xe4\x59\xe9\x83\x39\x42\x8e\xd9\x01\x2f\xd9\x51\x63\xc9\x9f\x87\x8a\x73\x97\x62\xf9\x4c\x1a\x36\x68\x94\xd5\x39\x9a\x64\x29\x4f\x5c\x2b\x59\xa3\x24\xd6\x34\x2d\x22\xe4\x89\xbb\xff\xd4\x96\x4e\xaa\x4b\xe8\x1c\xa1\x30\xf8\x77\xdb\x0e\xcd\x87\x9d\xfe\x8f\x17\x59\x04\x2b\x47\xad\x4a\x2e\xf0\x0f\x9b\xf7\xe1\x7b\xba\x0e\x84\x4e\x0e\x72\x31\xd9\x14\x1f\x24\x56\x67\x89\x3a\x2e\xad\x10\x71\xae\x24\x69\x25\x1c\xad\x99\x35\xb3\x59\xad\x0a\x2b\x70\xd0\xbe\xf6\x44\xf9\x68\x3d\xa9\x8a\xd3\xfd\xbd\x31\xfb\xfb\xf9\xbc\xe2\xf4\xbe\xe2\xb4\xb7\xbb\x24\x57\xf5\x5c\xc2\x89\xc7\xdc\x95\x69\x0e\x67\x13\xff\x54\x4a\x2a\x4e\x6e\x1f\x73\x97\x05\x69\x27\x34\x51\xbe\xf4\xee\x31\xac\xbf\xb0\xda\x1a\xda\xaa\x4f\x46\x49\x7f\x3c\xb0\x57\xda\x37\xe8\xfd\xea\xbf\xb0\x27\xab\x08\x3d\xb7\xf5\x94\x9d\xba\xde\x79\xf2\xb0\x9f\x03\xbc\x77\x99\x11\x54\xc6\x81\xdb\xca\x6e\x11\xea\x7e\x49\x9d\x84\x9b\xf3\x0d\x1e\xd0\x19\xfb\xea\xea\xdc\x07\xf9\x89\x1b\x54\xb8\x19\xc9\x67\x24\x28\x80\x20\x59\x6b\x55\xd8\x9c\xba\xf5\x6e\xe8\x75\x46\xa8\x09\x35\x77\xaa\xa7\xd9\xad\x8b\x5f\x31\x65\xd1\x0d\xdb\x40\xe1\xd0\x0d\x5e\x86\xe5\x3f\xb4\x60\x9c\xb6\x3f\x7f\xe6\xb4\xef\x25\x5c\x00\x41\x8a\xd2\x70\xe2\x27\x4e\x97\x0e\x79\x3b\xed\x1d\xfc\xae\x0e\x63\x56\xb4\x5e\xad\xb2\x74\xbd\x8a\x6e\xd3\x4f\x77\x65\xc1\x0d\x18\x42\xbd\xc1\x5c\x9d\x50\xbf\xda\xe1\x06\x76\x02\x17\x1b\x77\x1f\xed\xd1\xdb\x09\x2f\xdd\xdb\xe4\x68\xab\x2d\xba\x27\x2f\xfa\x08\xc2\xa0\xab\x72\x70\xeb\x57\xdc\xf8\xb5\x17\xa3\x30\xa3\x3d\x83\xcc\x54\x23\xfb\xc9\xdc\x1d\xff\x11\x00\x00\xff\xff\xf2\xb0\x70\xf9\x3c\x06\x00\x00") func templatesAwsS3BucketTfMainTfBytes() ([]byte, error) { return bindataRead( @@ -199,8 +199,8 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1537, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x27, 0x1e, 0xa0, 0x8, 0x2d, 0x33, 0xea, 0x2d, 0x44, 0x48, 0x4f, 0x94, 0xe3, 0x64, 0x23, 0x93, 0xbb, 0x27, 0x4d, 0xdf, 0xa0, 0xff, 0xc1, 0x86, 0x9, 0x24, 0xaa, 0x3e, 0xdf, 0x24, 0xe1, 0x30}} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1596, mode: os.FileMode(0644), modTime: time.Unix(1718097309, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x57, 0x3a, 0x72, 0x9c, 0x68, 0x71, 0x7a, 0x9d, 0x65, 0x53, 0xdf, 0x1d, 0x0, 0x20, 0xd2, 0x59, 0x3b, 0xe9, 0xd1, 0x46, 0x68, 0xcd, 0x2b, 0xcf, 0xf6, 0x59, 0x94, 0xa9, 0x34, 0xe0, 0xed, 0x7f}} return a, nil } diff --git a/templates/aws-s3-bucket-tf/main.tf b/templates/aws-s3-bucket-tf/main.tf index 44aadad..47200c9 100644 --- a/templates/aws-s3-bucket-tf/main.tf +++ b/templates/aws-s3-bucket-tf/main.tf @@ -35,10 +35,10 @@ module "s3-buckets" { DataSensitivity = "PII_SPI" {{- end }} - {{- with .Metadata.DisasterRecovery }} - DisasterRecovery = {{ . | quote }} + {{- if .Metadata.DisasterRecovery }} + DisableDRBackup = {{ if eq .Metadata.DisasterRecovery "True" }}"False"{{ else }}"True"{{ end }} {{- else }} - DisasterRecovery = "True" + DisableDRBackup = "False" {{- end }} {{- end }} diff --git a/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf b/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf index 98419b1..7ab1c4a 100755 --- a/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf @@ -21,7 +21,7 @@ module "s3-buckets" { Name = "foo" Environment = "dev" DataSensitivity = "PII_SPI" - DisasterRecovery = "True" + DisableDRBackup = "False" } } diff --git a/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf b/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf index fbfa5dc..7ea677b 100755 --- a/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf @@ -21,7 +21,7 @@ module "s3-buckets" { Name = "foo" Environment = "dev" DataSensitivity = "PII_SPI" - DisasterRecovery = "True" + DisableDRBackup = "False" } } diff --git a/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf b/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf index fbfa5dc..7ea677b 100755 --- a/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf @@ -21,7 +21,7 @@ module "s3-buckets" { Name = "foo" Environment = "dev" DataSensitivity = "PII_SPI" - DisasterRecovery = "True" + DisableDRBackup = "False" } } From 825c0956118943630cb2b0d59d704ece5a9689d1 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Tue, 11 Jun 2024 15:43:13 +0530 Subject: [PATCH 07/18] INFRA-3367 | Ankit Bhardwaj | update release version --- config/prod/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/prod/default.yml b/config/prod/default.yml index 5f2fb3a..6ef4c51 100644 --- a/config/prod/default.yml +++ b/config/prod/default.yml @@ -1,2 +1,2 @@ app_name: infra-provisioner-v2 -version: v2.48.1 +version: v2.48.2 From e92908a675bb921b7074afdfde0bfa2bc1080a05 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Thu, 13 Jun 2024 18:39:02 +0530 Subject: [PATCH 08/18] INFRA-3107 | Saurabh | Elastic Cache version upgrade dropdown --- bindata/bindata.go | 40 +++++++++++++++--------------- templates/elastic-cache-tf/main.tf | 14 +++++++++++ types.go | 1 + 3 files changed, 35 insertions(+), 20 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index b7010b2..99e084d 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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 (5.565kB) +// templates/elastic-cache-tf/main.tf (6.021kB) // templates/rds-tf/deploy.sh (4.236kB) // templates/rds-tf/main.tf (11.185kB) // templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh (2.751kB) @@ -99,7 +99,7 @@ func templatesAuroraDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0xd6, 0xbd, 0xd6, 0x82, 0xa3, 0x1c, 0xc9, 0xe8, 0x32, 0xeb, 0x25, 0x3d, 0x8b, 0x44, 0x41, 0x2c, 0xe, 0x9, 0x9b, 0xa, 0xa1, 0x3e, 0xaa, 0x8, 0xfc, 0x72, 0xef, 0x72, 0x46, 0x2a, 0xfd}} return a, nil } @@ -119,7 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil } @@ -139,7 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil } @@ -159,7 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil } @@ -179,7 +179,7 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil } @@ -199,7 +199,7 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1537, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1537, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x27, 0x1e, 0xa0, 0x8, 0x2d, 0x33, 0xea, 0x2d, 0x44, 0x48, 0x4f, 0x94, 0xe3, 0x64, 0x23, 0x93, 0xbb, 0x27, 0x4d, 0xdf, 0xa0, 0xff, 0xc1, 0x86, 0x9, 0x24, 0xaa, 0x3e, 0xdf, 0x24, 0xe1, 0x30}} return a, nil } @@ -219,7 +219,7 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil } @@ -239,7 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil } @@ -259,7 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil } @@ -279,7 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1714643526, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil } @@ -299,12 +299,12 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } -var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x4d\x6f\x22\x39\x10\xbd\xf7\xaf\xb0\xb8\x37\xd1\xec\xde\x22\x45\xda\x0c\x1b\xad\x72\x48\x66\x34\x62\xf6\xb0\x17\xcb\xd8\x05\x58\xf8\xa3\xd7\x2e\x43\x18\x96\xff\xbe\xb2\xdd\x40\x37\x84\xa4\x49\x20\xd2\x0c\xb7\x2e\x5e\xbd\xaa\x7a\x65\x77\xb5\x8d\xe0\x1c\x1b\x5b\xa7\xc9\xaa\x20\x64\xc4\xf8\x0c\x8c\x20\x3d\xff\x7b\x2f\x19\x08\x19\x05\x3e\x03\x24\xed\xdf\x0d\xe9\x19\x36\x97\xe5\x88\x99\x59\xb9\xa5\x28\xb9\xd5\x9a\x19\x51\x7a\x64\x08\xbd\xe4\xee\x60\x22\xad\x39\x74\x67\x55\xe9\x6d\xc0\x69\xf9\x29\xe3\x66\xb0\x24\x07\xbf\x1b\xd2\x03\xc5\x3c\x4a\x5e\x72\xc6\xa7\x35\xe5\xc2\xba\x99\xaf\x18\x07\x3a\x83\x25\xad\x1c\x8c\xe5\xd3\x01\x34\xe7\xe0\xaf\x56\x2b\xd2\xbf\x37\x63\xc7\xfe\x06\x87\x92\x33\x45\xd6\xeb\x64\xbc\x7b\x42\xc7\xbe\x81\xb7\xc1\x71\xf0\xfd\x3b\x33\x97\xce\x1a\x0d\x06\x8f\x21\x32\xfd\x20\xb2\xf7\xef\x8d\x47\x66\x38\x3c\x32\x0d\x64\xbd\xce\x89\x55\xce\x8e\xa5\x82\x83\x1a\xb8\x16\x19\xc0\xb8\x7a\xb6\xc8\xac\x71\x69\x17\x06\x5c\x39\x0e\x4a\x95\xdc\x1a\x74\x56\x45\xb7\x75\xb1\x2e\x0a\x6d\x45\x50\xb0\xad\x91\x66\x39\x52\x8b\x72\x7e\x0d\xb6\x89\xc4\xeb\x6b\xef\xa7\xd7\x57\x57\x13\x89\x7f\x4c\x24\x4e\xc3\xa8\xcf\xad\xbe\x4a\x3d\x93\x51\x8d\xab\xb6\x58\x99\xbe\x3f\x91\x18\x23\x42\x43\x8b\xc8\xf8\x8a\x5c\xff\x91\x7f\x83\xc5\x28\x43\x41\x88\x61\x1a\x76\x3d\x39\x49\xc6\x16\x4f\xca\x92\xce\x37\x4d\xcb\x54\xed\x46\xb6\xf0\x08\x4c\xd7\xa8\x21\x30\xdd\xdf\x67\x8c\x10\x36\xf1\x11\x92\x5a\x31\x7c\x05\x1f\x31\x5f\x62\x3f\x9a\xa0\x6c\xd8\x43\x7d\x75\x56\x04\x8e\x4d\xdc\xc6\xb4\x87\xbc\x7b\x87\xae\x84\xa4\x0c\x77\x6d\x8e\xce\xcd\xa4\x13\x2a\xd5\x69\xac\x00\x8a\xcb\x0a\x3a\x34\xe0\x76\xe1\x37\x3d\x18\x28\xe6\x7d\x3b\x28\xab\x2a\xb5\xa4\x52\x6b\x10\x92\x21\xa8\x65\x17\xc6\xe8\x73\xdf\x70\x49\x4c\xab\x55\x49\xe4\xf8\x65\xcf\x87\xa0\x50\xde\xfe\x93\x1d\x74\x7c\xa0\xec\x07\x05\xc3\x46\x0a\x04\xb9\x21\xe8\x02\xc4\xf2\x82\x1e\x81\xcb\x3b\x80\x72\x15\x3c\x82\x8b\x7d\xfd\xad\x0e\x03\xca\x6f\xd6\xe2\x11\xe4\xa7\x0d\xd2\x88\x56\x76\xd6\x75\x4b\xf0\x45\xd0\x20\xc7\x79\xb0\x62\x23\x62\x40\xab\x59\xdc\xb4\x63\x26\x95\x9d\x83\x3b\xac\xa9\xce\xa6\xb3\x54\x07\x41\xea\xea\xa8\x8e\xbd\x7f\x4e\x32\x9a\x56\xc5\xc4\xd9\x50\xf9\x0e\x5d\x7c\x0c\xfa\xd1\x0a\xf8\x2b\xe3\x53\x08\x07\x95\x92\x9c\x79\x5a\x81\x6b\xb0\x75\x23\xfb\x56\x3b\x7f\x05\xb7\xe5\xdd\x69\xbf\xdf\x88\x17\xd9\x9a\x0f\xb7\x0a\x1c\x0e\xa7\x0e\xfc\xd4\x2a\xe1\xeb\x8d\xfe\x6e\x9e\xfe\xa0\x0a\xdf\x51\x2a\xf9\x83\x61\x9c\x5e\x59\xe2\x2a\xd0\xb0\x33\x52\xa6\x98\xd3\x14\x37\x4e\x1d\x74\x38\x21\xe2\xde\xde\x6f\x88\x74\xae\xfa\x06\x0e\x84\xc4\xcf\x4c\xc5\xbd\xbf\xab\x90\x27\x33\x1d\x65\xfb\xf9\x8b\x6c\x87\xbd\x70\x99\x0f\xa0\xad\x5b\x7e\xf7\x6c\x52\x87\xd0\xc9\x40\x43\xb4\x9c\xb9\xb6\x66\xac\x0b\x97\xf5\x08\x18\xbf\x81\x3e\x33\x23\x16\x52\xe0\xf4\xde\xdc\x2a\x65\x17\x51\xd1\xbb\x27\x0e\x20\xa0\xde\x4e\x26\x03\xe9\x68\x83\xa4\x32\xae\xdb\x1a\x4b\xa1\x06\x9f\x59\x89\x2e\xe9\x7d\xb0\x42\x5f\x02\x76\x96\xc8\x06\xfc\x78\x8d\x9e\x4d\xf0\x83\x45\x1a\xba\xf8\xf5\x2f\x5e\x11\x8a\x5b\x63\x80\xc7\x97\x94\xa7\x98\x3d\x3e\x5e\xae\xa3\xa9\xbe\x28\xd9\xe1\xd3\xc9\xf2\xfd\x19\x5c\x7a\x41\xbf\x73\xd4\x6c\x69\x4e\x98\x34\x30\x67\x2a\x64\x43\x05\x4e\xda\x37\x69\x7a\x34\xf0\x25\xd6\x5a\x2b\xd8\x29\xf3\xe6\xfc\xa5\x5e\x7e\xec\xec\xc2\x75\x99\x3a\x67\xae\xf0\xe7\x1f\x3e\x67\x16\xe4\x57\x9e\x41\x17\x96\xea\x17\x1d\x45\x17\x56\xed\xdd\x13\x69\x5d\x14\x36\x60\x15\x70\x7b\xc9\x93\x8e\xad\xf5\xa9\x2b\xe5\x9d\xce\x5b\xb4\x72\x52\x33\xb7\xa4\x60\x44\x65\xa5\x41\xca\x84\x70\xe0\x7d\xbe\x0d\x8a\x55\xc2\xf6\x92\xa0\xbe\xd7\x69\xdd\x1a\xf5\xdf\x46\x5f\x10\x22\xc0\x73\x27\xab\x34\x2f\x6e\x48\x6f\x38\x05\x52\xff\x49\xec\x98\xe0\x14\xc8\xc6\x89\x8c\xad\x4b\x86\x9a\x2d\xdd\x49\x10\x69\x92\xad\x11\x93\xa4\x98\xfd\x5e\xb1\x2e\x4e\xbc\x21\xe8\xa6\x95\x03\x26\xd2\x79\xfb\x22\x52\x1d\x61\x7f\x9b\x52\x99\xac\xa3\x50\xf5\x9a\xf9\x3f\x00\x00\xff\xff\xb5\xef\xca\xea\xbd\x15\x00\x00") +var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x4d\x6f\xdb\x38\x10\xbd\xeb\x57\x10\x3a\x6d\x0f\x52\x92\x2e\x9a\x02\x01\x02\x6c\x9a\x0d\x16\x39\x24\x2d\x8a\xb4\x87\xbd\x10\x34\x39\xb2\x09\xf3\x43\xe5\x47\x12\x37\xeb\xff\xbe\x20\x29\xdb\x92\xbf\x22\x27\x76\x80\xd6\x37\x4d\xde\xbc\x79\xf3\x46\x24\x23\x3a\x30\x86\x54\xda\x48\xf4\x94\x21\x34\x20\x74\x0c\x8a\xa1\xdc\xfe\x99\xc7\x00\x42\x03\x4f\xc7\xe0\x50\xf7\x77\x8e\x72\x45\xee\x79\x31\x20\x6a\x5c\xcc\x29\x0a\xaa\xa5\x24\x8a\x15\xd6\x11\x07\x79\x4c\x37\x30\xe4\x5a\xad\xa6\x93\xba\xb0\xda\xbb\x51\x71\x92\x70\x63\x98\xa0\x95\xdf\x39\xca\x41\x10\xeb\x38\x2d\x28\xa1\xa3\x86\xf2\x41\x9b\xb1\xad\x09\x05\x3c\x86\x09\xae\x0d\x54\xfc\x71\x05\x9a\x34\xd8\xa3\xa7\x27\x54\x5e\xab\xca\x90\xef\x60\x1c\xa7\x44\xa0\xe9\x34\x06\xaf\x1e\x9d\x21\x5f\xc1\x6a\x6f\x28\xd8\xf2\x4a\xdd\x73\xa3\x95\x04\xe5\x36\x21\x12\xfd\x65\x60\x2f\xaf\x95\x75\x44\x51\xb8\x25\x12\xd0\x74\x9a\x84\xd5\x46\x57\x5c\xc0\x4a\x0f\x54\xb2\x04\x20\x54\xac\x6d\x32\x79\x5c\xe8\x07\x05\xa6\xa8\xbc\x10\x05\xd5\xca\x19\x2d\x42\xda\x34\x9b\x66\x99\xd4\xcc\x0b\x98\xf7\x88\x93\x1d\x71\x44\x49\x5f\x8b\x6d\xc8\xdd\xd9\x99\xb5\xa3\xb3\xa3\xa3\x21\x77\x7f\x0d\xb9\x1b\xf9\x41\x49\xb5\x3c\x8a\x33\xe3\xc1\x8d\xa3\xae\x59\x89\xbe\x1c\x72\x17\x2a\x42\xcb\x8b\xc0\xf8\x8c\x5d\xff\xa1\x1f\x5e\xbb\x60\x43\x86\x90\x22\x12\x16\x33\xd9\xc9\xc6\x0e\x4f\x54\x89\xef\x67\x43\x4b\x54\xdd\x41\x76\xf0\x0e\x88\x6c\x50\x77\x40\x64\xb9\xcc\x18\x20\x64\x68\x03\x24\x8e\xe2\xee\x19\x7c\xc0\x7c\x0e\xf3\x68\x83\x52\x60\x09\xf5\xc5\x68\xe6\xa9\x6b\xe3\x66\xa1\x25\xe4\xd5\x2b\x7c\x45\x28\x2a\x5c\x8c\x39\x24\xb7\x45\x47\x54\xec\x53\x69\x06\xd8\x4d\x6a\xe8\x31\x80\x8b\x07\x3b\x9b\xc1\xa5\x20\xd6\x76\x8b\x92\xba\x16\x13\xcc\xa5\x04\xc6\x89\x03\x31\xe9\xc3\x18\x72\xae\x5b\x29\x91\x09\xd4\x90\x2b\x08\xf3\xb4\x61\x3b\x78\x9e\xe6\x2a\x26\x7c\x6f\xf0\xdd\x41\x3e\x3d\x15\x88\x57\x08\x7e\xec\x42\x91\x7f\x2c\x4f\xf2\x24\xa6\x22\x92\xc7\x5e\x72\x03\x8c\xdb\x8f\x79\xc3\x09\xc2\x42\x20\xd6\x06\xfd\xb1\x23\xf9\x69\x79\x9c\xbf\x7b\x41\xd6\xfb\xfc\xdd\x5a\x4d\xa7\xe5\xe3\xb2\xaa\x1d\xb9\x3f\x94\xc7\xe5\xe9\xfa\x86\x3f\x94\xc7\x1d\xf2\xed\xa6\x28\xd6\xd8\xde\xb2\x7e\xab\x90\x1b\x2f\x1c\xbf\xf8\x37\xd1\xca\xf0\x80\xc9\x4f\x0c\x8a\x0c\x04\x30\x74\x8e\x9c\xf1\x10\x5e\x53\x2f\x07\x60\xd2\x4e\x86\xa9\xf0\xd6\x81\x09\xeb\xf3\xfd\x8a\xb4\x4d\xc8\x93\xae\xc4\xb9\x3a\x6d\xfa\x09\xdc\x0a\xba\x4c\x75\x6e\x34\x9b\x2d\x06\xef\xb4\x24\x61\xf3\xad\x08\x17\xfa\x1e\xcc\x6a\x4f\x8d\x9a\xb6\x98\xdd\x8a\x34\xdd\x61\x19\xd6\xf0\x3a\xcb\x70\x5c\xdd\x43\xa3\x7d\x6d\x7b\x2c\xa3\x5b\x2f\x6f\x35\x83\x7f\x12\x3e\x96\x30\x50\x0b\x4e\x89\xc5\x35\x98\x16\x5b\x3f\xb2\xaf\x4d\xf2\x17\x30\x73\xde\x85\xf7\xcb\x83\xd8\xfe\xbe\xb6\x1e\x2e\x04\x18\x77\x37\x32\x60\x47\x5a\x30\xdb\xbc\x70\xaf\xe6\x29\x2f\x6b\xff\xcd\x71\xc1\x7f\x12\x17\x16\x45\xb2\xb8\xf6\xd8\x2f\x82\x98\x08\x62\x24\x76\xb3\xa4\x3e\x7b\x53\xff\x8a\x4b\x7b\x78\x77\x41\xed\xa5\xbf\xcb\xb0\x5c\xdd\x27\x22\xc2\x1e\xbe\xe8\x90\xc6\x30\x1e\xa4\xf8\xfe\x9b\xec\x96\x3d\x70\x9b\x37\x20\xb5\x99\x7c\xb3\x64\xd8\x94\x90\x31\x80\x7d\x88\xec\xb9\xb7\x76\xad\x03\xb7\x75\x0b\x2e\xfc\x2f\xfb\x89\x28\xf6\xc0\x99\x1b\x5d\xab\x0b\x21\xf4\x43\x70\xf4\xea\x91\x02\x30\x68\x96\x93\x4a\x40\x3c\x98\x21\x31\x0f\xef\x6d\x83\xc5\xd0\x80\xf7\xec\x44\x1f\x79\x6f\xec\xd0\x67\xef\x7a\x5b\xa4\xbd\x7b\x7b\x8f\xd6\x0a\x7c\x63\x93\xee\x4c\xf8\x8a\x63\xcf\x18\x45\xb5\x52\x40\xc3\x26\x65\xb1\x4b\x19\x6f\x6f\xd7\x46\xa9\x5b\x2d\x5b\x7d\xda\xd9\xbe\xbf\xbd\x89\x1b\xf4\x2b\x8f\x9a\x39\xcd\x0e\x27\x0d\xdc\x13\xe1\x53\xa0\x06\xc3\xf5\x8b\x3c\xdd\x58\xf8\x10\xef\x5a\xa7\xd8\x2e\xe7\xcd\xfe\x5b\x3d\xfc\xb1\xb3\x28\xd7\xe7\xd4\xd9\x73\x87\xbf\xfe\xe1\xb3\x67\x43\x7e\xe7\x33\xe8\xc0\x56\xfd\xa6\x47\xd1\x81\x5d\x7b\xf5\x89\x34\xcd\x32\xed\x5d\xed\xdd\xfc\xb2\x2e\x7e\xb6\x36\x5f\x5d\x51\x77\xfc\xde\xc2\xb5\xe1\x92\x98\x09\x06\xc5\x6a\xcd\x95\xc3\x84\x31\x03\xd6\xa6\x5b\xbd\xd0\x25\xcc\x2f\x7b\x9a\xfb\xb9\xce\xed\x5f\xf9\x32\xfa\x0c\x21\x06\x96\x1a\x5e\xbb\x74\x13\x93\xdf\x8d\x00\x35\x7f\x44\xba\x42\x6e\x04\x68\x96\x84\x2a\x6d\x62\xa0\x61\x8b\x77\x4b\x88\xab\x18\x6b\xd5\x44\xb1\x66\x99\x67\xd3\x6c\xc7\x1b\x82\x7e\x5e\x19\x20\x2c\x7e\x6f\x1f\xc4\xaa\x0d\xec\x2f\x73\x2a\x91\xf5\x34\xaa\x79\x67\xfe\x0f\x00\x00\xff\xff\x96\xac\xc8\x8f\x85\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: 5565, mode: os.FileMode(0644), modTime: time.Unix(1715851478, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x3c, 0x66, 0x49, 0x51, 0x47, 0x68, 0x46, 0x6f, 0xa5, 0x84, 0x71, 0x3b, 0xa1, 0xb5, 0xbf, 0x44, 0x60, 0x73, 0xb6, 0xba, 0x93, 0x63, 0xde, 0x76, 0x84, 0x83, 0x8f, 0xbe, 0x99, 0x8d, 0x43}} + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6021, mode: os.FileMode(0644), modTime: time.Unix(1718283474, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0x13, 0xd, 0x62, 0xe5, 0x6a, 0xe6, 0xf7, 0x21, 0x28, 0x1, 0xb4, 0x67, 0xe3, 0xfa, 0xc5, 0x4, 0x39, 0xd3, 0x13, 0xbc, 0x64, 0x0, 0x5a, 0xf8, 0x16, 0x51, 0xb9, 0x19, 0xab, 0x61, 0x5d}} return a, nil } @@ -339,7 +339,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1716464376, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil } @@ -359,7 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11185, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11185, mode: os.FileMode(0644), modTime: time.Unix(1716464376, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x19, 0x3d, 0x3f, 0x54, 0xf5, 0xe4, 0x5, 0xfc, 0x50, 0xb5, 0xe2, 0xc9, 0x63, 0x87, 0xc6, 0x94, 0x16, 0x31, 0x73, 0x2c, 0x11, 0x35, 0x85, 0x50, 0x68, 0x2c, 0x1c, 0x24, 0x2a, 0x88, 0xcc, 0x6e}} return a, nil } @@ -379,7 +379,7 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil } @@ -399,7 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -419,7 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1715691684, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil } diff --git a/templates/elastic-cache-tf/main.tf b/templates/elastic-cache-tf/main.tf index bae394e..36eb6e7 100644 --- a/templates/elastic-cache-tf/main.tf +++ b/templates/elastic-cache-tf/main.tf @@ -26,6 +26,20 @@ module "elastic_cache" { node_type = {{ .ExtraResources.ElasticCache.AwsInstanceClass | quote }} apply_immediately = {{ .ExtraResources.ElasticCache.ApplyImmediately }} + engine_version = {{ .ExtraResources.ElasticCache.EngineVersion | quote }} + + {{- if eq .ExtraResources.ElasticCache.EngineVersion "7.1" }} + family = "redis7" + {{- else if or (eq .ExtraResources.ElasticCache.EngineVersion "6.0") (eq .ExtraResources.ElasticCache.EngineVersion "6.2") }} + family = "redis6.x" + {{- else if eq .ExtraResources.ElasticCache.EngineVersion "5.0.6" }} + family = "redis5.0" + {{- else }} + family = "redis7" + {{- end }} + + + {{- if .ExtraResources.ElasticCache.MultiAZ }} multi_az_enabled = true number_cache_clusters = 2 diff --git a/types.go b/types.go index ac5200b..b348a3c 100644 --- a/types.go +++ b/types.go @@ -172,6 +172,7 @@ type ElasticCache struct { AwsInstanceClass string `json:"awsInstanceClass"` InstanceName string `json:"instanceName" valid:"required"` MultiAZ bool `json:"multiAZ"` + EngineVersion string `json:"engineVersion"` ApplyImmediately bool `json:"applyImmediately"` ClusterMode bool `json:"clusterMode,omitempty"` NumNodeGroups int `json:"numberOfNodeGroups,omitempty"` From fed166c4c4c158c0cf721f3b6077abb293b276d3 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Thu, 13 Jun 2024 18:53:45 +0530 Subject: [PATCH 09/18] INFRA-3107 | Saurabh | Elastic Cache version upgrade dropdown --- bindata/bindata.go | 36 +++++++----------------------- templates/elastic-cache-tf/main.tf | 3 +++ 2 files changed, 11 insertions(+), 28 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 8d866d1..7e43e80 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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.021kB) +// templates/elastic-cache-tf/main.tf (6.09kB) // 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) @@ -119,7 +119,6 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil @@ -140,7 +139,6 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil @@ -161,7 +159,6 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil @@ -182,7 +179,6 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil @@ -203,9 +199,8 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1537, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x27, 0x1e, 0xa0, 0x8, 0x2d, 0x33, 0xea, 0x2d, 0x44, 0x48, 0x4f, 0x94, 0xe3, 0x64, 0x23, 0x93, 0xbb, 0x27, 0x4d, 0xdf, 0xa0, 0xff, 0xc1, 0x86, 0x9, 0x24, 0xaa, 0x3e, 0xdf, 0x24, 0xe1, 0x30}} - + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1596, mode: os.FileMode(0644), modTime: time.Unix(1718284659, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x57, 0x3a, 0x72, 0x9c, 0x68, 0x71, 0x7a, 0x9d, 0x65, 0x53, 0xdf, 0x1d, 0x0, 0x20, 0xd2, 0x59, 0x3b, 0xe9, 0xd1, 0x46, 0x68, 0xcd, 0x2b, 0xcf, 0xf6, 0x59, 0x94, 0xa9, 0x34, 0xe0, 0xed, 0x7f}} return a, nil } @@ -224,7 +219,6 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil @@ -245,7 +239,6 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil @@ -266,7 +259,6 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil @@ -287,7 +279,6 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1714643526, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil @@ -308,13 +299,12 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } -var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x4d\x6f\xdb\x38\x10\xbd\xeb\x57\x10\x3a\x6d\x0f\x52\x92\x2e\x9a\x02\x01\x02\x6c\x9a\x0d\x16\x39\x24\x2d\x8a\xb4\x87\xbd\x10\x34\x39\xb2\x09\xf3\x43\xe5\x47\x12\x37\xeb\xff\xbe\x20\x29\xdb\x92\xbf\x22\x27\x76\x80\xd6\x37\x4d\xde\xbc\x79\xf3\x46\x24\x23\x3a\x30\x86\x54\xda\x48\xf4\x94\x21\x34\x20\x74\x0c\x8a\xa1\xdc\xfe\x99\xc7\x00\x42\x03\x4f\xc7\xe0\x50\xf7\x77\x8e\x72\x45\xee\x79\x31\x20\x6a\x5c\xcc\x29\x0a\xaa\xa5\x24\x8a\x15\xd6\x11\x07\x79\x4c\x37\x30\xe4\x5a\xad\xa6\x93\xba\xb0\xda\xbb\x51\x71\x92\x70\x63\x98\xa0\x95\xdf\x39\xca\x41\x10\xeb\x38\x2d\x28\xa1\xa3\x86\xf2\x41\x9b\xb1\xad\x09\x05\x3c\x86\x09\xae\x0d\x54\xfc\x71\x05\x9a\x34\xd8\xa3\xa7\x27\x54\x5e\xab\xca\x90\xef\x60\x1c\xa7\x44\xa0\xe9\x34\x06\xaf\x1e\x9d\x21\x5f\xc1\x6a\x6f\x28\xd8\xf2\x4a\xdd\x73\xa3\x95\x04\xe5\x36\x21\x12\xfd\x65\x60\x2f\xaf\x95\x75\x44\x51\xb8\x25\x12\xd0\x74\x9a\x84\xd5\x46\x57\x5c\xc0\x4a\x0f\x54\xb2\x04\x20\x54\xac\x6d\x32\x79\x5c\xe8\x07\x05\xa6\xa8\xbc\x10\x05\xd5\xca\x19\x2d\x42\xda\x34\x9b\x66\x99\xd4\xcc\x0b\x98\xf7\x88\x93\x1d\x71\x44\x49\x5f\x8b\x6d\xc8\xdd\xd9\x99\xb5\xa3\xb3\xa3\xa3\x21\x77\x7f\x0d\xb9\x1b\xf9\x41\x49\xb5\x3c\x8a\x33\xe3\xc1\x8d\xa3\xae\x59\x89\xbe\x1c\x72\x17\x2a\x42\xcb\x8b\xc0\xf8\x8c\x5d\xff\xa1\x1f\x5e\xbb\x60\x43\x86\x90\x22\x12\x16\x33\xd9\xc9\xc6\x0e\x4f\x54\x89\xef\x67\x43\x4b\x54\xdd\x41\x76\xf0\x0e\x88\x6c\x50\x77\x40\x64\xb9\xcc\x18\x20\x64\x68\x03\x24\x8e\xe2\xee\x19\x7c\xc0\x7c\x0e\xf3\x68\x83\x52\x60\x09\xf5\xc5\x68\xe6\xa9\x6b\xe3\x66\xa1\x25\xe4\xd5\x2b\x7c\x45\x28\x2a\x5c\x8c\x39\x24\xb7\x45\x47\x54\xec\x53\x69\x06\xd8\x4d\x6a\xe8\x31\x80\x8b\x07\x3b\x9b\xc1\xa5\x20\xd6\x76\x8b\x92\xba\x16\x13\xcc\xa5\x04\xc6\x89\x03\x31\xe9\xc3\x18\x72\xae\x5b\x29\x91\x09\xd4\x90\x2b\x08\xf3\xb4\x61\x3b\x78\x9e\xe6\x2a\x26\x7c\x6f\xf0\xdd\x41\x3e\x3d\x15\x88\x57\x08\x7e\xec\x42\x91\x7f\x2c\x4f\xf2\x24\xa6\x22\x92\xc7\x5e\x72\x03\x8c\xdb\x8f\x79\xc3\x09\xc2\x42\x20\xd6\x06\xfd\xb1\x23\xf9\x69\x79\x9c\xbf\x7b\x41\xd6\xfb\xfc\xdd\x5a\x4d\xa7\xe5\xe3\xb2\xaa\x1d\xb9\x3f\x94\xc7\xe5\xe9\xfa\x86\x3f\x94\xc7\x1d\xf2\xed\xa6\x28\xd6\xd8\xde\xb2\x7e\xab\x90\x1b\x2f\x1c\xbf\xf8\x37\xd1\xca\xf0\x80\xc9\x4f\x0c\x8a\x0c\x04\x30\x74\x8e\x9c\xf1\x10\x5e\x53\x2f\x07\x60\xd2\x4e\x86\xa9\xf0\xd6\x81\x09\xeb\xf3\xfd\x8a\xb4\x4d\xc8\x93\xae\xc4\xb9\x3a\x6d\xfa\x09\xdc\x0a\xba\x4c\x75\x6e\x34\x9b\x2d\x06\xef\xb4\x24\x61\xf3\xad\x08\x17\xfa\x1e\xcc\x6a\x4f\x8d\x9a\xb6\x98\xdd\x8a\x34\xdd\x61\x19\xd6\xf0\x3a\xcb\x70\x5c\xdd\x43\xa3\x7d\x6d\x7b\x2c\xa3\x5b\x2f\x6f\x35\x83\x7f\x12\x3e\x96\x30\x50\x0b\x4e\x89\xc5\x35\x98\x16\x5b\x3f\xb2\xaf\x4d\xf2\x17\x30\x73\xde\x85\xf7\xcb\x83\xd8\xfe\xbe\xb6\x1e\x2e\x04\x18\x77\x37\x32\x60\x47\x5a\x30\xdb\xbc\x70\xaf\xe6\x29\x2f\x6b\xff\xcd\x71\xc1\x7f\x12\x17\x16\x45\xb2\xb8\xf6\xd8\x2f\x82\x98\x08\x62\x24\x76\xb3\xa4\x3e\x7b\x53\xff\x8a\x4b\x7b\x78\x77\x41\xed\xa5\xbf\xcb\xb0\x5c\xdd\x27\x22\xc2\x1e\xbe\xe8\x90\xc6\x30\x1e\xa4\xf8\xfe\x9b\xec\x96\x3d\x70\x9b\x37\x20\xb5\x99\x7c\xb3\x64\xd8\x94\x90\x31\x80\x7d\x88\xec\xb9\xb7\x76\xad\x03\xb7\x75\x0b\x2e\xfc\x2f\xfb\x89\x28\xf6\xc0\x99\x1b\x5d\xab\x0b\x21\xf4\x43\x70\xf4\xea\x91\x02\x30\x68\x96\x93\x4a\x40\x3c\x98\x21\x31\x0f\xef\x6d\x83\xc5\xd0\x80\xf7\xec\x44\x1f\x79\x6f\xec\xd0\x67\xef\x7a\x5b\xa4\xbd\x7b\x7b\x8f\xd6\x0a\x7c\x63\x93\xee\x4c\xf8\x8a\x63\xcf\x18\x45\xb5\x52\x40\xc3\x26\x65\xb1\x4b\x19\x6f\x6f\xd7\x46\xa9\x5b\x2d\x5b\x7d\xda\xd9\xbe\xbf\xbd\x89\x1b\xf4\x2b\x8f\x9a\x39\xcd\x0e\x27\x0d\xdc\x13\xe1\x53\xa0\x06\xc3\xf5\x8b\x3c\xdd\x58\xf8\x10\xef\x5a\xa7\xd8\x2e\xe7\xcd\xfe\x5b\x3d\xfc\xb1\xb3\x28\xd7\xe7\xd4\xd9\x73\x87\xbf\xfe\xe1\xb3\x67\x43\x7e\xe7\x33\xe8\xc0\x56\xfd\xa6\x47\xd1\x81\x5d\x7b\xf5\x89\x34\xcd\x32\xed\x5d\xed\xdd\xfc\xb2\x2e\x7e\xb6\x36\x5f\x5d\x51\x77\xfc\xde\xc2\xb5\xe1\x92\x98\x09\x06\xc5\x6a\xcd\x95\xc3\x84\x31\x03\xd6\xa6\x5b\xbd\xd0\x25\xcc\x2f\x7b\x9a\xfb\xb9\xce\xed\x5f\xf9\x32\xfa\x0c\x21\x06\x96\x1a\x5e\xbb\x74\x13\x93\xdf\x8d\x00\x35\x7f\x44\xba\x42\x6e\x04\x68\x96\x84\x2a\x6d\x62\xa0\x61\x8b\x77\x4b\x88\xab\x18\x6b\xd5\x44\xb1\x66\x99\x67\xd3\x6c\xc7\x1b\x82\x7e\x5e\x19\x20\x2c\x7e\x6f\x1f\xc4\xaa\x0d\xec\x2f\x73\x2a\x91\xf5\x34\xaa\x79\x67\xfe\x0f\x00\x00\xff\xff\x96\xac\xc8\x8f\x85\x17\x00\x00") +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") func templatesElasticCacheTfMainTfBytes() ([]byte, error) { return bindataRead( @@ -329,10 +319,8 @@ func templatesElasticCacheTfMainTf() (*asset, error) { return nil, err } - - info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6021, mode: os.FileMode(0644), modTime: time.Unix(1718283474, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0x13, 0xd, 0x62, 0xe5, 0x6a, 0xe6, 0xf7, 0x21, 0x28, 0x1, 0xb4, 0x67, 0xe3, 0xfa, 0xc5, 0x4, 0x39, 0xd3, 0x13, 0xbc, 0x64, 0x0, 0x5a, 0xf8, 0x16, 0x51, 0xb9, 0x19, 0xab, 0x61, 0x5d}} - + 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}} return a, nil } @@ -351,7 +339,6 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1716464376, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil @@ -372,10 +359,8 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11185, mode: os.FileMode(0644), modTime: time.Unix(1716464376, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x19, 0x3d, 0x3f, 0x54, 0xf5, 0xe4, 0x5, 0xfc, 0x50, 0xb5, 0xe2, 0xc9, 0x63, 0x87, 0xc6, 0x94, 0x16, 0x31, 0x73, 0x2c, 0x11, 0x35, 0x85, 0x50, 0x68, 0x2c, 0x1c, 0x24, 0x2a, 0x88, 0xcc, 0x6e}} - + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718284659, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } @@ -394,7 +379,6 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil @@ -415,9 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -437,9 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil } diff --git a/templates/elastic-cache-tf/main.tf b/templates/elastic-cache-tf/main.tf index 36eb6e7..bfb73ce 100644 --- a/templates/elastic-cache-tf/main.tf +++ b/templates/elastic-cache-tf/main.tf @@ -26,7 +26,10 @@ module "elastic_cache" { node_type = {{ .ExtraResources.ElasticCache.AwsInstanceClass | quote }} apply_immediately = {{ .ExtraResources.ElasticCache.ApplyImmediately }} + + {{- if .ExtraResources.ElasticCache.EngineVersion }} engine_version = {{ .ExtraResources.ElasticCache.EngineVersion | quote }} + {{- end }} {{- if eq .ExtraResources.ElasticCache.EngineVersion "7.1" }} family = "redis7" From 7dbc91d345976bd41e336efb11fa92cbb5787a40 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Thu, 13 Jun 2024 18:58:41 +0530 Subject: [PATCH 10/18] INFRA-3107 | Saurabh | Elastic Cache version upgrade dropdown checks --- bindata/bindata.go | 8 ++++---- templates/elastic-cache-tf/main.tf | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 7e43e80..2620933 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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 } diff --git a/templates/elastic-cache-tf/main.tf b/templates/elastic-cache-tf/main.tf index bfb73ce..034ca64 100644 --- a/templates/elastic-cache-tf/main.tf +++ b/templates/elastic-cache-tf/main.tf @@ -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 }} From 357b128e5c34f65c453a1eccdb458298c1c26ca5 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Fri, 14 Jun 2024 12:24:54 +0530 Subject: [PATCH 11/18] INFRA-3107 | Saurabh | Comments resolved --- templates/elastic-cache-tf/main.tf | 9 ++++----- types.go | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/templates/elastic-cache-tf/main.tf b/templates/elastic-cache-tf/main.tf index 034ca64..cb9b089 100644 --- a/templates/elastic-cache-tf/main.tf +++ b/templates/elastic-cache-tf/main.tf @@ -27,19 +27,18 @@ 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 eq .ExtraResources.ElasticCache.EngineVersion "7.1" }} + {{- if hasPrefix .ExtraResources.ElasticCache.EngineVersion "7" }} family = "redis7" - {{- else if or (eq .ExtraResources.ElasticCache.EngineVersion "6.0") (eq .ExtraResources.ElasticCache.EngineVersion "6.2") }} + {{- else if hasPrefix .ExtraResources.ElasticCache.EngineVersion "6" }} family = "redis6.x" - {{- else if eq .ExtraResources.ElasticCache.EngineVersion "5.0.6" }} + {{- else if hasPrefix .ExtraResources.ElasticCache.EngineVersion "5" }} family = "redis5.0" {{- end }} - {{- if .ExtraResources.ElasticCache.MultiAZ }} multi_az_enabled = true diff --git a/types.go b/types.go index 828beb9..6537b3f 100644 --- a/types.go +++ b/types.go @@ -172,7 +172,7 @@ type ElasticCache struct { AwsInstanceClass string `json:"awsInstanceClass"` InstanceName string `json:"instanceName" valid:"required"` MultiAZ bool `json:"multiAZ"` - EngineVersion string `json:"engineVersion"` + EngineVersion string `json:"engineVersion"` ApplyImmediately bool `json:"applyImmediately"` ClusterMode bool `json:"clusterMode,omitempty"` NumNodeGroups int `json:"numberOfNodeGroups,omitempty"` From c417afbb9b0a0860ddd966b9a608298bb7c3afa3 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Fri, 14 Jun 2024 12:26:19 +0530 Subject: [PATCH 12/18] INFRA-3107 | Saurabh | Comments resolved bindata --- bindata/bindata.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 2620933..653f597 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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.056kB) +// templates/elastic-cache-tf/main.tf (6.006kB) // 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\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") +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") 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: 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}} + 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}} return a, nil } From fe936496f60c4542674c92af2e7ae44143328518 Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Fri, 14 Jun 2024 12:27:37 +0530 Subject: [PATCH 13/18] INFRA-3367 | Ankit Bhardwaj | remove DisableDRBackup from manifest level --- bindata/bindata.go | 40 +++++++++---------- templates/aws-s3-bucket-tf/main.tf | 5 --- .../aws-s3-bucket-tf/main.tf | 1 - .../aws-s3-bucket-tf/main.tf | 1 - .../aws-s3-bucket-tf/main.tf | 1 - 5 files changed, 20 insertions(+), 28 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index b9114a2..e49201a 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -5,7 +5,7 @@ // templates/aws-roles-tf/deploy.sh (1.99kB) // templates/aws-roles-tf/main.tf (1.444kB) // templates/aws-s3-bucket-tf/deploy.sh (1.075kB) -// templates/aws-s3-bucket-tf/main.tf (1.596kB) +// templates/aws-s3-bucket-tf/main.tf (1.394kB) // templates/document-db-tf/deploy.sh (1.045kB) // templates/document-db-tf/main.tf (4.899kB) // templates/dynamo-db-tf/deploy.sh (646B) @@ -99,7 +99,7 @@ func templatesAuroraDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0xd6, 0xbd, 0xd6, 0x82, 0xa3, 0x1c, 0xc9, 0xe8, 0x32, 0xeb, 0x25, 0x3d, 0x8b, 0x44, 0x41, 0x2c, 0xe, 0x9, 0x9b, 0xa, 0xa1, 0x3e, 0xaa, 0x8, 0xfc, 0x72, 0xef, 0x72, 0x46, 0x2a, 0xfd}} return a, nil } @@ -119,7 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil } @@ -139,7 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil } @@ -159,7 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil } @@ -179,12 +179,12 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil } -var _templatesAwsS3BucketTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x8f\x9b\x30\x10\xbd\xe7\x57\x58\xdc\x21\xaa\xf6\xb6\xd2\x4a\xed\x2a\xa9\x94\x4a\x6d\xa3\x10\xb5\x47\x34\x81\x81\x58\x31\x76\xd6\x1e\x27\x1b\x65\xf9\xef\x95\xb1\xe9\x42\x60\xfb\xa1\x96\x13\xb6\xdf\x7b\x7e\x6f\xc6\x36\xa1\xd6\x50\x2a\x5d\xb3\xeb\x8c\xb1\x1d\xe4\x07\x94\x05\x8b\xcc\x5d\xd4\x4e\x30\xb6\xb3\xf9\x01\x89\x0d\xbf\x07\x16\x5d\xaf\x2c\x49\x09\x08\x53\x52\x1a\x1f\x3d\x31\x79\x6c\xd1\x5f\xa0\x46\xd6\x34\x51\x2b\xa0\xb1\xe2\x4a\x8e\x05\xe0\x18\x1b\x65\x69\x1f\xbf\xf3\xb8\x03\x5e\xd8\xe8\x7b\x70\x56\x62\xef\xc1\x78\xdc\xf5\x1a\x33\x5e\x32\x7c\x62\xc9\x4a\x96\x1a\xbe\xa1\x26\x9e\x83\x60\x91\x40\x59\x70\x59\x45\xac\x69\x5a\xe4\x59\xe9\x83\x39\x42\x8e\xd9\x01\x2f\xd9\x51\x63\xc9\x9f\x87\x8a\x73\x97\x62\xf9\x4c\x1a\x36\x68\x94\xd5\x39\x9a\x64\x29\x4f\x5c\x2b\x59\xa3\x24\xd6\x34\x2d\x22\xe4\x89\xbb\xff\xd4\x96\x4e\xaa\x4b\xe8\x1c\xa1\x30\xf8\x77\xdb\x0e\xcd\x87\x9d\xfe\x8f\x17\x59\x04\x2b\x47\xad\x4a\x2e\xf0\x0f\x9b\xf7\xe1\x7b\xba\x0e\x84\x4e\x0e\x72\x31\xd9\x14\x1f\x24\x56\x67\x89\x3a\x2e\xad\x10\x71\xae\x24\x69\x25\x1c\xad\x99\x35\xb3\x59\xad\x0a\x2b\x70\xd0\xbe\xf6\x44\xf9\x68\x3d\xa9\x8a\xd3\xfd\xbd\x31\xfb\xfb\xf9\xbc\xe2\xf4\xbe\xe2\xb4\xb7\xbb\x24\x57\xf5\x5c\xc2\x89\xc7\xdc\x95\x69\x0e\x67\x13\xff\x54\x4a\x2a\x4e\x6e\x1f\x73\x97\x05\x69\x27\x34\x51\xbe\xf4\xee\x31\xac\xbf\xb0\xda\x1a\xda\xaa\x4f\x46\x49\x7f\x3c\xb0\x57\xda\x37\xe8\xfd\xea\xbf\xb0\x27\xab\x08\x3d\xb7\xf5\x94\x9d\xba\xde\x79\xf2\xb0\x9f\x03\xbc\x77\x99\x11\x54\xc6\x81\xdb\xca\x6e\x11\xea\x7e\x49\x9d\x84\x9b\xf3\x0d\x1e\xd0\x19\xfb\xea\xea\xdc\x07\xf9\x89\x1b\x54\xb8\x19\xc9\x67\x24\x28\x80\x20\x59\x6b\x55\xd8\x9c\xba\xf5\x6e\xe8\x75\x46\xa8\x09\x35\x77\xaa\xa7\xd9\xad\x8b\x5f\x31\x65\xd1\x0d\xdb\x40\xe1\xd0\x0d\x5e\x86\xe5\x3f\xb4\x60\x9c\xb6\x3f\x7f\xe6\xb4\xef\x25\x5c\x00\x41\x8a\xd2\x70\xe2\x27\x4e\x97\x0e\x79\x3b\xed\x1d\xfc\xae\x0e\x63\x56\xb4\x5e\xad\xb2\x74\xbd\x8a\x6e\xd3\x4f\x77\x65\xc1\x0d\x18\x42\xbd\xc1\x5c\x9d\x50\xbf\xda\xe1\x06\x76\x02\x17\x1b\x77\x1f\xed\xd1\xdb\x09\x2f\xdd\xdb\xe4\x68\xab\x2d\xba\x27\x2f\xfa\x08\xc2\xa0\xab\x72\x70\xeb\x57\xdc\xf8\xb5\x17\xa3\x30\xa3\x3d\x83\xcc\x54\x23\xfb\xc9\xdc\x1d\xff\x11\x00\x00\xff\xff\xf2\xb0\x70\xf9\x3c\x06\x00\x00") +var _templatesAwsS3BucketTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x8f\x9b\x30\x10\xbd\xe7\x57\x8c\xb8\x1b\x54\xed\x2d\xd2\x4a\x6d\xd4\x1c\x52\xa9\x6d\x54\x56\xed\x11\x39\x30\x10\x0b\xb0\xb3\xf6\x38\xd9\x88\xe5\xbf\x57\xb6\xa1\x82\x90\x7e\xa9\xe5\x14\x0f\xef\x3d\xbf\x37\x33\x84\x50\x6b\x5e\x2a\xdd\x42\xb7\x02\x38\xf0\xbc\x46\x59\x40\x64\x1e\x22\x5f\x00\x38\xd8\xbc\x46\x82\xf9\xf3\x08\x51\xd7\x41\x9c\x12\x27\x4c\x49\x69\xdc\x04\x62\xbc\xf1\xe8\x4f\xbc\x45\xe8\xfb\xc8\x0b\x68\xac\x84\x92\x4b\x01\x7e\x62\x46\x59\x3a\xb2\x37\x01\x57\xe3\x15\x16\xcf\xa3\xb3\xc2\x82\x07\x13\x70\x5d\xc7\x40\x94\x80\xcf\x10\xef\x64\xa9\xf9\x57\xd4\x24\x72\xde\x40\xd4\xa0\x2c\x84\xac\x22\xe8\x7b\x8f\xbc\x28\x5d\x9b\x13\xcf\x31\xab\xf1\x9a\x9d\x34\x96\xe2\x65\xae\x98\xb8\x14\xdb\x17\xd2\xfc\x0b\x1a\x65\x75\x8e\x26\xde\xca\xb3\xd0\x4a\xb6\x28\x09\xfa\xde\x23\x86\x3c\x6c\xfc\x9d\xda\xd2\x49\x8d\x09\x9d\x23\x6c\x0c\xfe\xdd\xb5\x73\xf3\xc3\x4d\xff\xc7\x8b\x2c\x06\x2b\x27\xad\x4a\xd1\xe0\x1f\x0e\xef\xdd\xb7\x74\x3f\x10\x46\x39\x9e\x37\x77\x87\x12\x82\x30\x75\x91\xa8\x59\x69\x9b\x86\xe5\x4a\x92\x56\x8d\xa3\xf5\xab\x7e\xb5\x6a\x55\x61\x1b\x9c\x8d\xcf\x6f\x54\x88\x36\x91\xaa\x04\xad\xd7\xc6\x1c\xd7\x49\x52\x09\x7a\x5b\x09\x3a\xda\x43\x9c\xab\x36\x91\xfc\x2c\x98\x70\x6d\x4a\xf8\xc5\xb0\x1f\x4a\x71\x25\xc8\xdd\x63\x1e\xb2\x41\xda\x09\xdd\x69\x5f\xfa\xb0\x19\xde\xbf\x42\x6b\x0d\x3d\xa9\x0f\x46\xc9\xb0\x1e\x38\x69\xed\x4f\xe8\xd3\xee\xbf\xc2\xb3\x55\x84\x81\xeb\x3d\x65\xe7\x71\x76\x81\x3c\x9f\xe7\x0c\x1f\x5c\x66\xc4\x2b\xe3\xc0\xbe\xb3\x4f\xc8\xdb\x69\x4b\x9d\x84\xab\x85\x01\xcf\xe8\x00\x9f\x5d\x9f\xa7\xa0\x50\xb8\x41\x0d\x5f\x46\xfc\x11\x89\x17\x9c\x78\xbc\xd7\xaa\xb0\x39\x8d\xef\xc7\x63\xd0\x59\xa0\xee\xa8\xb9\xad\xbe\xcf\xf6\x2e\x7e\xc5\x94\xc5\x78\xf4\x81\x86\xa5\x9b\xfd\x33\x6c\xff\x61\x04\xcb\xb4\xd3\xfa\x45\xd0\x71\x92\xf0\x3d\x27\x9e\xa2\x34\x82\xc4\x59\xd0\x75\x44\xde\x96\x83\x83\xdf\xf5\x61\xc9\x8a\xf6\xbb\x5d\x96\xee\x77\xd1\x6d\xfa\xc5\xd9\x7d\x19\xdf\x03\x00\x00\xff\xff\xfe\x67\xc3\x57\x72\x05\x00\x00") func templatesAwsS3BucketTfMainTfBytes() ([]byte, error) { return bindataRead( @@ -199,8 +199,8 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1596, mode: os.FileMode(0644), modTime: time.Unix(1718097309, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x57, 0x3a, 0x72, 0x9c, 0x68, 0x71, 0x7a, 0x9d, 0x65, 0x53, 0xdf, 0x1d, 0x0, 0x20, 0xd2, 0x59, 0x3b, 0xe9, 0xd1, 0x46, 0x68, 0xcd, 0x2b, 0xcf, 0xf6, 0x59, 0x94, 0xa9, 0x34, 0xe0, 0xed, 0x7f}} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1394, mode: os.FileMode(0644), modTime: time.Unix(1718347963, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x2c, 0x0, 0x73, 0x49, 0xe, 0xd3, 0x39, 0x34, 0x62, 0xc3, 0x44, 0x4a, 0xe1, 0x99, 0x5b, 0x49, 0x65, 0xa1, 0x5f, 0x85, 0xcd, 0xf8, 0x5a, 0x28, 0xfe, 0x2f, 0xd8, 0xd2, 0x45, 0xe4, 0xbe}} return a, nil } @@ -219,7 +219,7 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil } @@ -239,7 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil } @@ -259,7 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil } @@ -279,7 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil } @@ -299,7 +299,7 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } @@ -319,7 +319,7 @@ func templatesElasticCacheTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x3c, 0x66, 0x49, 0x51, 0x47, 0x68, 0x46, 0x6f, 0xa5, 0x84, 0x71, 0x3b, 0xa1, 0xb5, 0xbf, 0x44, 0x60, 0x73, 0xb6, 0xba, 0x93, 0x63, 0xde, 0x76, 0x84, 0x83, 0x8f, 0xbe, 0x99, 0x8d, 0x43}} return a, nil } @@ -339,7 +339,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil } @@ -359,7 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1717746834, 0)} + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } @@ -379,7 +379,7 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil } @@ -399,7 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -419,7 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1717746828, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil } diff --git a/templates/aws-s3-bucket-tf/main.tf b/templates/aws-s3-bucket-tf/main.tf index 47200c9..334a6b0 100644 --- a/templates/aws-s3-bucket-tf/main.tf +++ b/templates/aws-s3-bucket-tf/main.tf @@ -35,11 +35,6 @@ module "s3-buckets" { DataSensitivity = "PII_SPI" {{- end }} - {{- if .Metadata.DisasterRecovery }} - DisableDRBackup = {{ if eq .Metadata.DisasterRecovery "True" }}"False"{{ else }}"True"{{ end }} - {{- else }} - DisableDRBackup = "False" - {{- end }} {{- end }} } diff --git a/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf b/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf index 7ab1c4a..f5f7622 100755 --- a/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest/aws-s3-bucket-tf/main.tf @@ -21,7 +21,6 @@ module "s3-buckets" { Name = "foo" Environment = "dev" DataSensitivity = "PII_SPI" - DisableDRBackup = "False" } } diff --git a/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf b/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf index 7ea677b..de630a5 100755 --- a/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest_2/aws-s3-bucket-tf/main.tf @@ -21,7 +21,6 @@ module "s3-buckets" { Name = "foo" Environment = "dev" DataSensitivity = "PII_SPI" - DisableDRBackup = "False" } } diff --git a/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf b/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf index 7ea677b..de630a5 100755 --- a/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf +++ b/testdata/expected_output/sample_infra_manifest_flink/aws-s3-bucket-tf/main.tf @@ -21,7 +21,6 @@ module "s3-buckets" { Name = "foo" Environment = "dev" DataSensitivity = "PII_SPI" - DisableDRBackup = "False" } } From 35945a9f6b4ee3a0921a75195cf2d03e1bcb372a Mon Sep 17 00:00:00 2001 From: Ankit Bhardwaj Date: Fri, 14 Jun 2024 12:32:16 +0530 Subject: [PATCH 14/18] INFRA-3367 | Ankit Bhardwaj | update Release version --- config/prod/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/prod/default.yml b/config/prod/default.yml index 6ef4c51..e7220b9 100644 --- a/config/prod/default.yml +++ b/config/prod/default.yml @@ -1,2 +1,2 @@ app_name: infra-provisioner-v2 -version: v2.48.2 +version: v2.48.3 From 820c2cface57f21b13e91a567e1aa11079679111 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Fri, 14 Jun 2024 14:05:23 +0530 Subject: [PATCH 15/18] INFRA-3107 | Saurabh | Comments resolved bindata --- bindata/bindata.go | 8 ++++---- templates/elastic-cache-tf/main.tf | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 653f597..dee53e8 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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 } diff --git a/templates/elastic-cache-tf/main.tf b/templates/elastic-cache-tf/main.tf index cb9b089..e56a42a 100644 --- a/templates/elastic-cache-tf/main.tf +++ b/templates/elastic-cache-tf/main.tf @@ -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 }} From 60bfb7d4a72387e2e8f4ae324ab2efd459f21b4b Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Fri, 14 Jun 2024 14:11:00 +0530 Subject: [PATCH 16/18] INFRA-3107 | Saurabh | Comments resolved bindata --- bindata/bindata.go | 44 ++++++-------------------------------------- 1 file changed, 6 insertions(+), 38 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 2843f2f..5db8da1 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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.012kB) +// templates/elastic-cache-tf/main.tf (6.013kB) // 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) @@ -100,7 +100,6 @@ func templatesAuroraDbTfDeploySh() (*asset, error) { } info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0xd6, 0xbd, 0xd6, 0x82, 0xa3, 0x1c, 0xc9, 0xe8, 0x32, 0xeb, 0x25, 0x3d, 0x8b, 0x44, 0x41, 0x2c, 0xe, 0x9, 0x9b, 0xa, 0xa1, 0x3e, 0xaa, 0x8, 0xfc, 0x72, 0xef, 0x72, 0x46, 0x2a, 0xfd}} return a, nil } @@ -120,9 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil } @@ -142,9 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil } @@ -164,9 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil } @@ -186,9 +179,7 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil } @@ -208,10 +199,8 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1596, mode: os.FileMode(0644), modTime: time.Unix(1718284659, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x57, 0x3a, 0x72, 0x9c, 0x68, 0x71, 0x7a, 0x9d, 0x65, 0x53, 0xdf, 0x1d, 0x0, 0x20, 0xd2, 0x59, 0x3b, 0xe9, 0xd1, 0x46, 0x68, 0xcd, 0x2b, 0xcf, 0xf6, 0x59, 0x94, 0xa9, 0x34, 0xe0, 0xed, 0x7f}} - + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1394, mode: os.FileMode(0644), modTime: time.Unix(1718354436, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x2c, 0x0, 0x73, 0x49, 0xe, 0xd3, 0x39, 0x34, 0x62, 0xc3, 0x44, 0x4a, 0xe1, 0x99, 0x5b, 0x49, 0x65, 0xa1, 0x5f, 0x85, 0xcd, 0xf8, 0x5a, 0x28, 0xfe, 0x2f, 0xd8, 0xd2, 0x45, 0xe4, 0xbe}} return a, nil } @@ -230,9 +219,7 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil } @@ -252,9 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil } @@ -274,9 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil } @@ -296,9 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1714643526, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil } @@ -319,12 +300,11 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { } info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } -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") +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\xf2\xae\x65\xd9\x2b\x4b\x32\xd0\xe8\xa6\xd1\x9b\x37\x33\x6f\xc8\xa1\x48\x04\xe7\xd8\xc4\x3a\x4d\xee\x47\x84\x8c\x19\x9f\x81\x11\xa4\xf0\xbf\x15\xc9\x40\xc8\x38\xf0\x19\x20\xe9\x7f\x4e\x48\x61\xd8\x8d\x2c\xc7\xcc\xcc\xca\x15\x45\xc9\xad\xd6\xcc\x88\xd2\x23\x43\x28\x92\xbb\x83\xa9\xb4\x66\xdd\x9d\x35\xa5\xb7\x01\xeb\xf2\x5d\xc6\xcd\x60\x4e\xd6\x3e\x27\xa4\x00\xc5\x3c\x4a\x5e\x72\xc6\xeb\x96\xf2\xd6\xba\x99\x6f\x18\x07\x3a\x83\x39\x6d\x1c\x4c\xe4\xdd\x1a\x34\xe7\xe0\x8f\xee\xef\x49\x75\x61\x26\x8e\x7d\x07\x87\x92\x33\x45\x16\x8b\x64\x3c\xbf\x43\xc7\xbe\x82\xb7\xc1\x71\xf0\xd5\xb9\xb9\x91\xce\x1a\x0d\x06\x37\x21\x32\xfd\x59\x64\xaf\x2e\x8c\x47\x66\x38\x5c\x31\x0d\x64\xb1\xc8\x89\x35\xce\x4e\xa4\x82\xb5\x1a\xb8\x16\x19\xc0\xb8\x7a\xb2\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\x3c\xf4\x64\x2b\x19\x7b\x3c\x29\x4b\x7a\xb3\x6c\x5a\xa6\xea\x37\xb2\x87\x47\x60\xba\x45\x5d\x03\xd3\xd5\x63\xc6\x08\x61\x53\x1f\x21\xa9\x15\xd7\x2f\xe0\x23\xe6\x73\xec\x47\x17\x94\x0d\x8f\x50\x5f\x9c\x15\x81\x63\x17\xb7\x34\x3d\x42\x9e\xef\xa0\x2b\x21\x29\xc3\x87\x36\x47\xe7\x6e\xd2\x09\x95\xea\x34\x56\x00\xc5\x79\x03\x03\x1a\x70\x7a\xeb\x97\x3d\x38\x53\xcc\xfb\x7e\x50\xd6\x34\x6a\x4e\xa5\xd6\x20\x24\x43\x50\xf3\x21\x8c\xd1\xe7\xa2\xe3\x92\xc5\xbf\xbf\x2f\x89\x9c\x3c\xef\x7a\x6e\xa6\xd2\xc0\x77\x70\x3e\x8e\x8c\x94\x01\x24\x53\x5c\x07\xc9\xf6\x72\xf8\x3e\x47\xaf\x9a\x98\x42\x1c\x6e\xbd\x84\x1c\x4c\xe1\xee\x92\x21\xaf\x49\xf1\xf7\xc7\x62\xeb\x04\x27\x4c\xcb\xa4\x4b\xe1\x40\x48\xff\xb1\x58\x06\x52\x1e\xd6\xf8\x3f\xec\xcc\xff\xa1\xba\x7b\x36\xc2\xfb\x9d\x23\xbc\xaf\x7e\x29\x1e\x89\x35\xb0\x7d\x97\x41\xa1\x3c\xfd\x2b\xb3\xea\xf8\x85\xb2\x1f\x14\x0c\x1b\x2b\x10\xe4\x84\xa0\x0b\x10\x97\x67\xd0\x63\x70\x79\x82\x51\xae\x82\x47\x70\x71\x5f\xfe\xda\xad\x2b\xcf\x92\x0d\xc8\x77\xfd\xfc\x56\xd9\x59\x37\x2c\xc1\x67\x41\x67\x39\xce\xa5\x15\xcb\x4d\x10\xd0\x6a\x16\x87\xee\x84\x49\x65\x6f\xc0\xad\xd7\xd4\x66\xd3\x4d\x66\xbb\x20\x6d\x75\x54\xc7\xbd\xfb\x94\x64\x34\xed\xea\xa9\xb3\xa1\xf1\x03\xb6\xc1\x55\xd0\x57\x56\xc0\x9f\x19\x9f\x42\x38\x68\x94\xe4\xcc\xd3\x06\x5c\x87\x6d\x18\xd9\xd7\xd6\xf9\x0b\xb8\x15\xef\xda\xae\x1a\xb8\xcb\x3b\x5f\x4e\x15\x38\xbc\xae\x1d\xf8\xda\x2a\xe1\xdb\xad\xb9\x33\x4f\x75\xd6\x84\x6f\x28\x95\xfc\xc1\x70\xb5\xce\x79\x13\x68\x78\x30\x52\xa6\x98\xd3\x14\x97\x4e\x43\x66\xcb\xf0\x88\x8f\x66\x77\x7f\xf4\xec\xa5\xbe\xb3\xb8\x5b\xf1\x13\x53\x71\x76\x3f\x54\xc8\x93\x99\x8e\xb3\x7d\xff\x45\xf6\xc3\x1e\xb8\xcc\x4b\xd0\xd6\xcd\xbf\x79\x36\x6d\x43\xe8\x64\xa0\x21\x5a\xf6\x5c\x5b\x37\xd6\x81\xcb\xba\x02\x8c\xff\x61\x3f\x31\x23\x6e\xa5\xc0\xfa\xc2\x9c\x2a\x65\x6f\xa3\xa2\xe7\x77\x1c\x40\x40\xbb\x9d\x4c\x06\xd2\xf1\x12\x49\x65\x5c\xb7\x2d\x96\x42\x0b\xde\xb3\x12\x43\xd2\x7b\x63\x85\x3e\x07\x1c\x2c\x91\x0d\xf8\xf6\x1a\x3d\x99\xe0\x1b\x8b\x74\xed\xe2\xed\x4d\xbc\x20\x14\xb7\xc6\x00\x8f\x43\xca\x53\xcc\x1e\x6f\x2f\xd7\xc6\x54\x9f\x95\xec\xc9\x3f\x70\xdb\xe5\xf4\x47\x70\x69\x40\xef\x78\xd4\xac\x68\xb6\x38\x69\xe0\x86\xa9\x90\x0d\x0d\x38\x69\x5f\xa5\xe9\xc6\xc0\x87\x58\x6b\xbd\x60\xdb\x9c\x37\xfb\x2f\xf5\xf0\xc7\xce\x43\xb8\x21\xa7\xce\x9e\x2b\xfc\xff\x1f\x3e\x7b\x16\xe4\x67\x3e\x83\x0e\x2c\xd5\x4f\x7a\x14\x1d\x58\xb5\x9d\x4f\xa4\xc5\x68\x64\x03\x36\x01\x57\x8f\x74\xe9\xda\xda\xde\xba\x52\xde\xe9\xbe\x45\x1b\x27\x35\x73\x73\x0a\x46\x34\x56\x1a\xa4\x4c\x08\x07\xde\xe7\xd7\xbc\x58\x25\xac\x1e\x79\xda\x77\xb9\xde\xab\x5f\xf5\x3a\xfa\x11\x21\x02\x3c\x77\xb2\xc1\xfc\x92\x52\x5c\xd7\x40\xda\x1f\x89\x9d\x10\xac\x81\x2c\x9d\xc8\xc4\xba\x64\x68\xd9\xd2\x9b\x12\x91\x26\xd9\x3a\x31\x49\x8a\x59\x15\xa3\xc5\x68\xcb\x17\x82\x61\x5a\x39\x60\x22\xdd\xb7\x0f\x22\xd5\x06\xf6\xd7\x29\x95\xc9\x06\x0a\xd5\xae\x99\xff\x02\x00\x00\xff\xff\x9c\x4d\x90\xf9\x7d\x17\x00\x00") func templatesElasticCacheTfMainTfBytes() ([]byte, error) { return bindataRead( @@ -339,10 +319,8 @@ func templatesElasticCacheTfMainTf() (*asset, error) { return nil, err } - - 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}} - + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6013, mode: os.FileMode(0644), modTime: time.Unix(1718354075, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x17, 0x93, 0xdd, 0x1a, 0xbc, 0x37, 0x3b, 0x32, 0x67, 0x6c, 0xd1, 0xf6, 0x4a, 0xfb, 0xdb, 0xe4, 0x3, 0xbc, 0xd9, 0x8, 0xf9, 0xce, 0x0, 0x27, 0x37, 0x5, 0x7a, 0x41, 0xf8, 0x3b, 0xfa, 0xac}} return a, nil } @@ -361,9 +339,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1716464376, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil } @@ -383,9 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718284659, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } @@ -405,9 +379,7 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil } @@ -427,9 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -449,9 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil } From 7f58aaf87033cc3804939bcaedda9373285a3ef3 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Fri, 14 Jun 2024 18:01:01 +0530 Subject: [PATCH 17/18] Revert "INFRA-3107 | Saurabh | Elastic Cache version upgrade dropdown" --- bindata/bindata.go | 40 +++++++++++++++--------------- templates/elastic-cache-tf/main.tf | 14 ----------- types.go | 1 - 3 files changed, 20 insertions(+), 35 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index 5db8da1..e49201a 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -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.013kB) +// templates/elastic-cache-tf/main.tf (5.565kB) // 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) @@ -99,7 +99,7 @@ func templatesAuroraDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0xd6, 0xbd, 0xd6, 0x82, 0xa3, 0x1c, 0xc9, 0xe8, 0x32, 0xeb, 0x25, 0x3d, 0x8b, 0x44, 0x41, 0x2c, 0xe, 0x9, 0x9b, 0xa, 0xa1, 0x3e, 0xaa, 0x8, 0xfc, 0x72, 0xef, 0x72, 0x46, 0x2a, 0xfd}} return a, nil } @@ -119,7 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil } @@ -139,7 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil } @@ -159,7 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil } @@ -179,7 +179,7 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil } @@ -199,7 +199,7 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1394, mode: os.FileMode(0644), modTime: time.Unix(1718354436, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1394, mode: os.FileMode(0644), modTime: time.Unix(1718347963, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x2c, 0x0, 0x73, 0x49, 0xe, 0xd3, 0x39, 0x34, 0x62, 0xc3, 0x44, 0x4a, 0xe1, 0x99, 0x5b, 0x49, 0x65, 0xa1, 0x5f, 0x85, 0xcd, 0xf8, 0x5a, 0x28, 0xfe, 0x2f, 0xd8, 0xd2, 0x45, 0xe4, 0xbe}} return a, nil } @@ -219,7 +219,7 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil } @@ -239,7 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil } @@ -259,7 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil } @@ -279,7 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1714643526, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil } @@ -299,12 +299,12 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } -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\xf2\xae\x65\xd9\x2b\x4b\x32\xd0\xe8\xa6\xd1\x9b\x37\x33\x6f\xc8\xa1\x48\x04\xe7\xd8\xc4\x3a\x4d\xee\x47\x84\x8c\x19\x9f\x81\x11\xa4\xf0\xbf\x15\xc9\x40\xc8\x38\xf0\x19\x20\xe9\x7f\x4e\x48\x61\xd8\x8d\x2c\xc7\xcc\xcc\xca\x15\x45\xc9\xad\xd6\xcc\x88\xd2\x23\x43\x28\x92\xbb\x83\xa9\xb4\x66\xdd\x9d\x35\xa5\xb7\x01\xeb\xf2\x5d\xc6\xcd\x60\x4e\xd6\x3e\x27\xa4\x00\xc5\x3c\x4a\x5e\x72\xc6\xeb\x96\xf2\xd6\xba\x99\x6f\x18\x07\x3a\x83\x39\x6d\x1c\x4c\xe4\xdd\x1a\x34\xe7\xe0\x8f\xee\xef\x49\x75\x61\x26\x8e\x7d\x07\x87\x92\x33\x45\x16\x8b\x64\x3c\xbf\x43\xc7\xbe\x82\xb7\xc1\x71\xf0\xd5\xb9\xb9\x91\xce\x1a\x0d\x06\x37\x21\x32\xfd\x59\x64\xaf\x2e\x8c\x47\x66\x38\x5c\x31\x0d\x64\xb1\xc8\x89\x35\xce\x4e\xa4\x82\xb5\x1a\xb8\x16\x19\xc0\xb8\x7a\xb2\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\x3c\xf4\x64\x2b\x19\x7b\x3c\x29\x4b\x7a\xb3\x6c\x5a\xa6\xea\x37\xb2\x87\x47\x60\xba\x45\x5d\x03\xd3\xd5\x63\xc6\x08\x61\x53\x1f\x21\xa9\x15\xd7\x2f\xe0\x23\xe6\x73\xec\x47\x17\x94\x0d\x8f\x50\x5f\x9c\x15\x81\x63\x17\xb7\x34\x3d\x42\x9e\xef\xa0\x2b\x21\x29\xc3\x87\x36\x47\xe7\x6e\xd2\x09\x95\xea\x34\x56\x00\xc5\x79\x03\x03\x1a\x70\x7a\xeb\x97\x3d\x38\x53\xcc\xfb\x7e\x50\xd6\x34\x6a\x4e\xa5\xd6\x20\x24\x43\x50\xf3\x21\x8c\xd1\xe7\xa2\xe3\x92\xc5\xbf\xbf\x2f\x89\x9c\x3c\xef\x7a\x6e\xa6\xd2\xc0\x77\x70\x3e\x8e\x8c\x94\x01\x24\x53\x5c\x07\xc9\xf6\x72\xf8\x3e\x47\xaf\x9a\x98\x42\x1c\x6e\xbd\x84\x1c\x4c\xe1\xee\x92\x21\xaf\x49\xf1\xf7\xc7\x62\xeb\x04\x27\x4c\xcb\xa4\x4b\xe1\x40\x48\xff\xb1\x58\x06\x52\x1e\xd6\xf8\x3f\xec\xcc\xff\xa1\xba\x7b\x36\xc2\xfb\x9d\x23\xbc\xaf\x7e\x29\x1e\x89\x35\xb0\x7d\x97\x41\xa1\x3c\xfd\x2b\xb3\xea\xf8\x85\xb2\x1f\x14\x0c\x1b\x2b\x10\xe4\x84\xa0\x0b\x10\x97\x67\xd0\x63\x70\x79\x82\x51\xae\x82\x47\x70\x71\x5f\xfe\xda\xad\x2b\xcf\x92\x0d\xc8\x77\xfd\xfc\x56\xd9\x59\x37\x2c\xc1\x67\x41\x67\x39\xce\xa5\x15\xcb\x4d\x10\xd0\x6a\x16\x87\xee\x84\x49\x65\x6f\xc0\xad\xd7\xd4\x66\xd3\x4d\x66\xbb\x20\x6d\x75\x54\xc7\xbd\xfb\x94\x64\x34\xed\xea\xa9\xb3\xa1\xf1\x03\xb6\xc1\x55\xd0\x57\x56\xc0\x9f\x19\x9f\x42\x38\x68\x94\xe4\xcc\xd3\x06\x5c\x87\x6d\x18\xd9\xd7\xd6\xf9\x0b\xb8\x15\xef\xda\xae\x1a\xb8\xcb\x3b\x5f\x4e\x15\x38\xbc\xae\x1d\xf8\xda\x2a\xe1\xdb\xad\xb9\x33\x4f\x75\xd6\x84\x6f\x28\x95\xfc\xc1\x70\xb5\xce\x79\x13\x68\x78\x30\x52\xa6\x98\xd3\x14\x97\x4e\x43\x66\xcb\xf0\x88\x8f\x66\x77\x7f\xf4\xec\xa5\xbe\xb3\xb8\x5b\xf1\x13\x53\x71\x76\x3f\x54\xc8\x93\x99\x8e\xb3\x7d\xff\x45\xf6\xc3\x1e\xb8\xcc\x4b\xd0\xd6\xcd\xbf\x79\x36\x6d\x43\xe8\x64\xa0\x21\x5a\xf6\x5c\x5b\x37\xd6\x81\xcb\xba\x02\x8c\xff\x61\x3f\x31\x23\x6e\xa5\xc0\xfa\xc2\x9c\x2a\x65\x6f\xa3\xa2\xe7\x77\x1c\x40\x40\xbb\x9d\x4c\x06\xd2\xf1\x12\x49\x65\x5c\xb7\x2d\x96\x42\x0b\xde\xb3\x12\x43\xd2\x7b\x63\x85\x3e\x07\x1c\x2c\x91\x0d\xf8\xf6\x1a\x3d\x99\xe0\x1b\x8b\x74\xed\xe2\xed\x4d\xbc\x20\x14\xb7\xc6\x00\x8f\x43\xca\x53\xcc\x1e\x6f\x2f\xd7\xc6\x54\x9f\x95\xec\xc9\x3f\x70\xdb\xe5\xf4\x47\x70\x69\x40\xef\x78\xd4\xac\x68\xb6\x38\x69\xe0\x86\xa9\x90\x0d\x0d\x38\x69\x5f\xa5\xe9\xc6\xc0\x87\x58\x6b\xbd\x60\xdb\x9c\x37\xfb\x2f\xf5\xf0\xc7\xce\x43\xb8\x21\xa7\xce\x9e\x2b\xfc\xff\x1f\x3e\x7b\x16\xe4\x67\x3e\x83\x0e\x2c\xd5\x4f\x7a\x14\x1d\x58\xb5\x9d\x4f\xa4\xc5\x68\x64\x03\x36\x01\x57\x8f\x74\xe9\xda\xda\xde\xba\x52\xde\xe9\xbe\x45\x1b\x27\x35\x73\x73\x0a\x46\x34\x56\x1a\xa4\x4c\x08\x07\xde\xe7\xd7\xbc\x58\x25\xac\x1e\x79\xda\x77\xb9\xde\xab\x5f\xf5\x3a\xfa\x11\x21\x02\x3c\x77\xb2\xc1\xfc\x92\x52\x5c\xd7\x40\xda\x1f\x89\x9d\x10\xac\x81\x2c\x9d\xc8\xc4\xba\x64\x68\xd9\xd2\x9b\x12\x91\x26\xd9\x3a\x31\x49\x8a\x59\x15\xa3\xc5\x68\xcb\x17\x82\x61\x5a\x39\x60\x22\xdd\xb7\x0f\x22\xd5\x06\xf6\xd7\x29\x95\xc9\x06\x0a\xd5\xae\x99\xff\x02\x00\x00\xff\xff\x9c\x4d\x90\xf9\x7d\x17\x00\x00") +var _templatesElasticCacheTfMainTf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x4d\x6f\x22\x39\x10\xbd\xf7\xaf\xb0\xb8\x37\xd1\xec\xde\x22\x45\xda\x0c\x1b\xad\x72\x48\x66\x34\x62\xf6\xb0\x17\xcb\xd8\x05\x58\xf8\xa3\xd7\x2e\x43\x18\x96\xff\xbe\xb2\xdd\x40\x37\x84\xa4\x49\x20\xd2\x0c\xb7\x2e\x5e\xbd\xaa\x7a\x65\x77\xb5\x8d\xe0\x1c\x1b\x5b\xa7\xc9\xaa\x20\x64\xc4\xf8\x0c\x8c\x20\x3d\xff\x7b\x2f\x19\x08\x19\x05\x3e\x03\x24\xed\xdf\x0d\xe9\x19\x36\x97\xe5\x88\x99\x59\xb9\xa5\x28\xb9\xd5\x9a\x19\x51\x7a\x64\x08\xbd\xe4\xee\x60\x22\xad\x39\x74\x67\x55\xe9\x6d\xc0\x69\xf9\x29\xe3\x66\xb0\x24\x07\xbf\x1b\xd2\x03\xc5\x3c\x4a\x5e\x72\xc6\xa7\x35\xe5\xc2\xba\x99\xaf\x18\x07\x3a\x83\x25\xad\x1c\x8c\xe5\xd3\x01\x34\xe7\xe0\xaf\x56\x2b\xd2\xbf\x37\x63\xc7\xfe\x06\x87\x92\x33\x45\xd6\xeb\x64\xbc\x7b\x42\xc7\xbe\x81\xb7\xc1\x71\xf0\xfd\x3b\x33\x97\xce\x1a\x0d\x06\x8f\x21\x32\xfd\x20\xb2\xf7\xef\x8d\x47\x66\x38\x3c\x32\x0d\x64\xbd\xce\x89\x55\xce\x8e\xa5\x82\x83\x1a\xb8\x16\x19\xc0\xb8\x7a\xb6\xc8\xac\x71\x69\x17\x06\x5c\x39\x0e\x4a\x95\xdc\x1a\x74\x56\x45\xb7\x75\xb1\x2e\x0a\x6d\x45\x50\xb0\xad\x91\x66\x39\x52\x8b\x72\x7e\x0d\xb6\x89\xc4\xeb\x6b\xef\xa7\xd7\x57\x57\x13\x89\x7f\x4c\x24\x4e\xc3\xa8\xcf\xad\xbe\x4a\x3d\x93\x51\x8d\xab\xb6\x58\x99\xbe\x3f\x91\x18\x23\x42\x43\x8b\xc8\xf8\x8a\x5c\xff\x91\x7f\x83\xc5\x28\x43\x41\x88\x61\x1a\x76\x3d\x39\x49\xc6\x16\x4f\xca\x92\xce\x37\x4d\xcb\x54\xed\x46\xb6\xf0\x08\x4c\xd7\xa8\x21\x30\xdd\xdf\x67\x8c\x10\x36\xf1\x11\x92\x5a\x31\x7c\x05\x1f\x31\x5f\x62\x3f\x9a\xa0\x6c\xd8\x43\x7d\x75\x56\x04\x8e\x4d\xdc\xc6\xb4\x87\xbc\x7b\x87\xae\x84\xa4\x0c\x77\x6d\x8e\xce\xcd\xa4\x13\x2a\xd5\x69\xac\x00\x8a\xcb\x0a\x3a\x34\xe0\x76\xe1\x37\x3d\x18\x28\xe6\x7d\x3b\x28\xab\x2a\xb5\xa4\x52\x6b\x10\x92\x21\xa8\x65\x17\xc6\xe8\x73\xdf\x70\x49\x4c\xab\x55\x49\xe4\xf8\x65\xcf\x87\xa0\x50\xde\xfe\x93\x1d\x74\x7c\xa0\xec\x07\x05\xc3\x46\x0a\x04\xb9\x21\xe8\x02\xc4\xf2\x82\x1e\x81\xcb\x3b\x80\x72\x15\x3c\x82\x8b\x7d\xfd\xad\x0e\x03\xca\x6f\xd6\xe2\x11\xe4\xa7\x0d\xd2\x88\x56\x76\xd6\x75\x4b\xf0\x45\xd0\x20\xc7\x79\xb0\x62\x23\x62\x40\xab\x59\xdc\xb4\x63\x26\x95\x9d\x83\x3b\xac\xa9\xce\xa6\xb3\x54\x07\x41\xea\xea\xa8\x8e\xbd\x7f\x4e\x32\x9a\x56\xc5\xc4\xd9\x50\xf9\x0e\x5d\x7c\x0c\xfa\xd1\x0a\xf8\x2b\xe3\x53\x08\x07\x95\x92\x9c\x79\x5a\x81\x6b\xb0\x75\x23\xfb\x56\x3b\x7f\x05\xb7\xe5\xdd\x69\xbf\xdf\x88\x17\xd9\x9a\x0f\xb7\x0a\x1c\x0e\xa7\x0e\xfc\xd4\x2a\xe1\xeb\x8d\xfe\x6e\x9e\xfe\xa0\x0a\xdf\x51\x2a\xf9\x83\x61\x9c\x5e\x59\xe2\x2a\xd0\xb0\x33\x52\xa6\x98\xd3\x14\x37\x4e\x1d\x74\x38\x21\xe2\xde\xde\x6f\x88\x74\xae\xfa\x06\x0e\x84\xc4\xcf\x4c\xc5\xbd\xbf\xab\x90\x27\x33\x1d\x65\xfb\xf9\x8b\x6c\x87\xbd\x70\x99\x0f\xa0\xad\x5b\x7e\xf7\x6c\x52\x87\xd0\xc9\x40\x43\xb4\x9c\xb9\xb6\x66\xac\x0b\x97\xf5\x08\x18\xbf\x81\x3e\x33\x23\x16\x52\xe0\xf4\xde\xdc\x2a\x65\x17\x51\xd1\xbb\x27\x0e\x20\xa0\xde\x4e\x26\x03\xe9\x68\x83\xa4\x32\xae\xdb\x1a\x4b\xa1\x06\x9f\x59\x89\x2e\xe9\x7d\xb0\x42\x5f\x02\x76\x96\xc8\x06\xfc\x78\x8d\x9e\x4d\xf0\x83\x45\x1a\xba\xf8\xf5\x2f\x5e\x11\x8a\x5b\x63\x80\xc7\x97\x94\xa7\x98\x3d\x3e\x5e\xae\xa3\xa9\xbe\x28\xd9\xe1\xd3\xc9\xf2\xfd\x19\x5c\x7a\x41\xbf\x73\xd4\x6c\x69\x4e\x98\x34\x30\x67\x2a\x64\x43\x05\x4e\xda\x37\x69\x7a\x34\xf0\x25\xd6\x5a\x2b\xd8\x29\xf3\xe6\xfc\xa5\x5e\x7e\xec\xec\xc2\x75\x99\x3a\x67\xae\xf0\xe7\x1f\x3e\x67\x16\xe4\x57\x9e\x41\x17\x96\xea\x17\x1d\x45\x17\x56\xed\xdd\x13\x69\x5d\x14\x36\x60\x15\x70\x7b\xc9\x93\x8e\xad\xf5\xa9\x2b\xe5\x9d\xce\x5b\xb4\x72\x52\x33\xb7\xa4\x60\x44\x65\xa5\x41\xca\x84\x70\xe0\x7d\xbe\x0d\x8a\x55\xc2\xf6\x92\xa0\xbe\xd7\x69\xdd\x1a\xf5\xdf\x46\x5f\x10\x22\xc0\x73\x27\xab\x34\x2f\x6e\x48\x6f\x38\x05\x52\xff\x49\xec\x98\xe0\x14\xc8\xc6\x89\x8c\xad\x4b\x86\x9a\x2d\xdd\x49\x10\x69\x92\xad\x11\x93\xa4\x98\xfd\x5e\xb1\x2e\x4e\xbc\x21\xe8\xa6\x95\x03\x26\xd2\x79\xfb\x22\x52\x1d\x61\x7f\x9b\x52\x99\xac\xa3\x50\xf5\x9a\xf9\x3f\x00\x00\xff\xff\xb5\xef\xca\xea\xbd\x15\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: 6013, mode: os.FileMode(0644), modTime: time.Unix(1718354075, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x17, 0x93, 0xdd, 0x1a, 0xbc, 0x37, 0x3b, 0x32, 0x67, 0x6c, 0xd1, 0xf6, 0x4a, 0xfb, 0xdb, 0xe4, 0x3, 0xbc, 0xd9, 0x8, 0xf9, 0xce, 0x0, 0x27, 0x37, 0x5, 0x7a, 0x41, 0xf8, 0x3b, 0xfa, 0xac}} + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x3c, 0x66, 0x49, 0x51, 0x47, 0x68, 0x46, 0x6f, 0xa5, 0x84, 0x71, 0x3b, 0xa1, 0xb5, 0xbf, 0x44, 0x60, 0x73, 0xb6, 0xba, 0x93, 0x63, 0xde, 0x76, 0x84, 0x83, 0x8f, 0xbe, 0x99, 0x8d, 0x43}} return a, nil } @@ -339,7 +339,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1716464376, 0)} + info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil } @@ -359,7 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718284659, 0)} + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } @@ -379,7 +379,7 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil } @@ -399,7 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -419,7 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1714643518, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil } diff --git a/templates/elastic-cache-tf/main.tf b/templates/elastic-cache-tf/main.tf index e56a42a..bae394e 100644 --- a/templates/elastic-cache-tf/main.tf +++ b/templates/elastic-cache-tf/main.tf @@ -26,20 +26,6 @@ module "elastic_cache" { node_type = {{ .ExtraResources.ElasticCache.AwsInstanceClass | quote }} apply_immediately = {{ .ExtraResources.ElasticCache.ApplyImmediately }} - - {{- if .ExtraResources.ElasticCache.EngineVersion }} - engine_version = {{ .ExtraResources.ElasticCache.EngineVersion | quote }} - {{- end }} - - {{- if regexMatch "^7" .ExtraResources.ElasticCache.EngineVersion }} - family = "redis7" - {{- else if regexMatch "^6" .ExtraResources.ElasticCache.EngineVersion }} - family = "redis6.x" - {{- else if regexMatch "^5" .ExtraResources.ElasticCache.EngineVersion }} - family = "redis5.0" - {{- end }} - - {{- if .ExtraResources.ElasticCache.MultiAZ }} multi_az_enabled = true number_cache_clusters = 2 diff --git a/types.go b/types.go index 6537b3f..5273843 100644 --- a/types.go +++ b/types.go @@ -172,7 +172,6 @@ type ElasticCache struct { AwsInstanceClass string `json:"awsInstanceClass"` InstanceName string `json:"instanceName" valid:"required"` MultiAZ bool `json:"multiAZ"` - EngineVersion string `json:"engineVersion"` ApplyImmediately bool `json:"applyImmediately"` ClusterMode bool `json:"clusterMode,omitempty"` NumNodeGroups int `json:"numberOfNodeGroups,omitempty"` From 898472e8366fdd73ab948a71c99d1fad965a0044 Mon Sep 17 00:00:00 2001 From: Saurabh Bhagwan Sathe Date: Fri, 14 Jun 2024 18:03:41 +0530 Subject: [PATCH 18/18] INFRA-3107 | Saurabh | Revert --- bindata/bindata.go | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/bindata/bindata.go b/bindata/bindata.go index e49201a..8ed5ff3 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -99,7 +99,7 @@ func templatesAuroraDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1515, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0xd6, 0xbd, 0xd6, 0x82, 0xa3, 0x1c, 0xc9, 0xe8, 0x32, 0xeb, 0x25, 0x3d, 0x8b, 0x44, 0x41, 0x2c, 0xe, 0x9, 0x9b, 0xa, 0xa1, 0x3e, 0xaa, 0x8, 0xfc, 0x72, 0xef, 0x72, 0x46, 0x2a, 0xfd}} return a, nil } @@ -119,7 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9464, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x73, 0x98, 0x1, 0xbd, 0xe8, 0x19, 0xf1, 0x92, 0xce, 0x7b, 0x7a, 0xee, 0xb0, 0x13, 0x27, 0x67, 0x9, 0x4e, 0xf0, 0x11, 0x7c, 0xb, 0xa0, 0x5d, 0xa2, 0xef, 0xcc, 0xc9, 0xc, 0xd4, 0x14}} return a, nil } @@ -139,7 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 1990, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xc1, 0xfa, 0x34, 0x44, 0x42, 0x27, 0x15, 0x68, 0x62, 0xdc, 0xe8, 0x4a, 0x1e, 0x85, 0x58, 0x5c, 0xb8, 0xab, 0x65, 0x5e, 0xc2, 0x4, 0x49, 0x88, 0x25, 0x38, 0x16, 0x12, 0x65, 0xcc, 0xe4}} return a, nil } @@ -159,7 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xc0, 0xf1, 0x87, 0xbc, 0xc8, 0x66, 0xa3, 0x32, 0x15, 0x1f, 0x5c, 0x5e, 0xc0, 0x20, 0x98, 0x66, 0x3b, 0x4a, 0xfc, 0x2a, 0x16, 0x33, 0x88, 0x38, 0x9d, 0x56, 0x79, 0x34, 0xa9, 0x3c, 0x20}} return a, nil } @@ -179,7 +179,7 @@ func templatesAwsS3BucketTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1075, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x25, 0x7b, 0x3a, 0x87, 0xcb, 0x58, 0x6a, 0x11, 0xb8, 0x7e, 0x6, 0x13, 0x49, 0x6b, 0x1c, 0xcd, 0xeb, 0xc7, 0x89, 0x7, 0x67, 0x45, 0x63, 0xa, 0xd3, 0x71, 0x60, 0xd7, 0xf9, 0x99, 0x5b}} return a, nil } @@ -199,7 +199,7 @@ func templatesAwsS3BucketTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1394, mode: os.FileMode(0644), modTime: time.Unix(1718347963, 0)} + info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1394, mode: os.FileMode(0644), modTime: time.Unix(1718368331, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x2c, 0x0, 0x73, 0x49, 0xe, 0xd3, 0x39, 0x34, 0x62, 0xc3, 0x44, 0x4a, 0xe1, 0x99, 0x5b, 0x49, 0x65, 0xa1, 0x5f, 0x85, 0xcd, 0xf8, 0x5a, 0x28, 0xfe, 0x2f, 0xd8, 0xd2, 0x45, 0xe4, 0xbe}} return a, nil } @@ -219,7 +219,7 @@ func templatesDocumentDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1045, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x5d, 0x7e, 0x37, 0x93, 0x3d, 0x1a, 0x41, 0x45, 0x5d, 0xe3, 0xf2, 0x12, 0x6d, 0x3, 0x7f, 0x53, 0x8c, 0xe1, 0x89, 0x9c, 0xf2, 0xab, 0xd2, 0x8f, 0xfe, 0x8b, 0x39, 0x3, 0xd8, 0xa, 0x5f}} return a, nil } @@ -239,7 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 4899, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x71, 0x19, 0xf9, 0x10, 0x63, 0x26, 0x7b, 0xac, 0xde, 0x6e, 0x78, 0x36, 0xb, 0x6a, 0x5e, 0x44, 0xe3, 0x10, 0x28, 0xe8, 0x75, 0x6d, 0x8, 0xab, 0xdc, 0x3b, 0x30, 0x88, 0x18, 0x4f, 0xec}} return a, nil } @@ -259,7 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 646, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xee, 0xd3, 0x54, 0xbc, 0x8d, 0xbf, 0x7d, 0x81, 0x33, 0x48, 0xbc, 0x6e, 0x52, 0xf2, 0xed, 0xff, 0x9d, 0x11, 0x40, 0x23, 0xc9, 0xb5, 0xa, 0xe8, 0xf7, 0xea, 0xf3, 0x65, 0x15, 0x4d, 0x18, 0x55}} return a, nil } @@ -279,7 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4473, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xc, 0xb, 0x7, 0x91, 0xda, 0xbd, 0x88, 0x79, 0xe7, 0xf, 0x5c, 0x8e, 0x32, 0x8b, 0x7e, 0x83, 0x86, 0xe, 0xc8, 0xe8, 0xec, 0x9c, 0xee, 0xb7, 0x5a, 0x85, 0x6e, 0xd6, 0xeb, 0x16, 0x60}} return a, nil } @@ -299,7 +299,7 @@ func templatesElasticCacheTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1047, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x8d, 0x67, 0xb1, 0x4e, 0x5b, 0x3d, 0x79, 0x4b, 0xf, 0x11, 0xb2, 0xe4, 0xd2, 0x80, 0x23, 0x8e, 0x62, 0x89, 0x19, 0xa5, 0x8c, 0x62, 0xbe, 0xe2, 0xfc, 0x4a, 0x4c, 0xc9, 0x92, 0x11, 0x82}} return a, nil } @@ -319,7 +319,7 @@ func templatesElasticCacheTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 5565, mode: os.FileMode(0644), modTime: time.Unix(1718368366, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x3c, 0x66, 0x49, 0x51, 0x47, 0x68, 0x46, 0x6f, 0xa5, 0x84, 0x71, 0x3b, 0xa1, 0xb5, 0xbf, 0x44, 0x60, 0x73, 0xb6, 0xba, 0x93, 0x63, 0xde, 0x76, 0x84, 0x83, 0x8f, 0xbe, 0x99, 0x8d, 0x43}} return a, nil } @@ -339,7 +339,7 @@ func templatesRdsTfDeploySh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4236, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x97, 0x54, 0x2e, 0xed, 0xac, 0xfc, 0xdd, 0x21, 0xdc, 0x2d, 0xfa, 0x30, 0x98, 0xd5, 0xab, 0xf5, 0xb6, 0x66, 0x1e, 0xc2, 0xb8, 0xdd, 0x4b, 0xc0, 0xf, 0xf0, 0x3, 0x68, 0xb9, 0xa0, 0x2c}} return a, nil } @@ -359,7 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11550, mode: os.FileMode(0644), modTime: time.Unix(1718368331, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xe0, 0x8f, 0x76, 0x82, 0x98, 0x19, 0xe7, 0xe6, 0xf6, 0xbb, 0x4, 0xe0, 0xcd, 0x9f, 0x2f, 0x20, 0x5a, 0x27, 0x31, 0x36, 0x62, 0x3a, 0x3c, 0x6b, 0xd, 0xcd, 0xd7, 0x6, 0x96, 0x8c, 0x19}} return a, nil } @@ -379,7 +379,7 @@ func templatesRdsTfScriptsPostTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13.sh", size: 2751, mode: os.FileMode(0755), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x4b, 0x4, 0x40, 0x45, 0x23, 0xbd, 0xb2, 0x6f, 0xae, 0xe2, 0x47, 0x17, 0xea, 0xca, 0x94, 0x12, 0x5e, 0x7, 0x82, 0x42, 0x51, 0xfc, 0x56, 0x35, 0x8, 0x4f, 0x68, 0x8, 0xee, 0x1b, 0x1f}} return a, nil } @@ -399,7 +399,7 @@ func templatesRdsTfScriptsPreTerraformApplyModifyVersion11__to__13Sh() (*asset, return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13.sh", size: 5643, mode: os.FileMode(0755), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0xb, 0x3c, 0x85, 0xfa, 0x1b, 0x6f, 0xc1, 0xa9, 0xef, 0xc4, 0x15, 0xcf, 0xc0, 0xad, 0xd4, 0x29, 0x3, 0xbf, 0x4a, 0xec, 0x13, 0x24, 0x6f, 0x3d, 0xd3, 0xc3, 0x97, 0xba, 0xfe, 0x72, 0x4a}} return a, nil } @@ -419,7 +419,7 @@ func templatesRdsTfScriptsRun_additional_scriptsSh() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1718347862, 0)} + info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1443, mode: os.FileMode(0644), modTime: time.Unix(1718368317, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x7c, 0x45, 0x1e, 0x80, 0x15, 0x42, 0x13, 0x4, 0x79, 0x3b, 0x52, 0x2b, 0x63, 0x32, 0xaa, 0x5d, 0x9, 0xe8, 0xe, 0xe3, 0x6f, 0xfa, 0x6, 0x60, 0x7d, 0xaf, 0xab, 0x6d, 0xc6, 0x72, 0x7}} return a, nil }