# You can import via the team_id and project_id.
# - team_id can be found in the team `settings` tab in the Vercel UI.
# - project_id can be found in the project `settings` tab in the Vercel UI.
terraform import vercel_project_deployment_retention.example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
However, this does not seem to work:
terraform import vercel_project_deployment_retention.deployment-retention team_xxx/prj_xxx
vercel_project_deployment_retention.deployment-retention: Importing from ID "team_xxx/prj_xxx"...
╷
│ Error: Error reading project deployment retention
│
│ Could not get project deployment retention team_xxx prj_xxx, unexpected error: deployment retention not found
╵
The docs (https://github.com/vercel/terraform-provider-vercel/blob/71a655f75a51b204e511a76b2f7419fca99e2789/examples/resources/vercel_project_deployment_retention/import.sh) say:
However, this does not seem to work:
Minimal
cdk.tf.json
to replicate:Also does not work with the import statement.
Edit: Same problem for
ProjectFunctionCpu