Skip to content

Example firewall rules json doesn't work #750

Closed
@SvenBunge

Description

@SvenBunge

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions