fresh-hospital-81544
05/04/2021, 12:57 AMconst exampleRecord: aws.route53.Record[];
for (const range of Object.entries(exampleCertificate.domainValidationOptions.apply(domainValidationOptions => domainValidationOptions.reduce((__obj, dvo) => { ...__obj, [dvo.domainName]: {
name: dvo.resourceRecordName,
record: dvo.resourceRecordValue,
type: dvo.resourceRecordType,
} }))).map(([k, v]) => {key: k, value: v})) {
exampleRecord.push(new aws.route53.Record(`exampleRecord-${range.key}`, {
allowOverwrite: true,
name: range.value.name,
records: [range.value.record],
ttl: 60,
type: range.value.type,
zoneId: exampleZone.then(exampleZone => exampleZone.zoneId),
}));
}
Hi, typescript noob so bear with me. The above code is copy+paste from the docs and it gives a lot of compiler errors. does anyone know how it should be? Thankslittle-cartoon-10569
05/04/2021, 2:24 AMexampleZone.then(exampleZone => exampleZone.zoneId)
, which should be pulumi.output(exampleZone).zoneId
fresh-hospital-81544
05/04/2021, 3:10 AMLimitExceededException
for the Certificate
despite 1000 limit and no active certs. I will report back once I've resolved that issuelittle-cartoon-10569
05/04/2021, 11:58 PM