aws_cloudhsm_v2_clusterNivis 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_typesubnet_ids
Optional arguments
id(defaults tonull)mode(defaults tonull)region(defaults tonull)source_backup_identifier(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cluster_certificatescluster_idcluster_statesecurity_group_idvpc_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.