alicloud_mongodb_replica_set_roleNivis 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_idnetwork_typerole_id
Optional arguments
connection_port(defaults tonull)connection_prefix(defaults tonull)id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
connection_domainreplica_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.