aws_cloudhsm_v2_cluster

Nivis Nix constructor for the aws_cloudhsm_v2_cluster 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,
  hsm_type,
  subnet_ids,
  id ? null,
  mode ? null,
  region ? null,
  source_backup_identifier ? null,
  tags ? null,
  tags_all ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • hsm_type
  • subnet_ids
Optional arguments
  • id (defaults to null)
  • mode (defaults to null)
  • region (defaults to null)
  • source_backup_identifier (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • cluster_certificates
  • cluster_id
  • cluster_state
  • security_group_id
  • vpc_id
Example
aws_cloudhsm_v2_cluster {
  name = "cloudhsm_v2_cluster";
  hsm_type = …;  # required
  subnet_ids = …;  # required
}

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