You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If user's domain is hosted in AWS Route53 and a user could have added verification records with Terraform if vercel_project_domain would have verification_record attribute.
The text was updated successfully, but these errors were encountered:
In case it's interesting to anyone else, I tried working around this using the http provider, and making a manual API request to the Vercel REST API (https://api.vercel.com/v9/projects/ID/domains/DOMAIN_NAME?teamId=TEAM_ID). I could retrieve the verification record value and add a DNS record for it using Terraform. There was some complexity I didn't solve though; that REST API endpoint is stateful, so once the domain is verified it returns a different shape response, and getting Terraform to behave declaratively was tricky. I ended up bailing out.
It would be awesome if the provider supported this out of the box!
It is not possible to validate external domain
vercel_project_domain
with Terraform.If user's domain is hosted in AWS Route53 and a user could have added verification records with Terraform if
vercel_project_domain
would haveverification_record
attribute.The text was updated successfully, but these errors were encountered: