Skip to content
Dashboard

Vercel Terraform Provider now supports Vercel Firewall resources

Sage AbrahamSoftware Engineer
resource "vercel_firewall_config" "example" {
project_id = vercel_project.example.id
rules {
rule {
name = "Challenge curl"
description = "Challenge user agents containing 'curl'"
condition_group = [{
conditions = [{
type = "user_agent"
op = "sub"
value = "curl"
}]
}]
action = {
action = "challenge"
}
}
}
}

Bash
terraform init -upgrade