adds findRecord to cloudflare only
This PR adds findRecord function to Cloudflare, currently they're the only provider that supports the feature.
Use case: Re-running ion would error if a record already exists, it helps if we can check to avoid this error.
Oh interesting. Let me ask the team to take a look.
Thanks @MrgSub!
Pulumi/Terraform provides a way to ignore existing records. You can set it through transform:
sst.cloudflare.dns({
zone: "415e6f4653b6d95b775d350f32119abb",
transform: {
record: {
allowOverwrite: true,
}
}
})
Does that work for you?
we are moving sst/ion -> sst/sst and unfortunately this is going to be a messy process because of github's limitations
i'm going to close this PR for now and it can be re-opened in the new sst/sst repo that will be ready in the next few days if still relevant