tencentcloud_key_pair

Nivis 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 to null)
  • id (defaults to null)
  • project_id (defaults to null)
  • public_key (defaults to null)
  • tags (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • created_time
  • private_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.