thankful-match-46035
07/15/2025, 7:41 AM"ovh_domain_zone_dnssec": {
Tok: ovhResource(domainMod, "ZoneDNSSec"),
ComputeID: delegateID("zone_name"),
},
BUT for one of our new resource I have a problem. I need to compute an ID based on the mix of TWO fields:
delegateID("zone_name")
+
delegateID("sub_domain")
How is it possible to do so?
Thank youancient-policeman-24615
07/15/2025, 8:02 AMComputeID
(of type ComputeID) is a function from state to a resource.ID
. You can always write your own.
Cloudflare’s cloudflare_leaked_credential_check
resource provides an example: https://github.com/pulumi/pulumi-cloudflare/blob/6738a5d92ca2cee27e697f50ededb5cfd9218a69/provider/resources.go#L104-L108.thankful-match-46035
07/15/2025, 12:39 PM