Skip to content

Commit

Permalink
fix(cli-lib-alpha): bootstrap fails with "bad argument name" error fo…
Browse files Browse the repository at this point in the history
…r trust and trustForLookup

Fixes #30404
  • Loading branch information
mrgrain committed Aug 20, 2024
1 parent 975df1f commit df2f166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/cli-lib-alpha/lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ export class AwsCdkCli implements IAwsCdkCli {
...options.template ? ['--template', options.template] : [],
...options.customPermissionsBoundary ? ['--custom-permissions-boundary', options.customPermissionsBoundary] : [],
...options.qualifier ? ['--qualifier', options.qualifier] : [],
...options.trust ? ['--qualifier', options.trust] : [],
...options.trustForLookup ? ['--qualifier', options.trustForLookup] : [],
...options.trust ? ['--trust', options.trust] : [],
...options.trustForLookup ? ['--trust-for-lookup', options.trustForLookup] : [],
...options.bootstrapKmsKeyId ? ['--bootstrap-kms-key-id', options.bootstrapKmsKeyId] : [],
...options.bootstrapCustomerKey ? ['--bootstrap-customer-key', options.bootstrapCustomerKey] : [],
...options.publicAccessBlockConfiguration ? ['--public-access-block-configuration', options.publicAccessBlockConfiguration] : [],
Expand Down

0 comments on commit df2f166

Please sign in to comment.