aws_elasticache_global_replication_group

Nivis Nix constructor for the aws_elasticache_global_replication_group resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  global_replication_group_id_suffix,
  primary_replication_group_id,
  automatic_failover_enabled ? null,
  cache_node_type ? null,
  engine ? null,
  engine_version ? null,
  global_replication_group_description ? null,
  id ? null,
  num_node_groups ? null,
  parameter_group_name ? null,
  region ? null,
  tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • global_replication_group_id_suffix
  • primary_replication_group_id
Optional arguments
  • automatic_failover_enabled (defaults to null)
  • cache_node_type (defaults to null)
  • engine (defaults to null)
  • engine_version (defaults to null)
  • global_replication_group_description (defaults to null)
  • id (defaults to null)
  • num_node_groups (defaults to null)
  • parameter_group_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • at_rest_encryption_enabled
  • auth_token_enabled
  • cluster_enabled
  • engine_version_actual
  • global_node_groups
  • global_replication_group_id
  • tags_all
  • transit_encryption_enabled
Example
aws_elasticache_global_replication_group {
  name = "elasticache_global_replication_group";
  global_replication_group_id_suffix = …;  # required
  primary_replication_group_id = …;  # required
}

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