INFRA-3766 | Sambit | Fix RDS DB Deletion script
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
// templates/dynamo-db-tf/main.tf (4.684kB)
|
||||
// templates/elastic-cache-tf/deploy.sh (1.094kB)
|
||||
// templates/elastic-cache-tf/main.tf (6.428kB)
|
||||
// templates/rds-tf/deploy.sh (4.549kB)
|
||||
// templates/rds-tf/deploy.sh (4.548kB)
|
||||
// templates/rds-tf/main.tf (11.659kB)
|
||||
// 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: 1833, mode: os.FileMode(0644), modTime: time.Unix(1725543252, 0)}
|
||||
info := bindataFileInfo{name: "templates/aurora-db-tf/deploy.sh", size: 1833, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe6, 0x50, 0x3, 0x9b, 0x1c, 0x62, 0xb1, 0x62, 0x68, 0x72, 0x56, 0x5, 0xb5, 0xcc, 0xa6, 0x4d, 0x9d, 0x43, 0x3, 0xce, 0x70, 0x65, 0x28, 0xd5, 0x95, 0xa7, 0x33, 0xe7, 0x54, 0x1, 0xdf, 0x65}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -119,7 +119,7 @@ func templatesAuroraDbTfMainTf() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9573, mode: os.FileMode(0644), modTime: time.Unix(1725363282, 0)}
|
||||
info := bindataFileInfo{name: "templates/aurora-db-tf/main.tf", size: 9573, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4a, 0x35, 0x5b, 0x7e, 0x8b, 0x59, 0xbb, 0xc5, 0xda, 0xd7, 0x84, 0xac, 0x66, 0xe4, 0x85, 0x2d, 0x34, 0x9b, 0xff, 0x65, 0x9e, 0x18, 0x1d, 0x34, 0xaa, 0xad, 0xf1, 0x2a, 0x65, 0xf0, 0x3, 0x53}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -139,7 +139,7 @@ func templatesAwsRolesTfDeploySh() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 2281, mode: os.FileMode(0644), modTime: time.Unix(1725543252, 0)}
|
||||
info := bindataFileInfo{name: "templates/aws-roles-tf/deploy.sh", size: 2281, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe2, 0xb0, 0x65, 0xf8, 0x31, 0xdd, 0x41, 0xa9, 0xab, 0x76, 0x59, 0x3e, 0xac, 0xde, 0x8e, 0xc2, 0xa9, 0x4c, 0xd8, 0x7c, 0x65, 0x13, 0x7e, 0x10, 0x1, 0x9, 0x44, 0xaa, 0xaa, 0xe6, 0xd1, 0x4a}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -159,7 +159,7 @@ func templatesAwsRolesTfMainTf() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1656, mode: os.FileMode(0644), modTime: time.Unix(1725363458, 0)}
|
||||
info := bindataFileInfo{name: "templates/aws-roles-tf/main.tf", size: 1656, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa0, 0x3, 0xb1, 0x88, 0xb3, 0xfd, 0xd4, 0x3f, 0xd3, 0x25, 0xbb, 0x69, 0x84, 0xc3, 0xe2, 0xaa, 0x5f, 0xb1, 0xdb, 0x59, 0x3b, 0x8f, 0x5b, 0xcc, 0x5b, 0xde, 0xf7, 0x6f, 0x79, 0x7e, 0xf8, 0x65}}
|
||||
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: 1125, mode: os.FileMode(0644), modTime: time.Unix(1725964744, 0)}
|
||||
info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/deploy.sh", size: 1125, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x44, 0x22, 0xae, 0xcd, 0xba, 0xa, 0x95, 0x34, 0x91, 0xc7, 0xf9, 0x2, 0x26, 0xf2, 0xe3, 0xad, 0x46, 0x1e, 0x31, 0xa2, 0x9b, 0x67, 0xb3, 0x7d, 0x92, 0xd9, 0xc3, 0x34, 0x50, 0xa6, 0xb, 0x22}}
|
||||
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(1725363458, 0)}
|
||||
info := bindataFileInfo{name: "templates/aws-s3-bucket-tf/main.tf", size: 1454, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 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: 1095, mode: os.FileMode(0644), modTime: time.Unix(1725543252, 0)}
|
||||
info := bindataFileInfo{name: "templates/document-db-tf/deploy.sh", size: 1095, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa1, 0xf9, 0x64, 0xe7, 0xa, 0x2b, 0xa1, 0x5e, 0x1f, 0x27, 0xb5, 0xbd, 0x80, 0xe9, 0xc9, 0x7a, 0x4a, 0x7d, 0x5c, 0x13, 0xa2, 0xee, 0x4d, 0xba, 0xba, 0xc4, 0x90, 0xe0, 0x2d, 0x13, 0xe7, 0x1e}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -239,7 +239,7 @@ func templatesDocumentDbTfMainTf() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 5066, mode: os.FileMode(0644), modTime: time.Unix(1725363282, 0)}
|
||||
info := bindataFileInfo{name: "templates/document-db-tf/main.tf", size: 5066, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0xd9, 0x95, 0x6e, 0x4a, 0xb2, 0x1d, 0xcf, 0x23, 0xbf, 0x54, 0xdf, 0xda, 0xfc, 0x9b, 0xcf, 0x2a, 0xb, 0xe1, 0x20, 0x89, 0xb8, 0x7d, 0x69, 0x3f, 0x58, 0x1a, 0x7b, 0x1d, 0x40, 0x80, 0xf0}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -259,7 +259,7 @@ func templatesDynamoDbTfDeploySh() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 793, mode: os.FileMode(0644), modTime: time.Unix(1725543252, 0)}
|
||||
info := bindataFileInfo{name: "templates/dynamo-db-tf/deploy.sh", size: 793, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0xeb, 0xcd, 0x66, 0x24, 0xf3, 0xe1, 0x76, 0x61, 0x41, 0x6f, 0xcd, 0xd2, 0x80, 0xc1, 0xe0, 0x56, 0x8f, 0xdb, 0x6d, 0xbf, 0x35, 0x51, 0x45, 0x5, 0xec, 0x32, 0xb8, 0xfb, 0x54, 0x5c, 0x83}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -279,7 +279,7 @@ func templatesDynamoDbTfMainTf() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4684, mode: os.FileMode(0644), modTime: time.Unix(1725964127, 0)}
|
||||
info := bindataFileInfo{name: "templates/dynamo-db-tf/main.tf", size: 4684, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0xf7, 0x2f, 0x33, 0x9c, 0x99, 0x10, 0x94, 0x69, 0x2, 0x32, 0xc2, 0x96, 0x20, 0xb8, 0xb2, 0x64, 0xb0, 0x30, 0x24, 0xec, 0xe6, 0x56, 0xe5, 0x40, 0xbe, 0x8c, 0xe6, 0x5, 0x20, 0xd4, 0xe5}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -299,7 +299,7 @@ func templatesElasticCacheTfDeploySh() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1094, mode: os.FileMode(0644), modTime: time.Unix(1725543252, 0)}
|
||||
info := bindataFileInfo{name: "templates/elastic-cache-tf/deploy.sh", size: 1094, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x4e, 0x70, 0x4d, 0xb6, 0xab, 0x14, 0x7c, 0x36, 0xb, 0x2d, 0x46, 0x1d, 0xd4, 0x33, 0xba, 0x15, 0x4d, 0x69, 0x26, 0x4d, 0x69, 0xc2, 0x52, 0x9a, 0x9b, 0x27, 0x6d, 0x56, 0x10, 0x44, 0xb3}}
|
||||
return a, nil
|
||||
}
|
||||
@@ -319,12 +319,12 @@ func templatesElasticCacheTfMainTf() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6428, mode: os.FileMode(0644), modTime: time.Unix(1725363282, 0)}
|
||||
info := bindataFileInfo{name: "templates/elastic-cache-tf/main.tf", size: 6428, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x30, 0x56, 0xd9, 0xab, 0xe1, 0x23, 0x2e, 0x3, 0x58, 0xf2, 0xf7, 0x5a, 0xc4, 0x23, 0xc, 0x87, 0xa3, 0x3, 0xc5, 0x6b, 0x4a, 0x0, 0xc2, 0x46, 0xd2, 0xbc, 0xfc, 0xa6, 0xd5, 0x24, 0x79, 0x3b}}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _templatesRdsTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x5d\x6f\xdb\x36\x14\x7d\xd7\xaf\xb8\x55\x8d\xaa\x1e\x26\x39\x4d\x1f\x06\x34\xf0\x86\x00\x5d\x5f\x3b\xa4\x03\xf6\x10\x04\x02\x2d\x5e\xc9\x44\x24\x92\xe1\xa5\xe2\x04\x8e\xff\xfb\x40\x5a\x1f\xb6\x1c\xdb\x49\x9b\x60\x43\x5f\x02\x91\xf7\xf2\x1e\x7e\x9c\x73\xc8\xf8\xed\x9b\xc9\x4c\xc8\x09\xcd\x83\x80\xd0\x42\x8c\x41\x90\xd7\x32\xb3\x42\x49\xc0\x6c\xae\x52\x26\x79\x6a\x6a\x09\xcb\x00\x00\x7c\x17\x84\x17\xb5\x94\x42\x16\x90\xa9\xaa\x62\x92\x7f\x82\xd1\x2f\xe1\x3a\x7c\xcb\x4a\x08\x5d\x6b\x15\x6c\x14\x22\xcb\x2c\xa6\x95\x28\x0c\x73\xed\xf7\xe3\xa6\xda\x5b\x30\x58\xa9\x5b\x04\xa5\x7d\x5e\x61\x54\xad\x21\x37\xaa\x02\x8b\xc6\xb0\x5c\x99\x6a\x3d\x18\x18\x6d\x27\x31\x2d\x40\x50\x33\x9e\xc3\xec\x1e\xd8\x82\x20\x57\x06\xb4\x22\x5b\x18\x24\x60\x92\xc3\x02\x21\x63\x32\xb2\xc0\xb1\x44\x3b\x00\x62\x04\xc2\x12\xd4\xb4\x2e\x40\x92\x69\x9a\x2b\x9b\xf8\xb9\x0d\x27\x50\x0a\xb2\xf0\x00\x85\x41\x0d\x51\xa5\x78\x5d\x62\x62\x38\x25\xfd\x67\x2a\x24\x59\x26\x33\x6c\xfb\xf8\xac\xff\x4a\xd7\xc8\xa9\x47\x4e\xd8\x82\xd2\x61\x9f\x9d\x0b\x8a\xe0\xdd\xbb\x1d\x64\x53\xbd\x22\x60\xe0\x17\xeb\xf6\x4d\x80\x90\x30\x7a\x7f\x68\xdd\x5b\xa0\xa9\x41\x5d\x8a\x8c\x35\x90\xe3\x33\xae\x7c\xad\x9e\x26\x78\x87\x59\x6d\x85\x2c\xc2\x41\x60\x88\x51\xdd\xc2\x48\xc0\x68\x29\x26\x07\x00\x1e\x8d\x5d\x9e\x5c\x35\xe1\x55\x0f\xf2\x2a\xe5\x7d\x75\xae\x24\x3a\x6a\x33\xce\x85\xdb\x49\x56\xa6\x1d\x58\xb3\xb9\x34\x0d\xc3\x20\x58\x2e\x63\x10\xb9\xa7\x60\x72\xee\x45\x40\xc9\x5f\x25\x93\x7d\xeb\x33\x92\x35\xea\x1e\x56\xab\x60\x4b\x67\xd1\xe1\xda\xa3\xe5\xa1\xf8\x0a\x62\xbe\xae\x1b\x46\x7e\x0e\x58\x12\xba\x89\x28\xb3\x8b\xdc\x75\x9c\x6b\x5d\xbe\xfc\x44\x58\x6d\x55\xcc\xb4\x36\xea\x16\xdb\xd9\x48\xee\x60\x82\x6d\xa0\x0d\x3a\x08\x29\x6c\xb8\x37\xba\x50\xe6\x9a\x34\xcb\x10\x08\x4b\xcc\x2c\x2c\x97\x90\xfc\x79\x67\x0d\xbb\x40\x52\xb5\xc9\x90\x92\x7f\xba\x9c\xd5\x0a\x1e\x1e\xe0\xb1\xd1\x12\x17\xc7\x86\x86\xc3\x39\xba\x65\x08\x8e\x86\xa6\x9b\x12\xe9\x7a\x3b\x67\x30\x58\x08\xb2\xe6\x3e\xe9\x92\x12\xa1\x26\x71\x04\x0f\xc0\x16\xd7\x10\x7f\x81\xe8\x32\x82\x68\xa9\x8d\x90\x16\x46\xa7\x2b\x17\x71\x06\x14\xd1\x24\x19\x4d\x26\xd1\x38\x0c\xbc\x8b\x35\x95\xbd\x28\x3b\x98\x33\x70\x22\x13\x79\xa3\xa3\x2e\x10\xb6\xf8\xf1\x0d\x84\xad\x01\x86\x67\x60\xe7\x28\x1d\x71\x33\x65\x0c\x66\x36\x6d\xf3\xdd\xf1\xb5\xdf\x93\x49\x3c\xc9\xee\x8d\x28\x0b\x2e\x9d\x88\x1c\x65\x9e\x32\x66\xce\x68\x2e\x32\x65\xb4\x1b\x94\x8b\x60\xfb\xba\x88\x76\x5c\x0c\x75\xc9\x32\x8c\xbb\x85\x6d\x11\x64\x6b\x2d\xe1\x68\x88\x1d\x46\x81\x97\xde\xf6\x99\x1c\xf4\xaa\x47\x2c\xb3\xdd\x98\x94\xcf\xba\xef\x9b\x32\xe5\xcc\xb2\x19\x23\x7c\xae\x03\x3f\xa9\xdc\xd8\x93\xd0\xd4\x18\xb6\x9e\xb0\xed\x07\x43\xd5\xf5\x74\x4f\x99\xcf\x9b\xea\x92\xc9\xfd\x9a\x18\x0d\xf3\x21\xb6\xcc\x14\x68\xa7\x87\xaf\x8c\x27\xa6\xb5\x46\xf8\x58\xba\x5b\xa8\xbf\x58\xa8\x9e\x49\xb4\xa9\xe0\x94\x34\x2f\x82\x54\x1b\x71\xeb\xee\xfc\x75\x88\x9e\x30\x7c\xff\xd8\xd1\x21\xa3\x09\xbf\xc3\xe6\x06\xcf\x91\x9d\x83\xd9\x67\xcd\x3b\xf7\x16\xcd\xd5\xe2\xbb\xee\xe6\x2e\xd8\xdc\xcb\x5d\xdb\x71\xe6\xf2\xe4\x2a\xea\x58\xbc\x7e\xb7\xa4\x4e\x2b\x15\xb3\xc8\xd3\x19\xcb\xae\x6b\x4d\x7d\x46\xce\x4a\xc2\x28\x0c\x44\x0e\x97\x30\xfa\x03\x62\xbc\x81\x0f\x70\x05\x9d\xfa\xf7\xf2\xcb\xed\xc7\xd4\xff\x0d\xf7\xa7\x6d\x31\xcc\xef\xe0\xeb\x10\xec\xc8\x29\xbf\xc8\xfc\x36\x14\x7b\x0c\x2f\x17\xc7\x74\xd9\x5e\xb4\xff\xb9\x34\x8f\x2d\xe5\x87\xe6\xf7\x3f\x11\xf9\x8b\x19\xff\x3e\x7f\x3f\xfc\xf0\x3d\x52\x73\x3c\x70\x79\x6f\x47\xc7\x9d\xbd\x91\xde\xd0\x7e\x2e\x6a\x79\xde\x6d\xc6\xb7\xcc\x08\x6d\x69\xb7\x1a\xad\x03\x13\x53\xcb\x74\x63\xef\x9a\xee\x84\xe6\x10\x69\x83\x71\x07\x1a\x7b\xb4\x0d\x9f\x78\x33\x85\x13\xb8\xea\xdf\x08\xcd\x9b\xe2\x0b\x13\x25\x72\xe8\xde\xee\xa0\x0d\xc2\x5a\x58\xeb\xda\xbf\x02\xde\x89\xfe\x55\xef\x1a\xf0\xc1\xe9\x65\xe3\x85\xf7\xf3\x51\xee\x27\x93\xf5\xf3\x0d\xf1\xf5\x58\xaa\xc8\xbe\x04\x4d\x15\xd9\x67\xf3\xf4\xf1\xcf\xe0\x2d\xfc\xfd\xf5\xf3\xd7\x4f\xed\xaf\x13\x3f\xc8\x51\xe5\x0e\xbf\x3f\x1f\xc3\x09\xfa\x9f\x42\x48\x63\x26\x72\x91\x01\x59\x65\x58\x81\xa9\xbd\xd7\xe8\xff\x1f\x77\x79\xf1\xef\x50\xe8\x8f\x63\x10\x04\x99\xaa\xb4\xff\x09\xe3\xf2\x37\xf8\x86\xda\x62\x35\x43\x03\xa7\x27\xa7\x1f\xaf\x82\x7f\x03\x00\x00\xff\xff\x02\x1c\xeb\x0c\xc5\x11\x00\x00")
|
||||
var _templatesRdsTfDeploySh = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x58\x5d\x6f\xdb\x36\x14\x7d\xd7\xaf\xb8\x55\x85\xaa\x0e\x26\x39\x4b\x1f\x06\x34\xf0\x86\x00\x5d\x5f\x3b\xa4\x03\xf6\x60\x18\x02\x2d\x5e\xcb\x44\x24\x92\xe5\xa5\xe2\x04\x8e\xff\xfb\x40\x5a\x92\x6d\x39\xb6\x93\x36\xc1\x86\xbe\x04\x22\xef\xe5\x3d\xfc\x38\xe7\x90\xf1\xdb\x37\xc3\xa9\x90\x43\x9a\x07\x01\xa1\x85\x04\x83\x60\x56\xcb\xdc\x0a\x25\x01\xf3\xb9\xca\x98\xe4\x99\xa9\x25\x2c\x03\x00\xf0\x5d\x10\x5e\xd7\x52\x0a\x59\x40\xae\xaa\x8a\x49\xfe\x11\xa2\xb3\x70\x1d\xbe\x65\x25\x84\xae\xb5\x0a\xb6\x0a\x91\x65\x16\xb3\x4a\x14\x86\xb9\xf6\xfb\x41\x53\xed\x2d\x18\xac\xd4\x2d\x82\xd2\x3e\xaf\x30\xaa\xd6\x30\x33\xaa\x02\x8b\xc6\xb0\x99\x32\xd5\x7a\x30\x30\xda\x4d\x62\x5a\x80\xa0\x66\x3c\x87\xe9\x3d\xb0\x05\xc1\x4c\x19\xd0\x8a\x6c\x61\x90\x80\x49\x0e\x0b\x84\x9c\xc9\xd8\x02\xc7\x12\x6d\x0f\x88\x11\x08\x4b\x50\xd3\xba\x00\x49\xa6\x69\xae\x6c\xea\xe7\xd6\x9f\x40\x29\xc8\xc2\x03\x14\x06\x35\xc4\x95\xe2\x75\x89\xa9\xe1\x94\x6e\x3e\x33\x21\xc9\x32\x99\x63\xdb\xc7\xa7\x9b\xaf\x6c\x8d\x9c\x79\xe4\x94\x2d\x28\xeb\xf7\xd9\xb9\xa0\x18\xde\xbd\xdb\x43\x36\xd5\x2b\x02\x06\x7e\xb1\x6e\xdf\x04\x08\x09\xd1\xfb\x63\xeb\xde\x01\xcd\x0c\xea\x52\xe4\xac\x81\x1c\x5c\x72\xe5\x6b\x6d\x68\x82\x77\x98\xd7\x56\xc8\x22\xec\x05\xfa\x18\xd5\x2d\x44\x02\xa2\xa5\x18\x1e\x01\x78\x34\x36\x3e\x9f\x34\xe1\xd5\x06\xe4\x55\xca\xfb\xea\x5c\x49\x74\xd4\x66\x9c\x0b\xb7\x93\xac\xcc\x3a\xb0\x66\x73\x69\x14\x86\x41\xb0\x5c\x26\x20\x66\x9e\x82\xe9\x95\x17\x01\xa5\x7f\x95\x4c\x6e\x5a\x9f\x90\xac\x51\xf7\xb0\x5a\x05\x3b\x3a\x8b\x8f\xd7\x8e\x96\xc7\xe2\x2b\x48\xf8\xba\x6e\x18\xfb\x39\x60\x49\xe8\x26\xa2\xcc\x3e\x72\xd7\x71\xa5\x75\xf9\xf2\x13\x61\xb5\x55\x09\xd3\xda\xa8\x5b\x6c\x67\x23\xb9\x83\x09\x76\x81\xb6\xe8\x20\xa4\xb0\xe1\xc1\xe8\x42\x99\x1b\xd2\x2c\x47\x20\x2c\x31\xb7\xb0\x5c\x42\xfa\xe7\x9d\x35\xec\x1a\x49\xd5\x26\x47\x4a\xff\xe9\x72\x56\x2b\x78\x78\x80\xc7\x46\x4b\x5c\x9c\x1a\x1a\xf6\xe7\xe8\x96\x21\x38\x1a\x1a\x6d\x4b\xa4\xeb\xed\x9c\xc1\x60\x21\xc8\x9a\xfb\xb4\x4b\x4a\x85\x1a\x26\x31\x3c\x00\x5b\xdc\x40\xf2\x19\xe2\x71\x0c\xf1\x52\x1b\x21\x2d\x44\x17\x2b\x17\x71\x06\x14\xd3\x30\x8d\x86\xc3\x78\x10\x06\xde\xc5\x9a\xca\x5e\x94\x1d\xcc\x25\x38\x91\x89\x59\xa3\xa3\x2e\x10\xb6\xf8\xc9\x37\x08\x5b\x03\x0c\x2f\xc1\xce\x51\x3a\xe2\xe6\xca\x18\xcc\x6d\xd6\xe6\xbb\xe3\x6b\xbf\x87\xc3\x64\x98\xdf\x1b\x51\x16\x5c\x3a\x11\x39\xca\x3c\x65\xcc\x9c\xd1\x5c\xe4\xca\x68\x37\x68\x26\x82\xdd\xeb\x22\xde\x73\x31\xd4\x25\xcb\x31\xe9\x16\xb6\x43\x90\x9d\xb5\x84\x51\x1f\x3b\x8c\x03\x2f\xbd\xdd\x33\x39\xea\x55\x8f\x58\x66\xbb\x31\x19\x9f\x76\xdf\xdf\xca\x8c\x33\xcb\xa6\x8c\xf0\xb9\x0e\xfc\xa4\x72\x03\x4f\x42\x53\x63\xd8\x7a\xc2\xae\x1f\xf4\x55\xb7\xa1\x7b\xc6\x7c\xde\x48\x97\x4c\x1e\xd6\x44\xd4\xcf\x87\xc4\x32\x53\xa0\x1d\x1d\xbf\x32\x9e\x98\xd6\x1a\xe1\x63\xe9\x6e\xa1\xfe\x62\xa1\x7a\x2a\xd1\x66\x82\x53\xda\xbc\x08\x32\x6d\xc4\xad\xbb\xf3\xd7\x21\x7a\xc2\xf0\xc3\x63\xa3\x63\x46\x13\x7e\x87\xcd\xf5\x9e\x23\x7b\x07\xb3\x65\xcd\x76\x96\xf9\xec\xd1\xfe\xc5\x48\x73\xb5\xf8\xae\x8b\xb9\x0b\x36\x97\x72\xd7\x76\x84\x19\x9f\x4f\xe2\x8e\xc2\xeb\x47\x4b\xe6\x84\x52\x31\x8b\x3c\x9b\xb2\xfc\xa6\xd6\x14\x0f\x02\x31\x83\xf1\x18\xc2\xa8\x9d\x60\x08\xa3\x11\x9c\x85\x9e\x69\x67\x30\x99\x40\x27\xfe\x83\xf4\x72\xdb\x31\xf2\x7f\xc3\xc3\x69\x3b\x04\xf3\x1b\xf8\x3a\xfc\x3a\x71\xc8\x2f\x32\xbf\x2d\xc1\x9e\xc2\x9b\x89\x53\xb2\x6c\xef\xd9\xff\x5c\x99\xa7\x96\xf2\x43\xf3\xfb\x9f\x68\xfc\xc5\x7c\xff\x90\xbd\x1f\x7f\xf7\x9e\xa8\x39\xe8\x99\xbc\x77\xa3\xd3\xc6\xde\x48\xaf\xef\x3e\xd7\xb5\xbc\xea\x36\xe3\x6b\x6e\x84\xb6\xb4\x5f\x8d\xd6\x81\xa1\xa9\x65\xb6\xb5\x77\x4d\x77\x4a\x73\x88\xb5\xc1\xa4\x03\x4d\x3c\x5a\x1c\x7a\xe3\x80\xe8\x0f\x78\x33\x82\x73\x98\x6c\x9e\x08\xcd\x93\xe2\x33\x13\x25\x72\xe8\x9e\xee\xa0\x0d\xc2\x5a\x58\xeb\xda\xbf\x00\xde\x89\xcd\xa3\xde\x35\xe0\x57\xa7\x97\xad\x07\xde\xcf\x47\xb9\x9f\x4c\xd6\xcf\x37\xc4\xd7\x63\xa9\x22\xfb\x12\x34\x55\x64\x9f\xcd\xd3\xc7\x3f\x83\xb7\xf0\xf7\x97\x4f\x5f\x3e\xb6\x3f\x4e\xfc\x20\x47\x95\x3b\xfc\xcd\xf9\x18\x4e\xb0\xf9\x25\x84\x34\xe6\x62\x26\x72\x20\xab\x0c\x2b\x30\xb3\xf7\x1a\xfd\xbf\xe3\x2e\x2f\xf9\x1d\x0a\xfd\x61\x00\x82\x20\x57\x95\xf6\xbf\x60\x8c\x7f\x83\xaf\xa8\x2d\x56\x53\x34\x70\x71\x7e\xf1\x61\x12\xfc\x1b\x00\x00\xff\xff\x18\x61\x99\xca\xc4\x11\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: 4549, mode: os.FileMode(0644), modTime: time.Unix(1725543252, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0x92, 0x0, 0xd4, 0x73, 0x2, 0x8, 0x1b, 0x7f, 0x83, 0x8, 0x93, 0xbf, 0xcb, 0xa4, 0x2b, 0x73, 0xc4, 0x19, 0xf2, 0xde, 0xe8, 0x3e, 0xa, 0xaf, 0x1d, 0x66, 0x6d, 0x59, 0xf3, 0xb, 0xed}}
|
||||
info := bindataFileInfo{name: "templates/rds-tf/deploy.sh", size: 4548, mode: os.FileMode(0644), modTime: time.Unix(1726054498, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x89, 0x8e, 0x20, 0x8, 0xa3, 0x46, 0x5b, 0x64, 0x98, 0xa7, 0x99, 0xe6, 0x7e, 0x7a, 0x61, 0x58, 0xc6, 0x47, 0x8b, 0x4c, 0x6d, 0x70, 0xb4, 0x88, 0xd8, 0x3e, 0xa1, 0x28, 0x38, 0xb, 0x88, 0x7a}}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
@@ -359,7 +359,7 @@ func templatesRdsTfMainTf() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11659, mode: os.FileMode(0644), modTime: time.Unix(1725363458, 0)}
|
||||
info := bindataFileInfo{name: "templates/rds-tf/main.tf", size: 11659, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x25, 0xdc, 0xc8, 0xb2, 0x39, 0x13, 0xb1, 0x49, 0x15, 0xc2, 0x2, 0xb3, 0xa5, 0x3d, 0xbc, 0xa2, 0xa1, 0x9e, 0x36, 0x7d, 0xb8, 0x3f, 0x3, 0xfc, 0xd0, 0xed, 0xeb, 0xdf, 0x97, 0xcf, 0x85, 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(1725363282, 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(1725977097, 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(1725371970, 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(1725977097, 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: 1444, mode: os.FileMode(0644), modTime: time.Unix(1725363282, 0)}
|
||||
info := bindataFileInfo{name: "templates/rds-tf/scripts/run_additional_scripts.sh", size: 1444, mode: os.FileMode(0644), modTime: time.Unix(1725977097, 0)}
|
||||
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xff, 0x58, 0xda, 0x8d, 0x27, 0x34, 0x47, 0x37, 0x43, 0xd0, 0xbf, 0xb4, 0xdd, 0x9f, 0xb5, 0x28, 0x30, 0x71, 0x25, 0x1c, 0x43, 0xfb, 0xe1, 0x26, 0x23, 0x70, 0xf, 0x38, 0x7c, 0x1c, 0xa9, 0x2f}}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
@@ -47,8 +47,8 @@ echo_and_run "terraform $terraform_action -target=module.rds.module.rds_instance
|
||||
{{- else if or .Actions.Destroy .Actions.Apply }}
|
||||
state_migration
|
||||
{{- if .Actions.Destroy }}
|
||||
echo_and_run "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
|
||||
tf_state=$(terraform state show 'module.rds.module.rds_instance.module.db.module.db_instance.aws_db_instance.this[0]' | grep 'delete_automated_backups')
|
||||
if [[ "$tf_state" == *"true"* ]] ; then
|
||||
echo_and_run "terraform_apply=apply"
|
||||
echo_and_run "terraform $terraform_apply -target=module.rds.module.rds_instance -target=module.rds.module.rds_instance_replica $additional_terraform_options"
|
||||
echo_and_run "terraform $terraform_apply -target=module.rds.module.postgres_db $additional_terraform_options"
|
||||
|
||||
Reference in New Issue
Block a user