google_compute_forwarding_ruleNivis Nix constructor for the google_compute_forwarding_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,
all_ports ? null,
allow_global_access ? null,
allow_psc_global_access ? null,
backend_service ? null,
deletion_policy ? null,
description ? null,
id ? null,
ip_address ? null,
ip_collection ? null,
ip_protocol ? null,
ip_version ? null,
is_mirroring_collector ? null,
labels ? null,
load_balancing_scheme ? null,
cfg_name ? null,
network ? null,
network_tier ? null,
no_automate_dns_zone ? null,
port_range ? null,
ports ? null,
project ? null,
recreate_closed_psc ? null,
region ? null,
service_label ? null,
source_ip_ranges ? null,
subnetwork ? null,
target ? null,
service_directory_registrations ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
all_ports(defaults tonull)allow_global_access(defaults tonull)allow_psc_global_access(defaults tonull)backend_service(defaults tonull)deletion_policy(defaults tonull)description(defaults tonull)id(defaults tonull)ip_address(defaults tonull)ip_collection(defaults tonull)ip_protocol(defaults tonull)ip_version(defaults tonull)is_mirroring_collector(defaults tonull)labels(defaults tonull)load_balancing_scheme(defaults tonull)cfg_name(defaults tonull)network(defaults tonull)network_tier(defaults tonull)no_automate_dns_zone(defaults tonull)port_range(defaults tonull)ports(defaults tonull)project(defaults tonull)recreate_closed_psc(defaults tonull)region(defaults tonull)service_label(defaults tonull)source_ip_ranges(defaults tonull)subnetwork(defaults tonull)target(defaults tonull)service_directory_registrations(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
base_forwarding_rulecreation_timestampeffective_labelsforwarding_rule_idlabel_fingerprintpsc_connection_idpsc_connection_statusself_linkservice_nameterraform_labels
Example
google_compute_forwarding_rule {
name = "compute_forwarding_rule";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.