aws_iam_user_ssh_key

Nivis Nix constructor for the aws_iam_user_ssh_key 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,
  encoding,
  public_key,
  username,
  id ? null,
  status ? null,
  overrides ? {}
}
Required arguments
  • encoding
  • public_key
  • username
Optional arguments
  • id (defaults to null)
  • status (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • fingerprint
  • ssh_public_key_id
Example
aws_iam_user_ssh_key {
  name = "iam_user_ssh_key";
  encoding = …;  # required
  public_key = …;  # required
  username = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.