google_compute_firewall_policy_ruleNivis Nix constructor for the google_compute_firewall_policy_rule resource (provider google). 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
actiondirectionfirewall_policypriority
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)disabled(defaults tonull)enable_logging(defaults tonull)id(defaults tonull)security_profile_group(defaults tonull)target_resources(defaults tonull)target_service_accounts(defaults tonull)tls_inspect(defaults tonull)match(defaults tonull)target_secure_tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
creation_timestampkindrule_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.