Files
terraform-provider-binarylane/docs/resources/server_firewall_rules.md
T
2024-08-27 20:27:24 +08:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
binarylane_server_firewall_rules Resource - terraform-provider-binarylane TODO

binarylane_server_firewall_rules (Resource)

TODO

Schema

Required

  • firewall_rules (Attributes List) A list of rules for the server. NB: that any existing rules that are not included will be removed. Submit an empty list to clear all rules. (see below for nested schema)
  • server_id (Number) The ID of the server for which firewall rules should be listed.

Nested Schema for firewall_rules

Required:

  • action (String) The action to take when there is a match on this rule.
  • destination_addresses (List of String) The destination addresses to match for this rule. Each address may be an individual IPv4 address or a range in IPv4 CIDR notation.
  • protocol (String) The protocol to match for this rule.
  • source_addresses (List of String) The source addresses to match for this rule. Each address may be an individual IPv4 address or a range in IPv4 CIDR notation.

Optional:

  • description (String) A description to assist in identifying this rule. Commonly used to record the reason for the rule or the intent behind it, e.g. "Block access to RDP" or "Allow access from HQ".
  • destination_ports (List of String) The destination ports to match for this rule. Leave null or empty to match on all ports.