great-sunset-355
07/19/2024, 2:09 PMaws.acm.CertificateValidation
?
I need a resource that keeps waiting for something to become available.
Can I achieve this with a dynamic resource provider or do I need a more real resource and provider?
eg.
This is an example (I know I could orchestrate things via eventbridge) but my resources are not AWS.
const dnsRecord = new aws.route53.Record()
const waiter = new waitForDns(rec: dnsRecord.url)
const example = new aws.lambda.Invocation(, {dependsOn: waiter})
little-cartoon-10569
07/20/2024, 7:52 PMcreate()
method is `async`: just wait in there and don't return until you have the information you need. You'll probably want a loop around a call to await setTimeout(...)
.