Merge pull request #214 from navi-infra/INFRA-3628

INFRA-3628 | Ankit Bhardwaj | fix rds destroy pipline fail when grep return non zero exit code
This commit is contained in:
Ankit Bhardwaj Bhardwaj
2024-08-05 19:57:23 +05:30
committed by GitHub
3 changed files with 24 additions and 24 deletions

View File

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

View File

@@ -1,2 +1,2 @@
app_name: infra-provisioner-v2
version: v2.48.10
version: v2.48.11

View File

@@ -45,8 +45,8 @@ terraform $terraform_action -target=module.rds.module.rds_instance -target=modul
{{- else if or .Actions.Destroy .Actions.Apply }}
state_migration
{{- if .Actions.Destroy }}
terraform state show 'module.rds.module.rds_instance.module.db.module.db_instance.aws_db_instance.this[0]' | grep "delete_automated_backups" | grep "false"
if [ $? -eq 1 ] ; then
output=$(terraform state show 'module.rds.module.rds_instance.module.db.module.db_instance.aws_db_instance.this[0]' | grep "delete_automated_backups" | grep "false" || true)
if [ -n "$output" ] ; then
terraform_apply=apply
terraform $terraform_apply -target=module.rds.module.rds_instance -target=module.rds.module.rds_instance_replica $additional_terraform_options
terraform $terraform_apply -target=module.rds.module.postgres_db $additional_terraform_options
@@ -54,7 +54,7 @@ fi
terraform_action=destroy
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.data.aws_subnet_ids.command_private_subnets -target=module.rds.data.aws_subnets.command_private_subnets $additional_terraform_options
terraform state list | grep 'module.rds.module.postgres_db' && terraform state rm $(terraform state list | grep 'module.rds.module.postgres_db')
(terraform state list | grep 'module.rds.module.postgres_db' && terraform state rm $(terraform state list | grep 'module.rds.module.postgres_db')) || true
{{- else }}
terraform_action=apply
{{- if .Actions.RunAdditionalScripts }}