Skip to content

Feature Request: Resource for managing secure compute network and VPC peering connections #318

@john-privy

Description

@john-privy

What functionality would you like to see?

Ask: Today, it is possible to attach secure compute networks to Vercel projects. Then within those networks, it is possible to configure VPC peering to other AWS VPCs. Unfortunately, neither of these have Terraform resources, and we would love to see those enabled.

Known Issues: I'm aware that secure compute networks are typically setup by you all and are contract add-ons, so in practice these resources would probably just track state, not initiate it. However, they would presumably be a pre-requisite for managing the VPC peering.

Motivation: Using Terraform for the VPC peering is especially desirable, because configuring the peering relationship requires the accepter-side having accepted (https://registry.terraform.io/providers/hashicorp/aws/3.3.0/docs/resources/vpc_peering_connection_options).

Without modeling the accepter-side (Vercel) in Terraform, the requester Terraform is not runnable in one-go or idempotent. It requires running once without any additional configuration, then moving to the Vercel UI and accepting the peering request, then returning to Terraform with a modified setup now that the relationship has been accepted, and re-running. Not ideal for IaC!

Example

No response

Additional Details

No response

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