google_compute_forwarding_rule

Nivis Nix constructor for the google_compute_forwarding_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,
  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 to null)
  • allow_global_access (defaults to null)
  • allow_psc_global_access (defaults to null)
  • backend_service (defaults to null)
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • ip_address (defaults to null)
  • ip_collection (defaults to null)
  • ip_protocol (defaults to null)
  • ip_version (defaults to null)
  • is_mirroring_collector (defaults to null)
  • labels (defaults to null)
  • load_balancing_scheme (defaults to null)
  • cfg_name (defaults to null)
  • network (defaults to null)
  • network_tier (defaults to null)
  • no_automate_dns_zone (defaults to null)
  • port_range (defaults to null)
  • ports (defaults to null)
  • project (defaults to null)
  • recreate_closed_psc (defaults to null)
  • region (defaults to null)
  • service_label (defaults to null)
  • source_ip_ranges (defaults to null)
  • subnetwork (defaults to null)
  • target (defaults to null)
  • service_directory_registrations (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • base_forwarding_rule
  • creation_timestamp
  • effective_labels
  • forwarding_rule_id
  • label_fingerprint
  • psc_connection_id
  • psc_connection_status
  • self_link
  • service_name
  • terraform_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.