-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hi,
I have started moving my team's existing (created by hand before my arrival for the most part) infra to Terraform recently and am encountering a blockage due to some missing data sources in this provider.
For context, I would like to manage some CNAME
DNS records (directly on Cloudflare — or maybe some other provider in the future —, to avoid having to manage them on Vercel) during a dedicated run but can't seem to find a way to retrieve the generated domains assigned to various deployments (staging
/development
and production
in this case) using data sources.
Note: I am already using vercel_deployment
resources to create those deployments, but in a different run that only manages the Vercel resource. Hence the need for a data source to retrieve the info in this new run.
Is there a way to get the domain for specific deployments (ideally using a git_branch
param or something like this) currently or would that be by creating this data source?