google_compute_firewallNivis Nix constructor for the google_compute_firewall 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,
network,
deletion_policy ? null,
description ? null,
destination_ranges ? null,
direction ? null,
disabled ? null,
enable_logging ? null,
id ? null,
cfg_name ? null,
priority ? null,
project ? null,
source_ranges ? null,
source_service_accounts ? null,
source_tags ? null,
target_service_accounts ? null,
target_tags ? null,
allow ? null,
deny ? null,
log_config ? null,
params ? null,
timeouts ? null,
overrides ? {}
}Required arguments
network
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)destination_ranges(defaults tonull)direction(defaults tonull)disabled(defaults tonull)enable_logging(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)priority(defaults tonull)project(defaults tonull)source_ranges(defaults tonull)source_service_accounts(defaults tonull)source_tags(defaults tonull)target_service_accounts(defaults tonull)target_tags(defaults tonull)allow(defaults tonull)deny(defaults tonull)log_config(defaults tonull)params(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
creation_timestampfirewall_idself_link
Example
google_compute_firewall {
name = "compute_firewall";
network = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.