@collaborne/custom-cloudformation-resources
Advanced tools
Comparing version 0.5.8 to 0.5.9
@@ -268,2 +268,3 @@ "use strict"; | ||
let retries = 0; | ||
this.logger.log(`getValidationResourceRecords retries: ${retries}`); | ||
return new Promise((resolve, reject) => { | ||
@@ -279,2 +280,3 @@ interval = setInterval(async () => { | ||
} | ||
this.logger.log(`getValidationResourceRecords certificate: ${JSON.stringify(certificate)}`); | ||
const dnsDomainValidationOptions = ((_a = certificate.DomainValidationOptions) !== null && _a !== void 0 ? _a : []).filter(options => options.ValidationMethod === 'DNS'); | ||
@@ -286,5 +288,7 @@ if (dnsDomainValidationOptions.length === 0) { | ||
} | ||
this.logger.log(`getValidationResourceRecords dnsDomainValidationOptions: ${JSON.stringify(dnsDomainValidationOptions)}`); | ||
const resourceRecords = dnsDomainValidationOptions | ||
.map(option => option.ResourceRecord) | ||
.filter(utils_1.isDefined); | ||
this.logger.log(`getValidationResourceRecords resourceRecords: ${JSON.stringify(resourceRecords)}`); | ||
const missingResourceRecords = dnsDomainValidationOptions.length - resourceRecords.length; | ||
@@ -291,0 +295,0 @@ if (missingResourceRecords > 0) { |
{ | ||
"name": "@collaborne/custom-cloudformation-resources", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "Custom CloudFormation resources", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -395,3 +395,2 @@ import { ACM, Route53 } from 'aws-sdk'; | ||
let retries = 0; | ||
this.logger.log(`getValidationResourceRecords interval: ${interval}`); | ||
this.logger.log(`getValidationResourceRecords retries: ${retries}`); | ||
@@ -398,0 +397,0 @@ return new Promise<ACM.ResourceRecord[]>((resolve, reject) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
172159
2114