Vercel Terraform Provider 支持防火墙资源配置
来源: Vercel News
The Vercel Terraform Provider now allows you to customize and control the Vercel Firewall through Infrastructure as Code (IaC).
Key resources and their capabilities include:
Resource:
vercel_attack_challenge_modeToggle Attack Challenge Mode .
Resource:
vercel_firewall_configAttribute block:
rules—Define and adjust custom rules.Attribute block:
ip_rules—Manage a list of blocked IP addresses.
For example, to create a new rule that challenges requests where the user_agent contains curl:
Get started with the Terraform provider for Vercel today. If you already have Terraform installed, upgrade by running: