alicloud_ecp_key_pairNivis Nix constructor for the alicloud_ecp_key_pair 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, key_pair_name, public_key_body, id ? null, overrides ? {} }Required arguments
key_pair_namepublic_key_body
Optional arguments
id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
alicloud_ecp_key_pair {
name = "ecp_key_pair";
key_pair_name = …; # required
public_key_body = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.