aws_lightsail_key_pairNivis Nix constructor for the aws_lightsail_key_pair resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
id ? null,
cfg_name ? null,
name_prefix ? null,
pgp_key ? null,
public_key ? null,
region ? null,
tags ? null,
tags_all ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)name_prefix(defaults tonull)pgp_key(defaults tonull)public_key(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnencrypted_fingerprintencrypted_private_keyfingerprintprivate_key
Example
aws_lightsail_key_pair {
name = "lightsail_key_pair";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.