Skip to content

Commit

Permalink
Merge pull request #910 from RenovoSolutions/DEVOPS-1815
Browse files Browse the repository at this point in the history
fix: include all key types when searching ACM
  • Loading branch information
bmiller08 authored Aug 5, 2024
2 parents f03501b + d00ed86 commit fee911e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def find_existing_cert(domains):

client = boto3.client('acm')
paginator = client.get_paginator('list_certificates')
iterator = paginator.paginate(PaginationConfig={'MaxItems':1000})
iterator = paginator.paginate(PaginationConfig={'MaxItems':1000},Includes={'keyTypes': ['RSA_1024', 'RSA_2048', 'RSA_3072', 'RSA_4096', 'EC_prime256v1', 'EC_secp384r1', 'EC_secp521r1']})

for page in iterator:
for cert in page['CertificateSummaryList']:
Expand Down

0 comments on commit fee911e

Please sign in to comment.