@collaborne/custom-cloudformation-resources
Advanced tools
Comparing version 0.5.7 to 0.5.8
{ | ||
"name": "@collaborne/custom-cloudformation-resources", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"description": "Custom CloudFormation resources", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -395,2 +395,4 @@ import { ACM, Route53 } from 'aws-sdk'; | ||
let retries = 0; | ||
this.logger.log(`getValidationResourceRecords interval: ${interval}`); | ||
this.logger.log(`getValidationResourceRecords retries: ${retries}`); | ||
return new Promise<ACM.ResourceRecord[]>((resolve, reject) => { | ||
@@ -406,2 +408,8 @@ interval = setInterval(async () => { | ||
this.logger.log( | ||
`getValidationResourceRecords certificate: ${JSON.stringify( | ||
certificate, | ||
)}`, | ||
); | ||
const dnsDomainValidationOptions = ( | ||
@@ -422,5 +430,17 @@ certificate.DomainValidationOptions ?? [] | ||
this.logger.log( | ||
`getValidationResourceRecords dnsDomainValidationOptions: ${JSON.stringify( | ||
dnsDomainValidationOptions, | ||
)}`, | ||
); | ||
const resourceRecords = dnsDomainValidationOptions | ||
.map(option => option.ResourceRecord) | ||
.filter(isDefined); | ||
this.logger.log( | ||
`getValidationResourceRecords resourceRecords: ${JSON.stringify( | ||
resourceRecords, | ||
)}`, | ||
); | ||
const missingResourceRecords = | ||
@@ -427,0 +447,0 @@ dnsDomainValidationOptions.length - resourceRecords.length; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171238
2111