google_compute_firewall_policy_rule

Nivis Nix constructor for the google_compute_firewall_policy_rule resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  action,
  direction,
  firewall_policy,
  priority,
  deletion_policy ? null,
  description ? null,
  disabled ? null,
  enable_logging ? null,
  id ? null,
  security_profile_group ? null,
  target_resources ? null,
  target_service_accounts ? null,
  tls_inspect ? null,
  match ? null,
  target_secure_tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • action
  • direction
  • firewall_policy
  • priority
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • disabled (defaults to null)
  • enable_logging (defaults to null)
  • id (defaults to null)
  • security_profile_group (defaults to null)
  • target_resources (defaults to null)
  • target_service_accounts (defaults to null)
  • tls_inspect (defaults to null)
  • match (defaults to null)
  • target_secure_tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • creation_timestamp
  • kind
  • rule_tuple_count
Example
google_compute_firewall_policy_rule {
  name = "compute_firewall_policy_rule";
  action = …;  # required
  direction = …;  # required
  firewall_policy = …;  # required
  priority = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.