docs: fix firewall_resource examples input parameters (#557)

In the example, we should use `firewall` instead of `name` as per the
options described at the top of the documentation.
This commit is contained in:
Seb d'Argoeuves 2024-09-12 12:42:11 +01:00 committed by GitHub
parent 5b2aae8011
commit b39d7626b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ extends_documentation_fragment:
EXAMPLES = """
- name: Apply a firewall to a list of servers
hetzner.hcloud.firewall_resource:
name: my-firewall
firewall: my-firewall
servers:
- my-server
- 3456789
@ -56,7 +56,7 @@ EXAMPLES = """
- name: Remove a firewall from a list of servers
hetzner.hcloud.firewall_resource:
name: my-firewall
firewall: my-firewall
servers:
- my-server
- 3456789
@ -64,14 +64,14 @@ EXAMPLES = """
- 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