Skip to content

Commit 324c7c3

Browse files
authored
chore: Fixes broken CI by sed after cdk-import (#452)
1 parent 783bf01 commit 324c7c3

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

API.md

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/cdk.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@ sed -e 's/UNDERSCORE_//g' -e 's/HYPHEN_//g' -e 's/PERIOD_//g' -e 's/VALUE_//g' "
6060
# Fix @typescript-eslint/no-shadow es-linter error in file federated-database-instance/index.ts
6161
sed -e 's/map(y => toJson_TagSet(y))/map(x => toJson_TagSet(x))/g' "${dest}" > "${dest}.tmp" && mv "${dest}.tmp" "${dest}"
6262

63+
# Fix errors like `Definition for rule '@stylistic/max-len' was not found @stylistic/max-len` until eslint 9 is supported by projen: https://github.com/projen/projen/issues/3240
64+
sed -e 's|@stylistic/max-len, ||g' -e 's|, @stylistic/quote-props||g' "${dest}" > "${dest}.tmp" && mv "${dest}.tmp" "${dest}"
65+
6366
echo
6467
echo "L1 CDK resource generated succesfully: ${resource}, CFN type: ${resourceType}"

src/l1-resources/cluster/index.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,20 @@ export interface ProcessArgs {
230230
*/
231231
readonly minimumEnabledTlsProtocol?: string;
232232

233+
/**
234+
* The TLS cipher suite configuration mode. Valid values include `CUSTOM` or `DEFAULT`. The `DEFAULT` mode uses the default cipher suites. The `CUSTOM` mode allows you to specify custom cipher suites for both TLS 1.2 and TLS 1.3. To unset, this should be set back to `DEFAULT`.
235+
*
236+
* @schema processArgs#TlsCipherConfigMode
237+
*/
238+
readonly tlsCipherConfigMode?: string;
239+
240+
/**
241+
* The custom OpenSSL cipher suite list for TLS 1.2. This field is only valid when `tls_cipher_config_mode` is set to `CUSTOM`.
242+
*
243+
* @schema processArgs#CustomOpensslCipherConfigTls12
244+
*/
245+
readonly customOpensslCipherConfigTls12?: string[];
246+
233247
/**
234248
* Flag that indicates whether the cluster disables executing any query that requires a collection scan to return results.
235249
*
@@ -289,6 +303,10 @@ export function toJson_ProcessArgs(
289303
FailIndexKeyTooLong: obj.failIndexKeyTooLong,
290304
JavascriptEnabled: obj.javascriptEnabled,
291305
MinimumEnabledTLSProtocol: obj.minimumEnabledTlsProtocol,
306+
TlsCipherConfigMode: obj.tlsCipherConfigMode,
307+
CustomOpensslCipherConfigTls12: obj.customOpensslCipherConfigTls12?.map(
308+
(y) => y
309+
),
292310
NoTableScan: obj.noTableScan,
293311
OplogSizeMB: obj.oplogSizeMb,
294312
SampleSizeBIConnector: obj.sampleSizeBiConnector,

0 commit comments

Comments
 (0)