Skip to content

Commit

Permalink
docs: fix firewall_resource examples input parameters (#557)
Browse files Browse the repository at this point in the history
In the example, we should use `firewall` instead of `name` as per the
options described at the top of the documentation.
  • Loading branch information
sebastien-dargoeuves-ipf authored Sep 12, 2024
1 parent 5b2aae8 commit b39d762
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/modules/firewall_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,30 @@
EXAMPLES = """
- name: Apply a firewall to a list of servers
hetzner.hcloud.firewall_resource:
name: my-firewall
firewall: my-firewall
servers:
- my-server
- 3456789
state: present
- name: Remove a firewall from a list of servers
hetzner.hcloud.firewall_resource:
name: my-firewall
firewall: my-firewall
servers:
- my-server
- 3456789
state: absent
- name: Apply a firewall to resources using label selectors
hetzner.hcloud.firewall_resource:
name: my-firewall
firewall: my-firewall
label_selectors:
- env=prod
state: present
- name: Remove a firewall from resources using label selectors
hetzner.hcloud.firewall_resource:
name: my-firewall
firewall: my-firewall
label_selectors:
- env=prod
state: absent
Expand Down

0 comments on commit b39d762

Please sign in to comment.