cli icon indicating copy to clipboard operation
cli copied to clipboard

Example firewall rules json doesn't work

Open SvenBunge opened this issue 9 months ago • 0 comments

TL;DR

wget https://raw.githubusercontent.com/hetznercloud/cli/main/examples/firewall_rules.json
hcloud firewall create --name fw1 --rules-file firewall_rules.json

Results into: hcloud: invalid input in field 'rules' (invalid_input)

Expected behavior

Firewall with the name and the given rules from the json file applied is created

Observed behavior

command failed with hcloud: invalid input in field 'rules' (invalid_input)

Minimal working example

install hcloud 1.43.1 via homebrew on macOS 14.4.1 See TL;DR

Log output

See TL;DR

Additional information

No response

SvenBunge avatar May 06 '24 20:05 SvenBunge