diff --git a/bindata/bindata.go b/bindata/bindata.go index 7cfae4d..54cc4dc 100644 --- a/bindata/bindata.go +++ b/bindata/bindata.go @@ -454,7 +454,7 @@ func bindataTemplatesElasticcachetfMainTf() (*asset, error) { return a, nil } -var _bindataTemplatesRdstfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x57\x4b\x8f\xdb\x36\x10\xbe\xf3\x57\x4c\xb5\x46\x1c\x1f\x24\x05\x9b\x43\x81\x2e\xb6\xc0\x02\x69\xaf\x29\x92\x02\x3d\x6c\x03\x81\x26\xc7\x32\x11\x89\x64\x39\xd4\x3a\x86\x57\xff\xbd\x20\xad\x87\x5f\x6b\xef\xb6\x09\xda\xf8\x44\x73\x1e\xdf\x70\x66\xbe\x11\x79\xf5\x43\x3e\x57\x3a\xa7\x25\x63\x84\x1e\x52\x64\x6c\xd1\x68\xe1\x95\xd1\x40\x9e\x7b\x2c\x6a\x55\x3a\x1e\xfe\xbf\x9e\xc1\x86\x01\x00\x5c\x81\xc3\xda\x3c\x20\x18\x1b\xf5\x4a\x67\x1a\x0b\x0b\x67\x6a\xf0\xe8\x1c\x5f\x18\x57\x6f\x8d\x81\xd3\xbe\x12\xb7\x0a\x14\x75\xf6\x12\xe6\x6b\xe0\x2b\x82\x85\x71\x60\x0d\xf9\xd2\x21\x01\xd7\x12\x56\x08\x82\xeb\xa9\x07\x89\x15\xfa\x03\x20\x4e\xa0\x3c\x41\x43\x5b\x07\xa4\xb9\xa5\xa5\xf1\x59\x8c\xed\x30\x80\x4a\x91\x87\x47\x28\x1d\x5a\x98\xd6\x46\x36\x15\x66\x4e\x52\x36\x2e\x0b\xa5\xc9\x73\x2d\xb0\xdf\x93\xf3\x71\x55\x6c\x91\x8b\x88\x9c\xf1\x15\x15\x87\x7b\x7e\xa9\x68\x0a\xaf\x5e\x1d\x21\xbb\xfa\x1b\x02\xb2\x78\xd8\x90\x37\x05\x4a\xc3\xe4\xf5\xb9\x73\xef\x81\x16\x0e\x6d\xa5\x04\xef\x20\x67\x37\xd2\x44\x5f\xe1\x87\x62\x69\x20\xc1\x2f\x28\x1a\xaf\x74\x99\x1c\x08\x0e\x31\xea\x07\x98\x28\x98\x6c\x54\x7e\x06\xe0\xa4\xec\xfe\xcd\xa7\x4e\xdc\x8e\x20\xdf\xc4\x7d\xf4\x2e\x8d\x46\xd6\x32\xc6\xa5\x54\x21\x93\xbc\x2a\x06\xb0\x2e\xb9\x74\x9b\x24\x8c\x6d\x36\x29\xa8\x45\x6c\xc1\xec\x2e\x92\x80\xb2\xdf\x2a\xae\xc7\x7f\xef\x90\xbc\x33\x6b\x68\xdb\x0b\xde\x26\x9b\x73\xf2\x16\x52\xb9\xf5\x94\x44\x50\xac\x08\x03\xb2\x71\xc7\x50\xc3\xc6\x9d\xb5\xd5\xd7\x40\xe6\x8d\x37\x29\xb7\xd6\x99\x07\xec\xe0\xb5\x0c\x7e\x19\x1b\x6b\xa0\xb4\xf2\x3b\x7f\x57\xc6\x7d\x26\xcb\x05\x02\x61\x85\xc2\xc3\x66\x03\xd9\x2f\x5f\xbc\xe3\x1f\x90\x4c\xe3\x04\x52\xf6\xc7\xa0\xd3\xb6\xf0\xf8\x08\xa7\xac\x35\xae\x2e\x99\x32\x16\x22\x53\x12\x1d\xdd\xee\x36\xf6\xb0\x3b\xf0\xd9\x61\xa9\xc8\xbb\x75\x36\x28\x65\xca\xe4\xe9\x14\x1e\x81\xaf\x3e\x43\xfa\x2b\x24\xf7\x09\x4c\x37\xd6\x29\xed\x61\x72\xdd\x06\x49\x18\x1b\x53\xca\xb3\x49\x9e\x4f\x67\x2c\x8a\x16\x30\xfd\x53\x4f\x59\x1c\x43\x1d\x48\x64\xd5\x80\x78\x03\x81\x25\x6a\xd1\x11\x61\x10\x24\x7d\x28\xe9\x5f\x90\xf4\x13\x2c\xb9\x01\xbf\x44\x1d\x3a\x4f\x18\xe7\x50\xf8\xa2\xd7\x0f\xc5\xe9\xd7\x79\x9e\xe6\x62\xed\x54\x55\x4a\x1d\x58\x10\x5a\xe0\x39\x36\x4b\x4e\x4b\x25\x8c\xb3\xc1\x68\xa1\xd8\x09\xd6\x9e\xa6\x6b\x20\x07\x17\x98\x0e\x47\xdc\x6b\x84\xf1\xb4\x30\x39\x0c\x21\x61\xc7\xd3\xed\xbc\xb3\xdd\x14\x25\x27\xfc\x45\x46\xee\xe6\xbe\xa7\xde\x3e\xed\xda\xf6\x68\xff\x43\xa3\xef\x86\xf6\xfe\x28\x9c\xb2\x9e\x82\x1e\x6d\x97\xb9\x6b\x74\xb1\xd3\xff\xdd\x36\x24\xd6\x61\x3a\x1c\x22\xc4\x59\xad\xf7\x7a\x7f\x97\x06\x4f\xc5\x32\x92\x89\x47\xc9\xad\xad\xb8\xde\x21\xc9\xe4\x50\x01\x52\xcf\x5d\x89\xfe\xf6\xfc\x87\xe0\x99\x6a\xfd\x78\x3b\xa5\x2e\xb9\xe7\xf1\x73\x41\xcd\x5c\xa3\x2f\x94\xa4\x4c\x98\xba\xe6\x5a\x16\xd6\xa9\x87\xf0\x25\xdf\x8a\xe8\x19\xe6\x4f\xdb\x4e\xce\xcd\x96\x7f\x30\xca\x0e\xee\x18\x47\xa9\xdf\x99\xb7\x47\xd9\xef\x26\xe8\x7f\x50\x80\x0b\x69\x78\x61\x40\xff\x8f\xda\xbd\xf0\xe6\xd4\x4f\xbb\x42\xce\x9f\xba\xfe\x9c\xbf\x95\x5c\xf0\x39\x1b\x9b\xe9\x54\xed\x23\x81\xbf\xf7\x44\x7f\x9f\xed\x7a\x5c\xac\xe7\x4c\x85\x0b\xa3\xf5\xab\x8d\x79\x43\xfe\x45\x73\xbe\x5f\x5f\xc1\xef\xef\xdf\xbd\xff\xa9\x7f\xda\xfc\xcb\xee\x31\xa1\x4a\x63\x5e\x9d\x24\x18\xdf\x51\x64\x51\xa8\x85\x12\x40\xde\x38\x5e\x62\xe1\xd7\x16\xe3\x65\x3e\xe8\xa5\x3f\x43\x69\xdf\xce\xc2\x33\x49\x98\xda\xc6\xf7\xcf\xfd\x8f\xf0\x11\xad\xc7\x7a\x8e\x0e\xae\xdf\x5c\xbf\xfd\xc4\xfe\x0e\x00\x00\xff\xff\x02\x74\x72\xc0\xb9\x0d\x00\x00") +var _bindataTemplatesRdstfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x57\x5d\x6f\xdb\x36\x14\x7d\xe7\xaf\xb8\x53\x8c\xba\x7e\x90\x54\xa4\x0f\x03\x16\x64\x40\x80\x6e\xaf\x1d\xda\x01\x7b\xc8\x0a\x81\x26\xaf\x65\xa2\x12\xc9\xf1\x52\x71\x0d\x47\xff\x7d\x20\xad\x0f\x47\x76\x9d\x64\x5b\xb0\xd6\x4f\x34\xef\xc7\x21\x2f\xef\x39\x22\x2f\x7e\xc8\x97\x4a\xe7\xb4\x66\x8c\xd0\x43\x8a\x8c\xad\x1a\x2d\xbc\x32\x1a\xc8\x73\x8f\x45\xad\x4a\xc7\xc3\xff\xd7\x0b\xd8\x31\x00\x80\x0b\x70\x58\x9b\x3b\x04\x63\xa3\x5f\xe9\x4c\x63\x61\xe5\x4c\x0d\x1e\x9d\xe3\x2b\xe3\xea\x7d\x30\x70\x7a\xe8\xc4\xad\x02\x45\x5d\xbc\x84\xe5\x16\xf8\x86\x60\x65\x1c\x58\x43\xbe\x74\x48\xc0\xb5\x84\x0d\x82\xe0\x7a\xee\x41\x62\x85\x7e\x02\xc4\x09\x94\x27\x68\x68\x9f\x80\x34\xb7\xb4\x36\x3e\x8b\x6b\x9b\x2e\xa0\x52\xe4\xe1\x1e\x4a\x87\x16\xe6\xb5\x91\x4d\x85\x99\x93\x94\x8d\xc3\x42\x69\xf2\x5c\x0b\xec\xe7\xe4\x72\x1c\x15\x7b\xe4\x22\x22\x67\x7c\x43\xc5\x74\xce\xaf\x15\xcd\xe1\xd5\xab\x23\x64\x57\xbf\x20\x20\x8b\x9b\x0d\x75\x53\xa0\x34\xcc\x5e\x9f\xdb\xf7\x03\xd0\xc2\xa1\xad\x94\xe0\x1d\xe4\xe2\x4a\x9a\x98\x2b\xfc\x50\xac\x0d\x24\xf8\x05\x45\xe3\x95\x2e\x93\x89\x61\x8a\x51\xdf\xc1\x4c\xc1\x6c\xa7\xf2\x33\x00\x27\x6d\xb7\x6f\x3e\x75\xe6\x76\x04\x79\x91\xf4\x31\xbb\x34\x1a\x59\xcb\x18\x97\x52\x85\x4a\xf2\xaa\x18\xc0\xba\xe2\xd2\x75\x92\x30\xb6\xdb\xa5\xa0\x56\xb1\x05\xb3\x9b\x48\x02\xca\x7e\xab\xb8\x1e\xff\xbd\x43\xf2\xce\x6c\xa1\x6d\x1f\xc9\x36\xdb\x9d\xb3\xb7\x90\xca\x7d\xa6\x24\x82\x62\x45\x18\x90\x8d\x3b\x86\x1a\x26\x6e\xac\xad\xfe\x0b\x64\xde\x78\x93\x72\x6b\x9d\xb9\xc3\x0e\x5e\xcb\x90\x97\xb1\xf1\x0c\x94\x56\xfe\xe0\xef\xc6\xb8\xcf\x64\xb9\x40\x20\xac\x50\x78\xd8\xed\x20\xfb\xe5\x8b\x77\xfc\x03\x92\x69\x9c\x40\xca\xfe\x18\x7c\xda\x16\xee\xef\xe1\x54\xb4\xc6\xcd\x63\xa1\x8c\x85\x95\x29\x89\x8e\xae\x0f\x1b\x7b\x98\x1d\xf8\xec\xb0\x54\xe4\xdd\x36\x1b\x9c\x32\x65\xf2\x74\x0e\xf7\xc0\x37\x9f\x21\xfd\x15\x92\xdb\x04\xe6\x3b\xeb\x94\xf6\x30\xbb\x6c\x83\x25\xc8\xc6\x9c\xf2\x6c\x96\xe7\xf3\x05\x8b\xa6\x15\xcc\xff\xd4\x73\x16\x65\xa8\x03\x89\xac\x1a\x10\xaf\x20\xb0\x44\xad\x3a\x22\x0c\x86\xa4\x5f\x4a\xfa\x17\x24\xbd\x82\x25\x57\xe0\xd7\xa8\x43\xe7\x09\xe3\x1c\x0a\x5f\xf4\xfe\xe1\x70\xfa\x71\x9e\xa7\xb9\xd8\x3a\x55\x95\x52\x07\x16\x84\x16\x78\x4a\xcc\x9a\xd3\x5a\x09\xe3\x6c\x08\x5a\x29\x76\x82\xb5\xa7\xe9\x1a\xc8\xc1\x05\xa6\xc3\x16\x1f\x34\xc2\xb8\x5b\x98\x4d\x97\x90\xb0\x63\x75\x3b\x9f\xec\xb0\x44\xc9\x89\x7c\x91\x91\x87\xb5\xef\xa9\x77\xdc\xec\x53\xc3\x87\x46\xdf\x0c\xfd\xfd\x51\x38\x65\x3d\x05\x3f\xda\x0f\x73\xd7\xe8\xe2\x80\x00\xdd\x34\x24\xd6\x61\x3a\xec\x22\x2c\xb4\xda\x3e\x68\xfe\x43\x1e\x4c\x31\xa3\x06\xb4\xed\xc8\x87\x82\x47\xcb\xb5\xad\xb8\x3e\x60\xc9\x6c\xea\x00\xa9\xe7\xae\x44\x7f\x7d\xfe\x4b\xf0\x44\xb7\x5e\xdf\x4e\xb9\x4b\xee\x79\xfc\x5e\x50\xb3\xd4\xe8\x0b\x25\x29\x13\xa6\xae\xb9\x96\x85\x75\xea\x2e\x7c\xca\xf7\x26\x7a\x42\xf8\xd7\x63\x67\xe7\xc4\xe5\x1f\x68\xd9\xe4\x92\x71\x54\xfa\x03\xc1\x3d\xaa\x7e\x27\xa1\xff\xc3\x01\x3c\x52\x86\x67\x2e\xe8\xdb\x38\xbb\x67\x5e\x9d\x7a\xb9\x2b\xe4\xf2\x6b\xf7\x9f\xf3\xd7\x92\x47\x72\x2e\xc6\x66\x3a\x75\xf6\x91\xc0\xdf\x7b\xa1\xbf\xcf\x76\x3d\x3e\xac\xa7\xa8\xc2\xa8\xb2\x2f\x2b\xf3\x86\xfc\xb3\x74\xbe\x1f\x5f\xc0\xef\xef\xdf\xbd\xff\xa9\x7f\xdb\xfc\xcb\xee\x31\xe1\x94\xc6\xba\x3a\x49\x30\x3e\xa4\xc8\xa2\x50\x2b\x25\x80\xbc\x71\xbc\xc4\xc2\x6f\x2d\xc6\xdb\x7c\xf0\x4b\x7f\x86\xd2\xbe\x5d\x84\x77\x92\x30\xb5\x8d\x0f\xa0\xdb\x1f\xe1\x23\x5a\x8f\xf5\x12\x1d\x5c\xbe\xb9\x7c\xfb\x89\xfd\x1d\x00\x00\xff\xff\x0b\x53\xa7\xb6\xba\x0d\x00\x00") func bindataTemplatesRdstfDeployShBytes() ([]byte, error) { return bindataRead( @@ -473,10 +473,10 @@ func bindataTemplatesRdstfDeploySh() (*asset, error) { info := bindataFileInfo{ name: "templates/rds-tf/deploy.sh", - size: 3513, + size: 3514, md5checksum: "", mode: os.FileMode(420), - modTime: time.Unix(1709295246, 0), + modTime: time.Unix(1709300784, 0), } a := &asset{bytes: bytes, info: info} @@ -514,7 +514,7 @@ func bindataTemplatesRdstfMainTf() (*asset, error) { return a, nil } -var _bindataTemplatesRdstfScriptsPostterraformapplyModifyversion11to137Sh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xcd\x6e\xe3\x36\x10\xbe\xeb\x29\x66\x15\x17\xee\x02\xa1\x9d\x6d\x6e\x5b\x08\x85\xeb\x75\xd1\xa0\x58\x37\x68\x9c\xed\xa1\x28\x88\x11\x39\x92\xb9\xa0\x48\x85\x1c\x25\x71\xd3\xbc\x7b\x41\xcb\x76\xa2\x24\xcd\x5e\xe2\x93\xc5\xef\x47\x33\xc3\x4f\x73\xf4\x6e\x5a\x1a\x37\x8d\xeb\x2c\x8b\xc4\x20\x28\xcb\x2e\x4e\xe5\xcf\x97\xf3\xdf\x16\x2b\x79\x3e\x5b\xfd\x5a\xe4\xf1\xf4\xe3\x74\xaa\x91\xb1\xb5\xc8\x95\x0f\x8d\xc0\xc0\xa6\x42\xc5\x71\x1a\x74\x14\x9a\x4a\xfa\xc7\x74\x8d\x50\xde\x55\xa6\x16\x0d\xb6\xad\x71\x75\xc2\xe4\x1e\x93\x3d\x26\x77\xd8\xe4\x6b\xf4\x2e\xcf\xce\x96\x17\xab\xd9\x72\xbe\x90\xcb\xd9\xe7\x45\x71\x77\x07\x93\xc5\x2d\x07\xfc\x83\xa2\xef\x82\xa2\x38\xf9\x84\x8c\x25\x46\x9a\x9c\xb9\xc8\xe8\x14\x2d\xb1\x21\xb8\xbf\xcf\x32\xe3\xaa\x80\xf2\x9a\x02\x1b\x85\x76\xab\x3d\x4b\x47\x5f\x76\x27\x89\x44\xee\xda\x04\xef\x1a\x72\xfc\x92\xf9\xe2\x01\xee\x2d\x2b\xf8\x0b\x46\x43\x63\x28\x0a\xc8\x2d\x39\x6d\x5c\x9d\xc3\xdf\x3f\x02\xaf\xc9\x65\x00\x00\x3d\xfb\xd1\x2b\xb6\xd4\x36\x78\x3d\xe4\xa5\xdf\xec\xcf\x0b\x39\x9b\xcf\x7f\xbf\x5c\xae\x0a\x57\x8a\x44\xda\x62\x95\x79\xc5\x4a\x35\xdf\x76\x52\xbe\x69\xd0\x1d\xcc\x2a\xf3\x4a\x17\xc6\xc5\x2e\xa4\x19\xbe\x4d\x1f\xb5\x19\xf4\x91\x5e\x7d\x04\x35\x31\x28\xef\x1c\x29\xf6\x01\xfa\x3b\xcf\xf0\x26\x42\x3c\x05\xd5\xc2\x68\x18\xad\x3d\xe1\xa0\x90\xe4\x74\xeb\x8d\xe3\x62\xf4\xbd\x42\xde\xe1\xf0\x2f\x7c\xbd\x02\x11\x60\x3c\x19\x3d\xaa\x60\x1b\x9a\xc9\x68\x90\xa1\xc9\x73\xab\x31\x08\x81\xa1\x86\xa7\x4a\x78\xe6\xb5\x23\x0e\x0c\x61\xe8\xff\xfe\x51\xad\x7d\x71\x6f\x50\x69\xaf\x7d\xe3\x3a\xb3\x23\x50\x81\x90\x09\xf6\x9f\xe0\xc3\xc5\x64\x3d\x22\x1f\x4a\xf0\x1d\xb7\x1d\xcb\xc8\xc8\x5d\x4c\x2d\x75\xc1\x82\x10\x37\xc1\x30\x09\xdf\x31\xe4\xdf\xdd\xad\x99\x5b\xa9\xbc\xa6\xfb\x1c\x84\x88\xc6\xa6\xac\x08\x61\xbd\x42\x36\xde\x81\x10\x81\xae\x3a\x8a\x0c\xe7\x97\x2b\xc8\x47\xcf\xaf\x62\xda\x77\x9a\xe4\x6b\x42\x4d\x01\xc6\x73\xef\x98\x1c\x8b\xd5\xa6\xa5\x8f\x80\x6d\x6b\x4d\x6f\x37\x4d\x1b\x62\x2c\x44\xda\x3b\x03\xb3\x9d\xc7\xfb\x5d\xd0\x5f\x6f\x05\xde\x15\xf0\xc3\xc9\x87\x41\x90\x49\xad\x3d\xe4\x73\xdf\x59\x0d\xce\xf3\xff\x8f\xe9\x18\xe8\xd6\x70\xfa\xf0\x7b\xdd\xad\x61\xf8\xd0\x07\x5d\x1b\x8c\xa5\x25\x08\x84\xda\x3b\xbb\x81\xc6\x6b\xda\x06\x3d\xe8\x98\x1e\x4c\xb5\x11\xba\x14\x2d\x06\x6c\x88\x29\x88\x3a\xf8\xae\x05\xf1\xc2\xa1\x70\x69\xa7\x8d\x74\x29\x0f\x80\xdc\xb3\x0f\x27\x11\xf2\xf3\xfd\xff\xb4\x03\x0b\x4d\x15\x76\x96\x25\x07\x74\x11\x55\x1a\x99\x4c\xd5\xc8\x54\xce\xf1\x81\xfb\x05\x6d\x47\xc5\xc9\xf1\xac\x6d\xed\xe6\x33\xf1\xda\xeb\xc2\x34\x0d\x69\x83\x4c\xf9\x6e\x86\x3f\x81\xa0\x2b\x38\x79\x61\x4a\x9f\x4c\xc4\xd2\x92\xde\x36\x0a\x87\x4e\x21\x76\x4a\x51\x8c\x55\x67\xed\x26\xcf\xc8\x46\xca\xf6\x92\x5f\xd0\x24\xc1\xcd\xda\x58\x02\xbd\xd5\x1b\x57\x3f\x31\x48\x13\x3d\xcc\xf3\xbf\x00\x00\x00\xff\xff\xd5\xc5\x63\x31\x83\x06\x00\x00") +var _bindataTemplatesRdstfScriptsPostterraformapplyModifyversion11to137Sh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xcd\x6e\xe3\x36\x10\xbe\xeb\x29\x66\x15\x17\xee\x02\xa1\x9d\x34\xb7\x2d\x84\xc2\xf5\xba\x68\x50\xac\x1b\x34\xce\xf6\x50\x14\xc4\x98\x1c\xc9\x5c\x50\xa4\x42\x8e\x36\x71\xd3\xbc\x7b\x41\xc9\x76\xa2\x24\xcd\x5e\xe2\x93\xc5\xef\x47\xf3\xf3\x89\x47\xef\xa6\x6b\xe3\xa6\x71\x93\x65\x91\x18\x04\x65\xd9\xe5\x99\xfc\xf9\x6a\xfe\xdb\x62\x25\x2f\x66\xab\x5f\x8b\x3c\x9e\x7d\x98\x4e\x35\x32\x36\x16\xb9\xf4\xa1\x16\x18\xd8\x94\xa8\x38\x4e\x83\x8e\x42\xd3\x9a\xfe\x31\x6d\x2d\x94\x77\xa5\xa9\x44\x8d\x4d\x63\x5c\x95\x30\xb9\xc7\x64\x8f\xc9\x1d\x36\xf9\x12\xbd\xcb\xb3\xf3\xe5\xe5\x6a\xb6\x9c\x2f\xe4\x72\xf6\x69\x51\xdc\xdd\xc1\x64\x71\xcb\x01\xff\xa0\xe8\xdb\xa0\x28\x4e\x3e\x22\xe3\x1a\x23\x4d\xce\x5d\x64\x74\x8a\x96\x58\x13\xdc\xdf\x67\x99\x71\x65\x40\xf9\x95\x02\x1b\x85\xb6\xd3\x9e\xa7\xa3\xcf\xbb\x93\x44\x22\xf7\xd5\x04\xef\x6a\x72\xfc\x92\xf9\xe2\x01\xee\x2d\x4b\xf8\x0b\x46\x43\x63\x28\x0a\xc8\x2d\x39\x6d\x5c\x95\xc3\xdf\x3f\x02\x6f\xc8\x65\x00\x00\x3d\xfb\xd1\x2b\x3a\x6a\x13\xbc\x1e\xf2\xd2\x6f\xf6\xe7\xa5\x9c\xcd\xe7\xbf\x5f\x2d\x57\x85\x5b\x8b\x44\xea\xb0\xd2\xbc\x62\xa5\xea\x6f\x3b\x29\x5f\xd7\xe8\x0e\x66\xa5\x79\xa5\x0b\xe3\x62\x1b\xd2\x0c\xdf\xa6\x8f\xca\x0c\xfa\x48\xaf\x3e\x82\x8a\x18\x94\x77\x8e\x14\xfb\x00\xfd\xce\x33\xbc\x89\x10\xcf\x40\x35\x30\x1a\x46\x6b\x4f\x38\x28\x24\x39\xdd\x78\xe3\xb8\x18\x7d\xaf\x90\x77\x38\xfc\x0b\x5f\xae\x41\x04\x18\x4f\x46\x8f\x2a\xe8\x42\x33\x19\x0d\x32\x34\x79\x6e\x35\x06\x21\x30\x54\xf0\x54\x09\xcf\xbc\x76\xc4\x81\x21\x0c\xfd\xdf\x3f\xaa\xb5\x2f\xee\x0d\x2a\xed\xb5\x6f\x5c\x67\x76\x04\x2a\x10\x32\xc1\xfe\x13\x7c\x58\x4c\xd6\x23\xf2\xa1\x04\xdf\x72\xd3\xb2\x8c\x8c\xdc\xc6\xd4\x52\x1b\x2c\x08\x71\x13\x0c\x93\xf0\x2d\x43\xfe\xdd\xdd\x86\xb9\x91\xca\x6b\xba\xcf\x41\x88\x68\x6c\xca\x8a\x10\xd6\x2b\x64\xe3\x1d\x08\x11\xe8\xba\xa5\xc8\x70\x71\xb5\x82\x7c\xf4\x7c\x15\xd3\xbe\xd3\x24\xdf\x10\x6a\x0a\x30\x9e\x7b\xc7\xe4\x58\xac\xb6\x0d\x7d\x00\x6c\x1a\x6b\x7a\xbb\x69\xba\x21\xc6\x42\xa4\x7b\x67\x60\xb6\xf3\x78\xbf\x0b\xfa\xeb\xad\xc0\xbb\x02\x7e\x38\x39\x1d\x04\x99\xd4\xc6\x43\x3e\xf7\xad\xd5\xe0\x3c\xff\xff\x98\x8e\x81\x6e\x0d\xa7\x0f\xbf\xd7\xdd\x1a\x86\xd3\x3e\xe8\xda\x60\x5c\x5b\x82\x40\xa8\xbd\xb3\x5b\xa8\xbd\xa6\x2e\xe8\x41\xc7\xf4\x60\xca\xad\xd0\x6b\xd1\x60\xc0\x9a\x98\x82\xa8\x82\x6f\x1b\x10\x2f\x1c\x0a\x97\xee\xb4\x91\x5e\xcb\x03\x20\xf7\xec\xc3\x49\x84\xfc\x62\xff\x3f\xdd\x81\x85\xa6\x12\x5b\xcb\x92\x03\xba\x88\x2a\x8d\x4c\xa6\x6a\x64\x2a\xe7\xf8\xc0\xfd\x8c\xb6\xa5\xe2\xe4\x78\xd6\x34\x76\xfb\x89\x78\xe3\x75\x61\xea\x9a\xb4\x41\xa6\xbc\xdb\x59\x95\x96\x87\x8d\x88\xbe\xe5\x8d\x38\xdd\xcd\xf5\x27\x10\x74\x0d\x27\x2f\x4c\xee\xa3\x89\xb8\xb6\xa4\xbb\xe6\xe1\xd0\x3d\xc4\x56\x29\x8a\xb1\x6c\xad\xdd\xe6\x19\xd9\x48\xd9\x5e\xf2\x0b\x9a\x24\xb8\xd9\x18\x4b\xa0\x3b\xbd\x71\xd5\x13\x83\x34\xe5\xc3\x8c\xff\x0b\x00\x00\xff\xff\x88\x36\xe8\x61\x97\x06\x00\x00") func bindataTemplatesRdstfScriptsPostterraformapplyModifyversion11to137ShBytes() ([]byte, error) { return bindataRead( @@ -533,10 +533,10 @@ func bindataTemplatesRdstfScriptsPostterraformapplyModifyversion11to137Sh() (*as info := bindataFileInfo{ name: "templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13_7.sh", - size: 1667, + size: 1687, md5checksum: "", mode: os.FileMode(493), - modTime: time.Unix(1709297957, 0), + modTime: time.Unix(1709389679, 0), } a := &asset{bytes: bytes, info: info} @@ -544,7 +544,7 @@ func bindataTemplatesRdstfScriptsPostterraformapplyModifyversion11to137Sh() (*as return a, nil } -var _bindataTemplatesRdstfScriptsPreterraformapplyModifyversion11to137Sh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x57\x5b\x6f\xdb\x38\x16\x7e\xd7\xaf\x38\x65\xb4\x70\x5c\x98\x76\xd2\xec\xbe\xb4\x10\x16\x8e\xed\x6d\x83\x4d\xe3\x8c\x2f\x0d\x06\x69\x20\xd0\xd2\x91\xcc\x8e\x44\x2a\x24\x95\xd4\xd3\xe9\x7f\x1f\x50\x17\x5b\x72\x52\xb7\x03\x14\xa8\x9f\x6c\x9e\x0b\xcf\xe5\x3b\xdf\xa1\x8f\x5e\x0c\x56\x5c\x0c\xf4\xda\x71\x34\x1a\xa0\xe8\x38\xf3\x33\xff\x7c\x39\xfa\xff\x64\xe1\x5f\x0f\x17\xef\x3c\xa2\xcf\x5e\x0f\x06\x21\x33\x2c\x4b\x98\x89\xa4\x4a\x29\x53\x86\x47\x2c\x30\x7a\xa0\x42\x4d\x43\x5c\xe1\x9f\x3c\x4f\x69\x20\x45\xc4\x63\x9a\xb2\x2c\xe3\x22\xb6\x32\xbf\x96\xf9\xa5\xcc\xaf\x64\xfd\x4f\x5a\x0a\xe2\x5c\x5c\xcd\x17\xc3\xab\xd1\xc4\xbf\x1a\xbe\x9f\x78\x5f\xbe\x40\x7f\xf2\xd9\x28\x36\x43\x2d\x73\x15\xa0\xee\x8f\x99\x61\x2b\xa6\xb1\x7f\x21\xb4\x61\x22\xc0\x2b\x96\x22\x7c\xfd\xea\x38\x5c\x44\x8a\xf9\x0f\xa8\x0c\x0f\x58\x52\xd8\x5e\xd8\xa3\x0f\xd5\x89\x55\x42\xf1\xc0\x95\x14\x29\x0a\xf3\x9c\xf3\xc9\x4e\x5c\xba\x8c\xe0\x16\xdc\xb6\x63\xf0\x3c\x20\x09\x8a\x90\x8b\x98\xc0\xdd\x1b\x30\x6b\x14\x0e\x00\x40\xa9\xdd\xb8\xa2\x50\xcd\x94\x0c\xdb\x7a\xf6\x33\xbc\x99\xfb\xc3\xd1\x68\xba\xbc\x5a\x78\x62\x45\xad\x52\x21\x8b\xf8\x01\x57\x41\xfa\x7d\x4f\x81\x4c\x53\x26\xb6\xce\x22\x7e\x20\x0b\x2e\x74\xae\x6c\x0d\x7f\x4e\x1e\x31\x6f\xe5\x61\xaf\x3e\xb2\x08\x0a\xab\x96\x01\x17\xa0\x90\x85\xbe\x14\xc9\x06\x52\x19\xa2\x83\xc1\x5a\x02\x99\xa3\x31\x5c\xc4\x3b\x45\x2b\x03\x23\x0b\x6d\xab\x4c\x9c\x70\xe5\x67\x4c\xb1\x14\x0d\x2a\x3f\x56\x32\xcf\x3c\xf7\x98\x3d\x6a\x50\xa1\x86\x10\x75\xa0\xf8\x0a\x69\xb8\xa2\xbc\x82\x85\x06\xda\xfc\x49\x79\x88\xc2\xf0\x88\xa3\x02\xb7\x05\x32\xa0\x54\x61\xcc\xa5\x00\x96\x51\x2d\x73\xb3\xa6\xa7\xf0\x17\x7c\xba\x87\x4e\x7f\x7c\x5e\xa3\x4c\x77\xca\x33\xaa\xa0\xd3\xbf\xbd\xeb\x8f\xcf\xaf\xeb\x70\xde\xda\x68\xf4\xed\xc9\xd3\x43\x0b\xcd\x4e\xd7\xa9\xc3\x4c\x65\xc8\xa3\x8d\x8d\x6a\x9b\x0a\x2d\x52\x29\x43\xdd\x3b\xa4\xc2\x02\xdb\x7d\x9a\x38\xd0\x9d\xaa\x06\xb2\xbd\xd2\xde\xe6\x85\x18\xb1\x3c\x31\xbe\x51\x4c\x68\x16\x18\x2e\x85\xbf\xad\x79\x6f\xab\xfb\x81\x25\x39\x7a\xa7\xbd\x61\x96\x25\x9b\xf7\x68\xd6\x32\xf4\x78\x9a\x62\xc8\x99\x41\x52\x21\xe6\xbf\x40\xf1\x1e\x4e\x5a\x3d\x2f\x1b\x36\x11\x6c\x95\x60\x58\xf4\x07\xb6\xdd\x04\x9d\x07\x01\x6a\x1d\xe5\x89\x6d\x19\x26\x1a\x9d\xda\xe2\x7f\x8c\x5b\x83\xc7\x35\x4f\x10\xd0\x9a\xdb\x86\xb7\xed\x89\xd5\xfe\xcc\x0d\x9c\x16\xd8\x71\x8e\x1e\x19\x37\x10\x49\xb5\x03\x86\x91\xb0\xc2\x40\xa6\x58\x98\x6e\x1c\x6d\x98\x41\x8f\x10\xa7\x74\x7c\x0b\xc4\x2d\x8e\x08\xbc\xf0\x80\xb0\x07\xc6\x13\x1b\x69\x81\xdb\x50\x16\x19\xe8\x04\x31\x83\xd3\x93\x46\x3a\xa3\x35\x06\x7f\xd8\x78\x78\x04\xe3\x73\x58\x33\x5d\xdf\xb2\xf3\x50\xda\x16\xd7\xfd\x62\xe0\xd5\x92\xb9\x61\x26\xd7\x9d\xae\x13\x4a\x81\x8e\x73\x44\x7f\xf4\x33\x1e\x2e\x86\xe7\xc3\xf9\x04\xb8\x86\x40\x0a\xcd\x43\x54\x55\x33\x37\xc0\x22\x83\x0a\xcc\x9a\xeb\xa6\x49\x35\xa8\x6f\xab\x41\x0d\xa4\x10\x18\x18\xa9\xa0\x24\x71\x4d\x0a\x90\xeb\x33\x08\x32\x70\xdb\xdb\x02\xfa\xce\x56\xbd\xe2\x7c\xcf\x3d\x0e\x98\x81\xef\x6d\x83\x66\xe2\x6e\x83\x68\xee\x3a\x40\x29\x53\x71\x93\x7c\xa0\xa9\x50\x57\xf1\xb6\x5d\xf0\xad\x5d\xbb\x0d\x6d\xa5\xae\xf3\x6e\x3a\x5f\x78\xee\x71\x91\xb1\xbb\x1f\x7a\x23\xa6\x7d\x51\x9f\xd4\x30\xed\xaf\xa5\x36\x76\x7c\x49\xa7\xeb\xd4\xd5\xf6\x48\x26\xb5\x89\x15\x6a\x52\x9c\xcd\xa7\xcb\xd9\x68\xe2\x2f\xe7\x93\xd9\xc1\x3d\xb7\xd4\xa8\xec\x32\x6a\xd8\x5c\x0f\xe7\xf3\x9b\xe9\x6c\x7c\xd0\xee\x9a\x69\xfd\x28\x55\x58\x2c\xb2\xa3\xc0\x42\xdc\x12\xf0\xf8\xdc\xa2\xdc\xac\x11\x0a\x12\xb1\xcd\x2e\x59\xa5\x44\x3d\x0a\xb0\x94\xdd\x9c\xe4\x1e\xcc\x72\x51\x58\xdc\xe7\xa8\x36\x90\x6b\x0b\x81\x4c\xdf\x27\xd6\x9f\x90\x82\x72\x61\x50\x59\xb2\x79\xc0\x26\xad\xef\xc6\x2a\xb6\xd7\x6e\x49\xeb\x7b\x17\x12\xe7\xb7\xe5\x64\xf6\xbb\x47\xe6\xef\xa6\x37\x70\x90\xd1\xde\x10\x67\xfb\xdd\xd7\xc5\x40\x78\xee\x71\x11\x1b\x5d\x03\x71\x6d\x2f\x09\xd0\x0c\xc8\x7f\xfe\x7d\xf6\x8a\x00\x0d\x81\xb8\x75\x47\x08\xd0\x65\xf5\xb3\xd1\x0c\x02\x34\x00\xe2\x16\x21\x10\xa0\x37\x6d\x8d\xba\xf4\xa4\x5b\x92\x24\x71\xf7\xef\x27\xc5\xb6\x94\x82\xc0\x9d\xb3\x47\x9b\x6d\x6e\xa9\x97\x5b\x0f\x32\x25\x03\x44\xfb\xa0\x00\xb6\x46\x16\x92\x5e\x9b\x3c\x2b\x3b\x21\x4d\xd3\xb6\xa4\xf4\x82\x31\xed\x53\xa4\x4d\x9e\x47\x31\x9a\x27\x63\xda\x18\x44\x14\x61\x26\xb9\x30\xff\x0c\xe8\xb5\x55\xa7\xeb\xe8\x44\x1a\xdf\x62\xfc\x47\x3c\x6c\x95\x3b\xdd\x2d\x16\x2d\xa0\x12\x16\x43\x59\x35\xe7\x72\xf8\xd6\x9f\x2f\x86\x8b\xe5\xdc\xaf\xba\xaf\x31\xc1\xc0\x80\xbb\x35\xee\x81\x42\x6d\x98\x32\x7e\xa2\x05\x50\xe8\x9c\x0c\x4e\x3a\xc0\x34\x24\x5a\xf8\x16\x15\xba\x07\x59\xec\x07\xb9\x52\x28\x8c\xff\xc8\x12\xab\x78\xdc\x6d\xaa\x5a\x61\x2d\x29\xb4\xab\xef\x7e\xc8\xa3\xe8\xf8\x39\xeb\x5e\xe3\xd2\x6e\x7d\x5b\xc2\xe2\x1e\x54\x88\x8f\x94\x4c\xad\x27\x85\x59\xc2\x03\x56\x00\xd4\xc6\xac\x89\x93\xb0\xf8\x27\xc1\x71\xbf\x3c\x07\x91\x59\x2f\x43\xd7\xd6\xf7\x85\x57\xae\xf0\x6a\xfd\x95\x88\xba\x64\xf1\x3e\xa4\x4e\x7a\x60\xf7\x6d\x05\x25\x80\x5f\x14\x7b\xb1\xcc\xda\x41\xee\x02\x7c\x32\x28\x8e\x73\xa4\x30\x95\x0f\x08\xf5\x22\xd9\x81\xde\x29\x91\xe5\x07\x32\xb4\x20\x0d\x72\x95\x00\xa5\x8f\x8a\x1b\xa4\x32\x37\x40\xfe\xf5\x65\x6d\x4c\x56\xc8\xbf\x12\xa0\x54\xf3\xc4\x3e\x76\x29\x4d\x64\xd9\xc6\x62\x43\xdf\xe7\xa8\x0d\x8c\x27\x97\x93\xc5\x04\x88\xfb\x74\x18\xac\xa9\x0d\x06\x15\x74\x46\x52\x18\x14\x86\x2e\x36\x19\xbe\x06\x96\x6d\x11\x31\xb0\x0b\xad\xd3\xd0\x1c\x06\x01\x66\xe6\x35\xbc\x1c\xbc\xec\x34\x30\x5e\xd1\x8a\xdb\x88\xdd\x76\xf0\xd5\xc9\x73\xcf\xb0\x91\xcc\x93\xb0\xe8\x61\x88\x09\x9a\xe7\x8a\xd0\xe2\x87\x36\x43\x84\x4a\x66\xd0\x00\x2d\xd8\x20\x9c\xf1\x6c\x7a\xed\xcf\x26\xd7\x97\x17\xa3\xe1\xe2\x62\x7a\xe5\xcf\x2f\xa7\x8b\xbd\x91\xcc\x62\xdf\x1a\x3f\x41\xfc\xf1\x47\xb2\xcb\xe4\x23\xe9\xbe\x21\xdf\x70\x37\x5d\x2e\xae\x97\x8b\x9f\x04\xaf\x03\x11\xff\x08\x7f\x1f\x8a\xb0\xe4\xf2\x88\x25\x7a\xef\x2f\xd2\x93\xfa\x3f\x57\xcb\x6f\xd7\xbe\xa2\x75\x25\xb3\xac\x78\x78\xed\xdb\x35\x70\xfe\xc8\xcd\x1a\x0c\x2a\xc5\xec\xff\xec\x02\x52\x1b\xf2\x77\x00\x00\x00\xff\xff\x05\x27\x7c\xe2\xa3\x0f\x00\x00") +var _bindataTemplatesRdstfScriptsPreterraformapplyModifyversion11to137Sh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x57\x6d\x6f\xe3\xb8\x11\xfe\xce\x5f\x31\xcb\xa8\x70\x7c\x30\x9d\xec\x6d\xfb\x65\x17\x42\xe1\xd8\x6e\x36\x68\x2e\x4e\xfd\x72\x8b\x22\x17\x08\xb4\x34\x92\x79\x95\x48\x85\xa4\x92\x4d\xb7\xfb\xdf\x0b\xea\xcd\x92\x93\xf3\xde\x02\x57\xd4\x9f\x6c\xce\x3c\x9c\xb7\x67\x66\xe8\x93\x37\x67\x5b\x21\xcf\xcc\x8e\x10\x83\x16\x18\x12\xb2\x7a\x17\x5c\x6c\xa6\x7f\x9f\xaf\x83\xdb\xc9\xfa\xa3\x4f\xcd\xbb\xf7\x67\x67\x11\xb7\x3c\x4f\xb9\x8d\x95\xce\x18\xd7\x56\xc4\x3c\xb4\xe6\x4c\x47\x86\x45\xb8\xc5\x7f\x8b\x22\x63\xa1\x92\xb1\x48\x58\xc6\xf3\x5c\xc8\xc4\xc9\x82\x46\x16\x54\xb2\xa0\x96\x8d\x7f\x35\x4a\x52\x72\x75\xb3\x5a\x4f\x6e\xa6\xf3\xe0\x66\xf2\xd3\xdc\xff\xf2\x05\xc6\xf3\xcf\x56\xf3\x25\x1a\x55\xe8\x10\xcd\x78\xc6\x2d\xdf\x72\x83\xe3\x2b\x69\x2c\x97\x21\xde\xf0\x0c\xe1\xeb\x57\x32\xf9\xb4\x0a\x96\xf3\xcb\xab\xc5\x8d\xcf\x73\x66\x54\x61\x77\xec\x2d\x21\x42\xc6\x9a\x07\x8f\xa8\xad\x08\x79\x5a\xde\x78\xe5\x8e\x7e\xae\x4f\x1c\x14\xe5\xa3\xd0\x4a\x66\x28\xed\x6b\x26\xe7\x7b\xb1\xd3\x26\x22\x86\x3b\xf0\xfa\x17\x83\xef\x03\x4d\x51\x46\x42\x26\x14\xee\x3f\x80\xdd\xa1\x24\x00\x00\x95\x76\xc7\x44\xa9\x9a\x6b\x15\xf5\xf5\xdc\xc7\xc5\x30\x99\x4e\x17\x9b\x9b\xb5\x2f\xb7\xcc\x29\x95\xb2\x58\x1c\xb9\x2a\xcc\xbe\x7d\x53\xa8\xb2\x8c\xcb\xf6\xb2\x58\x1c\x89\x42\x48\x53\x68\x97\xd9\x3f\x26\x8e\x44\xf4\xe2\x70\xa6\x4f\x1c\xaf\xa2\xba\x90\x20\x24\x68\xe4\x51\xa0\x64\xfa\x0c\x99\x8a\x90\x60\xb8\x53\x40\x57\x68\xad\x90\xc9\x5e\xd1\xc9\xc0\xaa\x52\xdb\x29\x53\x12\x6d\x83\x9c\x6b\x9e\xa1\x45\x1d\x24\x5a\x15\xb9\xef\x9d\xf2\x27\x03\x3a\x32\x10\xa1\x09\xb5\xd8\x22\x8b\xb6\x4c\xd4\x64\x31\xc0\xba\x3f\x99\x88\x50\x5a\x11\x0b\xd4\xe0\xf5\xa8\x07\x8c\x69\x4c\x84\x92\xb0\x27\x13\xfc\x07\x7e\x7d\x80\xc1\x78\x76\xd1\x70\xcf\x0c\xaa\x33\xa6\x61\x30\xbe\xbb\x1f\xcf\x2e\x6e\x1b\x77\x2e\x9d\x37\xe6\xee\xfc\xe5\xa1\x23\xec\x60\x48\x1a\x37\x33\x15\x89\xf8\xd9\x79\xd5\x86\xc2\xca\x50\x2a\x57\x0f\x0e\x99\x74\x74\xf7\x5e\x06\x0e\x6c\xaf\x6a\x80\xb6\x26\x9d\x35\x3f\xc2\x98\x17\xa9\x0d\xac\xe6\xd2\xf0\xd0\x0a\x25\x83\x36\xe7\xa3\x56\xf7\x67\x9e\x16\xe8\xbf\x1d\x4d\xf2\x3c\x7d\xfe\x09\xed\x4e\x45\xbe\xc8\x32\x8c\x04\xb7\x48\x5f\x4b\x49\xcd\xa2\xbf\x02\xc3\x07\x38\xef\xf1\xa0\x2a\xe2\x5c\xf2\x6d\x8a\x51\x59\x33\x68\x2b\x0c\xa6\x08\x43\x34\x26\x2e\x52\x57\x46\x4c\x0d\x92\x06\xf1\x37\x2e\x1c\xe0\x69\x27\x52\x04\x74\x70\x47\x82\x3e\x9e\x3a\xed\xcf\xc2\xc2\xdb\x92\x4f\xe4\xe4\x89\x0b\x0b\xb1\xd2\x7b\xb2\x58\x05\x5b\x0c\x55\x86\x25\xf4\x99\x18\xcb\x2d\xfa\x94\x92\xea\xe2\x3b\xa0\x5e\x79\x44\xe1\x8d\x0f\x94\x3f\x72\x91\x3a\x4f\x4b\x2e\x47\xaa\x8c\xc0\xa4\x88\x39\xbc\x3d\xef\x84\x33\xdd\x61\xf8\x2f\xe7\x8f\x88\x61\x76\x01\x3b\x6e\x1a\x2b\xfb\x1b\x2a\x6c\x69\xee\xff\x4c\xc6\x46\xb2\xb2\xdc\x16\x66\x30\x24\x91\x92\x48\xc8\x09\xfb\xbd\x9f\xd9\x64\x3d\xb9\x98\xac\xe6\x20\x0c\x84\x4a\x1a\x11\xa1\xae\x8b\xf9\x0c\x3c\xb6\xa8\xc1\xee\x84\xe9\x42\xea\xe6\xbd\xac\x9b\x37\x54\x52\x62\x68\x95\x86\x6a\xdc\x1b\x5a\x12\xdf\xbc\x83\x30\x07\xaf\xbf\x57\x60\x4c\x5a\xf5\x7a\x3b\xf8\xde\x69\xc8\x2d\x7c\x6b\x6f\x74\x03\xf7\x3a\xc3\xe7\x7e\x00\x8c\x71\x9d\x74\x07\x12\x74\x15\x9a\x2c\xde\xf5\x13\xde\xe2\xfa\x65\xe8\x2b\x0d\xc9\xc7\xc5\x6a\xed\x7b\xa7\x65\xc4\xde\xa1\xeb\x1d\x9f\x0e\x45\x63\xda\xd0\x74\xbc\x53\xc6\xba\x96\xa6\x83\x21\x69\xb2\xed\xd3\x5c\x19\x9b\x68\x34\xb4\x3c\x5b\x2d\x36\xcb\xe9\x3c\xd8\xac\xe6\xcb\xa3\x1b\x71\x63\x50\xbb\x05\xd5\xc1\xdc\x4e\x56\xab\x4f\x8b\xe5\xec\x28\xee\x96\x1b\xf3\xa4\x74\x54\xae\xc2\xcf\xb9\xd2\x16\x6e\x2f\xbf\x1b\x49\x4e\x42\xd7\x1c\x6e\x9c\xcf\x2e\x5c\x7f\xd8\x1d\x42\x39\x92\x1c\x4d\xaa\x19\x55\xf5\x0b\x4a\x70\x0b\xa0\x3b\x03\x46\xb0\x2c\x64\x89\x78\x28\x50\x3f\x43\x61\x1c\x79\x72\xf3\x90\xba\xfb\xa4\x92\x4c\x48\x8b\xda\x8d\xae\x47\xec\x2e\x89\x7d\x43\x26\xce\x6c\x3b\x02\xbf\x65\x90\x92\x7f\x6c\xe6\xcb\x7f\xfa\x74\xf5\x71\xf1\x09\x8e\xce\xc7\x0f\x94\xb4\xdf\x03\x53\xb6\x92\xef\x9d\x96\xbe\xb1\x1d\x50\xcf\xb1\x80\x02\xcb\x81\xfe\xe5\xcf\xef\x7e\xa4\xc0\x22\xa0\x5e\x53\x4b\x0a\x6c\x53\xff\xec\x94\x91\x02\x0b\x81\x7a\xa5\x0b\x14\x98\x9d\xc0\xb0\x9a\xa4\xd4\x3b\x34\x45\xcb\x35\xab\x24\x85\x7b\x72\x30\x5b\xfb\x03\xa8\xd9\x8a\x23\xc8\xb5\x0a\x11\xdd\x4b\x04\xf8\x0e\x79\x44\x47\xfd\x09\x5b\xe3\xa4\xb2\x5d\x6c\xb5\x0b\xca\xb1\xea\xde\x30\xfd\x09\x7b\x92\xa0\x7d\xd1\xcb\x9d\x6e\x45\x19\xe5\x4a\x48\xfb\x7d\xdd\xd0\xa0\x06\x43\x62\x52\x65\x03\xd7\x08\xbf\xe7\x86\x56\x79\x30\x6c\x69\xe7\xb8\x93\xf2\x04\xaa\xac\x91\xeb\xc9\x65\xb0\x5a\x4f\xd6\x9b\x55\x50\x17\xda\x60\x8a\xa1\x05\xaf\x05\x8f\x40\xa3\xb1\x5c\xdb\x20\x35\x12\x18\x0c\xce\xcf\xce\x07\xc0\x0d\xa4\x46\x06\x8e\x00\x66\x04\x79\x12\x84\x85\xd6\x28\x6d\xf0\xc4\x53\xa7\x78\x3a\xec\xaa\x3a\x61\x23\x29\xb5\xeb\xef\x41\x24\xe2\xf8\xf4\x35\xf4\xa8\x63\x74\xd8\x58\x4b\x79\x32\x82\x9a\xdc\xb1\x56\x99\xbb\x49\x63\x9e\x8a\x90\x97\x5c\x74\x3e\x1b\x4a\x52\x9e\x7c\x17\xf3\xec\xe4\x18\xfb\x0e\x53\x44\x87\xed\x6e\xf4\x5c\x26\xdf\xf8\xd5\x46\xaf\xb7\x61\xc5\x9d\x6b\x9e\x1c\x92\xe7\x7c\x04\x6e\xfd\xd6\xa4\x01\xf8\x9f\x7b\x59\x6e\xb1\xbe\x3b\x7b\x57\x5e\x90\x9f\x90\x13\x8d\x99\x7a\x44\x68\x36\xc8\x9e\xc8\xa4\x62\x4b\x10\xaa\xc8\x11\x2f\x2c\x74\x0a\x8c\x3d\x69\x61\x91\xa9\xc2\x02\xfd\xd3\x97\x9d\xb5\x79\x29\xff\xea\x1e\x40\x46\xa4\xee\xe5\xcb\x58\xaa\xaa\xd2\x94\xab\xf9\xa1\x40\x63\x61\x36\xbf\x9e\xaf\xe7\x40\xbd\x97\x04\x77\x50\xe7\x0c\x6a\x18\x4c\x95\xb4\x28\x2d\x5b\x3f\xe7\xf8\x1e\x78\xde\x56\xf9\xcc\x6d\xb2\x41\x47\x73\x12\x86\x98\xdb\xf7\xf0\xc3\xd9\x0f\x83\x0e\x6f\xeb\x51\xe1\x75\x7c\x77\xb5\xfa\xf1\xfc\xb5\xf7\xd7\x54\x15\x69\x54\x56\x2b\xc2\x14\xed\x6b\x49\xe8\xf5\x7c\xbf\xeb\x23\xad\x72\xe8\x10\x11\x9c\x13\x64\xb6\x5c\xdc\x06\xcb\xf9\xed\xf5\xd5\x74\xb2\xbe\x5a\xdc\x04\xab\xeb\xc5\xfa\xa0\xcd\xf2\x24\x70\xe0\x17\x2c\x3e\xfd\x85\xee\x23\xf9\x85\x0e\x3f\xd0\xdf\xb8\x6e\xb1\x59\xdf\x6e\xd6\x7f\x20\x91\x8e\x78\x4d\x81\x7d\xea\xe3\x9a\xed\x47\xdb\xb9\x7c\xcc\xcb\x6a\x46\xc7\x3c\x35\x07\xff\x99\x5e\xd4\xe0\xb5\x7c\xfe\x76\xfe\xeb\x71\xad\x55\x9e\x97\xaf\xae\x43\x5c\x87\xeb\x4f\xc2\xee\xc0\xa2\xd6\xdc\xfd\x1d\x2f\x69\xf5\x4c\xff\x1b\x00\x00\xff\xff\xc3\x09\x41\x17\xca\x0f\x00\x00") func bindataTemplatesRdstfScriptsPreterraformapplyModifyversion11to137ShBytes() ([]byte, error) { return bindataRead( @@ -563,10 +563,10 @@ func bindataTemplatesRdstfScriptsPreterraformapplyModifyversion11to137Sh() (*ass info := bindataFileInfo{ name: "templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13_7.sh", - size: 4003, + size: 4042, md5checksum: "", mode: os.FileMode(493), - modTime: time.Unix(1709288294, 0), + modTime: time.Unix(1709389639, 0), } a := &asset{bytes: bytes, info: info} @@ -574,7 +574,7 @@ func bindataTemplatesRdstfScriptsPreterraformapplyModifyversion11to137Sh() (*ass return a, nil } -var _bindataTemplatesRdstfScriptsRunaddtionalscriptsSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x91\xc1\x6a\x1b\x31\x10\x86\xef\x7a\x8a\x3f\xee\xc2\x36\x05\x49\xf5\xb1\x14\x5f\x4a\x5c\xe8\xa5\x94\x1e\x7a\x09\xa9\x90\x77\x67\xbd\x0a\xb6\x24\x6b\x66\x5b\x87\xcd\xbe\x7b\x71\x37\x81\x98\xba\x39\x89\x91\xbe\x19\x7d\x3f\xf3\xe6\xca\x6e\x42\xb4\xdc\x2b\xc5\x24\xd0\xa4\x54\x2e\xe4\x52\x71\x39\xb1\x38\x9f\xf3\xee\x61\xb5\xa8\x96\x0b\xa5\x0a\x1d\x06\x62\xa1\xd6\x65\x3e\xec\xdc\x2f\x2a\x1c\x52\x5c\x8d\x23\xcc\xfa\x28\xc5\x7f\x27\x4e\x43\x69\x88\xcd\x8d\x17\xbf\xf1\x4c\xe6\x1b\x1f\x76\xeb\xb8\x0d\x91\x7e\xcc\x34\xa6\x49\x35\x43\x29\x14\xe5\x7c\x4a\xf5\xd6\xff\x66\x94\x96\xd1\x12\x37\x25\x6c\x48\xb7\x1b\x1d\x22\x8b\x8f\x0d\x31\xf4\xcb\x52\x87\x96\xa2\x84\x2e\x50\xc1\x6b\xdf\x7f\x79\xe2\xbf\xfa\x3d\x61\x9a\xa0\x75\xa1\xed\xc9\xc2\x67\xcd\x69\x90\x5e\x2f\xf1\x88\xfb\x03\x6a\x73\xf3\xe9\x19\xe6\x7a\xbe\xd3\x05\xb5\xb9\xbd\x33\x67\xfe\xf5\xf5\xb9\xfe\xde\xdf\xa7\xf2\x22\x04\x35\x7d\x42\x75\x29\x21\x1e\xb1\x2d\x94\xa1\x13\xea\x9f\xb7\xef\xf5\x87\xbb\x77\xf5\xb5\xda\xa7\x36\x74\x0f\xcf\x8c\x3b\x25\xcf\xb2\x9a\x0f\xb6\xd5\xf8\xcf\x2e\x26\x3b\xb7\xe8\xa7\x16\x5b\x8d\xff\x17\x9a\x9c\x93\xe4\x5c\x35\x5e\x5e\x9d\xb5\xc6\xba\xc9\x70\xaf\x42\x87\x2b\x08\xb1\x40\x77\xa8\x2e\x4a\x7d\x84\xf4\x14\x15\x00\xfc\x0d\xb9\xf8\x1c\x76\x84\x6a\x7e\x74\xdd\xa9\x88\x49\xd0\xa5\x21\xb6\x06\xeb\x63\x90\x10\xb7\x8b\x99\x3f\x06\xc1\x52\x75\x41\x29\x83\x8b\xc3\xff\x04\x00\x00\xff\xff\xcf\x8a\x73\x22\x86\x02\x00\x00") +var _bindataTemplatesRdstfScriptsRunaddtionalscriptsSh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x91\xc1\x8a\xdb\x30\x10\x86\xef\x7a\x8a\x59\xd7\xe0\x6e\x41\x52\x73\x2c\x25\x97\xb2\x29\xf4\x52\x4a\x0f\xbd\x2c\x5b\x21\xdb\x63\x5b\x8b\x23\xc9\x9a\x71\x9b\xe0\xf8\xdd\x4b\xea\x04\x12\x9a\xf4\x24\x24\xbe\x5f\xf3\xfd\xcc\x9b\x07\x5d\x3a\xaf\xa9\x13\x82\x90\x41\xa2\x10\x31\xa1\x09\xc9\xc4\x40\x6c\x6c\x8c\xfd\x7e\x9d\xe5\xab\x4c\x88\x84\xc3\x88\xc4\x58\x9b\x48\x43\x6f\x7e\x61\x22\x17\xfc\x7a\x9a\x40\x6d\x76\x9c\xec\x77\xa4\x30\xa6\x0a\x49\x3d\x59\xb6\xa5\x25\x54\xdf\x68\xe8\x37\xbe\x75\x1e\x7f\x2c\x34\xcc\xb3\xa8\xc6\x94\xd0\xf3\xf5\x2f\xf9\x5b\xfb\x9b\x20\xd5\x04\x35\x52\x95\x5c\x89\xb2\x2e\xa5\xf3\xc4\xd6\x57\x48\x20\x2f\xaf\xd2\xd5\xe8\xd9\x35\x0e\x13\xfc\x6f\xfc\x97\x13\xff\xd5\x6e\x11\xe6\x19\xa4\x4c\xd8\x1e\x2d\x6c\x94\x14\x46\xee\xe4\x0a\x0e\xf0\x3a\x40\xa1\x9e\x3e\x9d\x61\x2a\x96\x37\x99\xa0\x50\xcf\x2f\xea\xca\xbf\x78\xbc\xd6\xdf\xda\xd7\x90\x2e\x4a\x60\xd5\x05\xc8\x6f\x35\x84\x03\xb4\x09\x23\xc8\x00\xc5\xcf\xe7\xf7\xf2\xc3\xcb\xbb\xe2\x51\x6c\x43\xed\x9a\xfd\x99\x31\xc7\xe6\x91\xd7\xcb\x41\x3a\x9f\xfe\xd9\xc5\xac\x97\x88\x3c\x45\x74\x3e\xdd\x17\x9a\x8d\xe1\x60\x4c\x3e\xdd\x5e\x9d\xd6\x4a\x9b\x59\x51\x27\x5c\x03\x0f\xc0\x48\x0c\xb2\x81\xfc\xa6\xd4\x47\xe0\x0e\xbd\x00\x00\xf8\x5b\x32\xfb\xec\x7a\xbc\xc3\x82\x0f\x0c\x4d\x18\x7d\xad\x60\xb3\x73\xec\x7c\x9b\x2d\xc9\x9d\x63\x58\x89\xc6\x09\xa1\xee\x64\xff\x04\x00\x00\xff\xff\xb4\x9e\x89\x44\x91\x02\x00\x00") func bindataTemplatesRdstfScriptsRunaddtionalscriptsShBytes() ([]byte, error) { return bindataRead( @@ -593,10 +593,10 @@ func bindataTemplatesRdstfScriptsRunaddtionalscriptsSh() (*asset, error) { info := bindataFileInfo{ name: "templates/rds-tf/scripts/run_addtional_scripts.sh", - size: 646, + size: 657, md5checksum: "", mode: os.FileMode(420), - modTime: time.Unix(1709288533, 0), + modTime: time.Unix(1709387963, 0), } a := &asset{bytes: bytes, info: info} diff --git a/infra-provisioner-v2 b/infra-provisioner-v2 deleted file mode 100755 index 761409d..0000000 Binary files a/infra-provisioner-v2 and /dev/null differ diff --git a/main.go b/main.go index cb70859..3755f86 100644 --- a/main.go +++ b/main.go @@ -166,7 +166,7 @@ func main() { }, &cli.BoolFlag{ Name: "run-additional-scripts", - Usage: "Provisions just the template for given resource", + Usage: "Runs configured scripts before and after terraform apply", Aliases: []string{"s"}, }, &cli.BoolFlag{ diff --git a/main_test.go b/main_test.go index f152f03..c981ca4 100644 --- a/main_test.go +++ b/main_test.go @@ -37,17 +37,52 @@ func textDiff(text1, text2 string) string { return dmp.DiffPrettyText(diffs) } -func compareResourceWithOutput(resouceDir string, resource string, manifestFileName string) error { - expectedOutPath := resouceDir +func compareDirectories(expectedDir string, actualDir string) error { + + expected_output_directory, err := os.ReadDir(expectedDir) + if err != nil { + log.Fatal("\nErr:", err) + } + + for _, dir := range expected_output_directory { + + if dir.IsDir() { + return compareDirectories(filepath.Join(expectedDir, dir.Name()), filepath.Join(actualDir, dir.Name())) + } + + expectedFilePath := filepath.Join(expectedDir, dir.Name()) + actualFilePath := filepath.Join(actualDir, dir.Name()) + + expectedContent, err := ioutil.ReadFile(expectedFilePath) + if err != nil { + return err + } + actualContent, err := ioutil.ReadFile(actualFilePath) + if err != nil { + return err + } + if !bytes.Equal(actualContent, expectedContent) { + return fmt.Errorf("Mismatch for %s, diff: %s\n", actualFilePath, textDiff(string(actualContent), string(expectedContent))) + } + } + + return err +} + +func compareResourceWithOutput(resourceDir string, resource string, manifestFileName string) error { + expectedOutputPath := filepath.Join(testDataDir, expectedOutputDir, manifestFileName, resourceDir) + actualOutputPath := filepath.Join(testDataDir, actualOutputDir, manifestFileName, resourceDir) + dirs, err := ioutil.ReadDir(testDataDir) if err != nil { return err } - testActions, err := setActions(true, false, false) + testActions, err := setActions(true, false, false, false) if err != nil { log.Fatalf("\nErr: %v", err) return err } + for _, dir := range dirs { fmt.Print(dir.Name()) manifest, err := parseManifest(filepath.Join(testDataDir, manifestFileName+".json"), testActions) @@ -55,31 +90,11 @@ func compareResourceWithOutput(resouceDir string, resource string, manifestFileN return err } - err = templateResourceTf(resource, resouceDir, manifest, filepath.Join(testDataDir, actualOutputDir, manifestFileName, expectedOutPath)) + err = templateResourceTf(resource, filepath.Join(TemplatesDir, resourceDir), manifest, filepath.Join(testDataDir, actualOutputDir, manifestFileName, resourceDir)) if err != nil { return err } - err = filepath.Walk(filepath.Join(testDataDir, expectedOutputDir, manifestFileName, expectedOutPath), - func(path string, fileInfo os.FileInfo, err error) error { - if err != nil { - return err - } - if fileInfo.IsDir() { - return nil - } - expectedOutput, err := ioutil.ReadFile(path) - if err != nil { - return err - } - actualOutput, err := ioutil.ReadFile(filepath.Join(testDataDir, actualOutputDir, manifestFileName, expectedOutPath, filepath.Base(path))) - if err != nil { - return err - } - if !bytes.Equal(expectedOutput, actualOutput) { - return fmt.Errorf("Mismatch for %s, diff: %s\n", path, textDiff(string(actualOutput), string(expectedOutput))) - } - return nil - }) + err = compareDirectories(expectedOutputPath, actualOutputPath) if err != nil { return err } diff --git a/resource.go b/resource.go index 181a374..e27bb83 100644 --- a/resource.go +++ b/resource.go @@ -8,6 +8,7 @@ import ( "net/http" "os" "os/exec" + "path/filepath" "reflect" "strings" "text/template" @@ -143,7 +144,7 @@ func sendResourceDeploymentStatus(manifest *Manifest) { } defer resp.Body.Close() if resp.StatusCode != 202 && resp.StatusCode != 404 { - log.Panicf("\nFailed to set deployment Status of Resources, Response Code: %v", resp.StatusCode) +// log.Panicf("\nFailed to set deployment Status of Resources, Response Code: %v", resp.StatusCode) } } @@ -214,8 +215,7 @@ func templateResourceTf(templateName, sourcePath string, manifest *Manifest, des } for _, entry := range entries { if !entry.IsDir() { - // log.Printf("%s is a file, will be copied to %s", sourcePath+"/"+entry.Name(), destinationPath+"/"+entry.Name()) - tfBytes := bindata.MustAsset(sourcePath + "/" + entry.Name()) + tfBytes := bindata.MustAsset(filepath.Join(sourcePath, entry.Name())) t := template.Must(template.New(templateName).Funcs(sprig.TxtFuncMap()).Parse(string(tfBytes))) tfOut, err := createFile(destinationPath, entry.Name()) @@ -231,7 +231,7 @@ func templateResourceTf(templateName, sourcePath string, manifest *Manifest, des } tfOut.Close() } else { - err = templateResourceTf(templateName, sourcePath+"/"+entry.Name(), manifest, destinationPath+"/"+entry.Name()) + err = templateResourceTf(templateName, filepath.Join(sourcePath, entry.Name()), manifest, filepath.Join(destinationPath, entry.Name())) if err != nil { log.Fatalf("\nErr: %v", err) return err diff --git a/sample_infra_manifest.json b/sample_infra_manifest.json index fb0e85e..f5e57e8 100644 --- a/sample_infra_manifest.json +++ b/sample_infra_manifest.json @@ -1,6 +1,6 @@ { "environment": "dev", - "cluster": "spike.np.navi-tech.in", + "cluster": "nonprod.np.navi-tech.in", "metadata": { "repo": "navi-medici/test", "language": "Java", @@ -20,6 +20,8 @@ "password": "foo_service_password", "sizeInGb": 7, "statementTimeout": 0, + "PsqlEngineVersion": "13.7", + "storageEncrypted": true, "backupDisabled": true, "dRBackupDisable": true, "dbNames": ["foo_service"], @@ -28,11 +30,6 @@ "readonlyPassword": "foo_readonly_password", "applyImmediately": false, "performanceInsightsEnabled": false, - "readReplica": { - "awsInstanceClass": "db.t3.micro", - "performanceInsightsEnabled": true, - "multiAZDisabled": false - }, "parameters": [ { "name": "rds.logical_replication", diff --git a/templates/rds-tf/deploy.sh b/templates/rds-tf/deploy.sh index d8a1909..20d425a 100644 --- a/templates/rds-tf/deploy.sh +++ b/templates/rds-tf/deploy.sh @@ -39,7 +39,7 @@ for provider in $providers; do done printf '\n' -{{- if .Actions.Plan }} +{{- if .Actions.Apply }} {{- if .Actions.RunAdditionalScripts }} scripts/run_additional_scripts "pre-terraform-apply" {{- end }} @@ -61,8 +61,7 @@ terraform $terraform_action -target=module.rds.data.aws_subnet_ids.command_priva terraform $terraform_action -target=module.rds.module.rds_instance -target=module.rds.module.rds_instance_replica $additional_terraform_options terraform $terraform_action -target=module.rds.module.postgres_db $additional_terraform_options {{- end }} - -{{- if .Actions.Plan }} +{{- if .Actions.Apply }} {{- if .Actions.RunAdditionalScripts }} scripts/run_additional_scripts "post-terraform-apply" {{- end }} diff --git a/templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13_7.sh b/templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13_7.sh index 20beed7..90b1e62 100755 --- a/templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13_7.sh +++ b/templates/rds-tf/scripts/post-terraform-apply/modify-version/11__to__13_7.sh @@ -36,7 +36,7 @@ if [ $create_connector_output_status != 201 ]; then fi #diasble readonly mode -aws rds modify-db-parameter-group --db-parameter-group-name $db_parameter_group --parameters "ParameterName=default_transaction_read_only,ParameterValue=0,ApplyMethod=immediate" +aws rds modify-db-parameter-group --db-parameter-group-name $db_parameter_group --parameters "ParameterName=default_transaction_read_only,ParameterValue=0,ApplyMethod=immediate" --region ap-south-1 if [ $? -eq 0 ]; then echo "Disabled read only mode successfully" else diff --git a/templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13_7.sh b/templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13_7.sh index 68cf4b8..ff79b43 100755 --- a/templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13_7.sh +++ b/templates/rds-tf/scripts/pre-terraform-apply/modify-version/11__to__13_7.sh @@ -4,6 +4,7 @@ set -e S3_BUCKET_PATH="s3://dataplatform-artifacts/rds-debezium-config-mapping/rds_debezium_config_mapping.json" INSTANCE_NAME={{ .ExtraResources.Database.InstanceName }} +AWS_REGION=ap-south-1 infra_vertical={{ .InfraVertical }} environment={{ .ExtraResources.Environment }} @@ -26,7 +27,7 @@ fi #set database in read_only mode echo "Setting database mode to readonly" db_parameter_group=$(aws rds describe-db-instances --db-instance-identifier $INSTANCE_NAME --region ap-south-1 | jq '.DBInstances' | jq -r '.[].DBParameterGroups[0].DBParameterGroupName') -aws rds modify-db-parameter-group --db-parameter-group-name $db_parameter_group --parameters "ParameterName=default_transaction_read_only,ParameterValue=1,ApplyMethod=immediate" +aws rds modify-db-parameter-group --db-parameter-group-name $db_parameter_group --parameters "ParameterName=default_transaction_read_only,ParameterValue=1,ApplyMethod=immediate" --region ap-south-1 if [ $? -eq 0 ]; then echo "Enabled read only mode successfully" else @@ -51,11 +52,12 @@ HOST=$(echo $connector_config | jq -r '.connector_config."database.hostname"') DATABASE="postgres" DATASOURCE_USER={{ .ExtraResources.Database.User }} DATASOURCE_PASSWORD={{ .ExtraResources.Database.Password }} +export PGPASSWORD={{ .ExtraResources.Database.Password }} #check in DB if the paramter group has been set successfully, Run the query using psql in non-interactive mode echo "Checking ig DB parameter group has been set successfully" QUERY="SHOW default_transaction_read_only;" -read_only_status=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -U "$DATASOURCE_USER" -c "$QUERY" -W "$DATASOURCE_PASSWORD") +read_only_status=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -U "$DATASOURCE_USER" -c "$QUERY" -tA ) if [ "$read_only_status" == "on" ] then echo "DB has become readonly, proceeding ahead", @@ -70,10 +72,10 @@ slot_name=$(echo $connector_config | jq -r '.slot_name') #check the lag status LAG_STATUS_QUERY="select $slot_name, restart_lsn - '0/0' as lsn_on_rs, pg_current_wal_lsn() - '0/0' as curr_wal_lsn, pg_wal_lsn_diff(pg_current_wal_lsn(),restart_lsn) as lsn_lag, active from pg_replication_slots" -lag=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -U "$DATASOURCE_USER" -c "$LAG_STATUS_QUERY" -W "$DATASOURCE_PASSWORD") +lag=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -tA -U "$DATASOURCE_USER" -c "$LAG_STATUS_QUERY") while [ $lag != 0 ]; do echo "Lag has not become 0, waiting" - lag=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -U "$DATASOURCE_USER" -c "$LAG_STATUS_QUERY" -W "$DATASOURCE_PASSWORD") + lag=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -tA -U "$DATASOURCE_USER" -c "$LAG_STATUS_QUERY") done echo "Lag has become 0, proceeding ahead" @@ -86,7 +88,7 @@ fi #drop replication slot DROP_REPLICATION_SLOT_QUERY="select pg_drop_replication_slot(\"$slot_name\");" -DROP_REPLICATION_SLOT_OUTPUT=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -U "$DATASOURCE_USER" -c "$DROP_REPLICATION_SLOT_QUERY" -W "$DATASOURCE_PASSWORD") +DROP_REPLICATION_SLOT_OUTPUT=$(psql -h "$HOST" -p "5432" -d "$DATABASE" -tA -U "$DATASOURCE_USER" -c "$DROP_REPLICATION_SLOT_QUERY" -W "$DATASOURCE_PASSWORD") if [ "$DROP_REPLICATION_SLOT_OUTPUT" == "false" ]; then echo "Could not drop replication slot, exiting" exit 1 diff --git a/templates/rds-tf/scripts/run_addtional_scripts.sh b/templates/rds-tf/scripts/run_addtional_scripts.sh index f446e0b..4b34e7e 100644 --- a/templates/rds-tf/scripts/run_addtional_scripts.sh +++ b/templates/rds-tf/scripts/run_addtional_scripts.sh @@ -9,8 +9,8 @@ current_psql_version=$(aws rds describe-db-instances --db-instance-identifier {{ current_psql_major_version=$(echo $current_psql_version | grep -o '^[0-9]*') modify_version_script=scripts/${pre_or_post_apply}/modify-version/${current_psql_major_version}__to__${requested_psql_version//./_}.sh if ! test -f $modify_version_script; then - echo "File $script_file not found. Exiting" + echo "File $modify_version_script not found. Exiting" exit 1 fi -. modify_version_script \ No newline at end of file +. $modify_version_script \ No newline at end of file