aloof-leather-66267
03/06/2023, 10:07 PMOutput<Resource[]>
to create child resources based on each Resource
, without creating resources inside a .apply()
?
https://github.com/pulumi/pulumi/issues/5392#issuecomment-1203668256little-cartoon-10569
03/06/2023, 10:15 PMaloof-leather-66267
03/06/2023, 10:18 PMgcp.certificatemanager.DnsAuthorization
.
It returns an Output<DnsAuthorizationDnsResourceRecord[]>
, and then for each DnsAuthorizationDnsResourceRecord
we need to create a matching DNS record.
It seems like the way to do it is with .apply()
, even though that causes the previews to be wrong.
https://www.pulumi.com/registry/packages/gcp/api-docs/certificatemanager/dnsauthorization/#state_dnsresourcerecords_nodejsechoing-dinner-19531
03/07/2023, 10:12 AM--target
to just create the certificate manager and then do a preview for the other resources that should then be correct.