这是indexloc提供的服务,不要输入任何密码
Skip to content

[feature] vercel_deployment data source #74

@viki53

Description

@viki53

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions