tencentcloud_key_pairNivis Nix constructor for the tencentcloud_key_pair resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
key_name,
force_stop ? null,
id ? null,
project_id ? null,
public_key ? null,
tags ? null,
overrides ? {}
}Required arguments
key_name
Optional arguments
force_stop(defaults tonull)id(defaults tonull)project_id(defaults tonull)public_key(defaults tonull)tags(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
created_timeprivate_key
Example
tencentcloud_key_pair {
name = "key_pair";
key_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.