This message was deleted.
# general
s
This message was deleted.
Now how does this translate to pulumi?
w
That code you linked is not in the Terraform provider, it’s in the vendored cloudflare SDK. Given that this is a very “imperative” action, it’s possible it is not directly supported in the Terraform/Pulumi resource model. That said, you should be able to use the CloudFlare JS sdk directly to do this inside an apply callback to script the imperative action into your Pulumi deployment.
👍 1
h
tbh, i'm a little surprised pulumi doesn't do this?
i
it is imperative vs declarative, so makes sense.
w
tbh, i'm a little surprised pulumi doesn't do this?
Doesn't do what exactly?
h
like, if pulumi detects a change, it should ask the CDN to flush?