aws_cloudhsm_v2_hsm

Nivis Nix constructor for the aws_cloudhsm_v2_hsm 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,
  cluster_id,
  availability_zone ? null,
  id ? null,
  ip_address ? null,
  region ? null,
  subnet_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cluster_id
Optional arguments
  • availability_zone (defaults to null)
  • id (defaults to null)
  • ip_address (defaults to null)
  • region (defaults to null)
  • subnet_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • hsm_eni_id
  • hsm_id
  • hsm_state
Example
aws_cloudhsm_v2_hsm {
  name = "cloudhsm_v2_hsm";
  cluster_id = …;  # required
}

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