alicloud_mongodb_replica_set_role

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

Constructor
{
  name,
  db_instance_id,
  network_type,
  role_id,
  connection_port ? null,
  connection_prefix ? null,
  id ? null,
  overrides ? {}
}
Required arguments
  • db_instance_id
  • network_type
  • role_id
Optional arguments
  • connection_port (defaults to null)
  • connection_prefix (defaults to null)
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_domain
  • replica_set_role
Example
alicloud_mongodb_replica_set_role {
  name = "mongodb_replica_set_role";
  db_instance_id = …;  # required
  network_type = …;  # required
  role_id = …;  # required
}

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