google_redis_instanceNivis 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 tonull)auth_enabled(defaults tonull)authorized_network(defaults tonull)connect_mode(defaults tonull)customer_managed_key(defaults tonull)deletion_policy(defaults tonull)deletion_protection(defaults tonull)display_name(defaults tonull)id(defaults tonull)labels(defaults tonull)location_id(defaults tonull)maintenance_version(defaults tonull)cfg_name(defaults tonull)project(defaults tonull)read_replicas_mode(defaults tonull)redis_configs(defaults tonull)redis_version(defaults tonull)region(defaults tonull)replica_count(defaults tonull)reserved_ip_range(defaults tonull)secondary_ip_range(defaults tonull)tier(defaults tonull)transit_encryption_mode(defaults tonull)maintenance_policy(defaults tonull)persistence_config(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
auth_stringcreate_timecurrent_location_ideffective_labelseffective_reserved_ip_rangehostmaintenance_schedulenodespersistence_iam_identityportread_endpointread_endpoint_portserver_ca_certsterraform_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.