Skip to content

Commit

Permalink
Fixes Amazon Certificate Manager integration
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSWiggins committed Sep 6, 2019
1 parent 752fe48 commit 140582b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 01-certificate-ohdsi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ Resources:
def get_validation_resource_records(certificate_arn):
for attempt in range(10):
cert_info = acm.describe_certificate(CertificateArn=certificate_arn)
while True:
cert_info = acm.describe_certificate(CertificateArn=certificate_arn)
if 'DomainValidationOptions' in cert_info['Certificate']:
break
time.sleep(1)
dvos = cert_info['Certificate']['DomainValidationOptions']
try:
Expand Down

0 comments on commit 140582b

Please sign in to comment.