hcloud_apply_firewall_to_server
Attach a firewall to a Hetzner Cloud server by firewall ID or name, enforcing its rules on that server via the API apply-to-resources action.
Instructions
Apply a firewall (by id or by name) to a server. Hand-tuned wrapper around POST /firewalls/{id}/actions/apply_to_resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | ||
| firewall_id | No | ||
| firewall_name | No |