google_redis_instance

Nivis Nix constructor for the google_redis_instance 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,
  memory_size_gb,
  alternative_location_id ? null,
  auth_enabled ? null,
  authorized_network ? null,
  connect_mode ? null,
  customer_managed_key ? null,
  deletion_policy ? null,
  deletion_protection ? null,
  display_name ? null,
  id ? null,
  labels ? null,
  location_id ? null,
  maintenance_version ? null,
  cfg_name ? null,
  project ? null,
  read_replicas_mode ? null,
  redis_configs ? null,
  redis_version ? null,
  region ? null,
  replica_count ? null,
  reserved_ip_range ? null,
  secondary_ip_range ? null,
  tier ? null,
  transit_encryption_mode ? null,
  maintenance_policy ? null,
  persistence_config ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • memory_size_gb
Optional arguments
  • alternative_location_id (defaults to null)
  • auth_enabled (defaults to null)
  • authorized_network (defaults to null)
  • connect_mode (defaults to null)
  • customer_managed_key (defaults to null)
  • deletion_policy (defaults to null)
  • deletion_protection (defaults to null)
  • display_name (defaults to null)
  • id (defaults to null)
  • labels (defaults to null)
  • location_id (defaults to null)
  • maintenance_version (defaults to null)
  • cfg_name (defaults to null)
  • project (defaults to null)
  • read_replicas_mode (defaults to null)
  • redis_configs (defaults to null)
  • redis_version (defaults to null)
  • region (defaults to null)
  • replica_count (defaults to null)
  • reserved_ip_range (defaults to null)
  • secondary_ip_range (defaults to null)
  • tier (defaults to null)
  • transit_encryption_mode (defaults to null)
  • maintenance_policy (defaults to null)
  • persistence_config (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • auth_string
  • create_time
  • current_location_id
  • effective_labels
  • effective_reserved_ip_range
  • host
  • maintenance_schedule
  • nodes
  • persistence_iam_identity
  • port
  • read_endpoint
  • read_endpoint_port
  • server_ca_certs
  • terraform_labels
Example
google_redis_instance {
  name = "redis_instance";
  memory_size_gb = …;  # required
}

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