alicloud_bastionhost_host_share_keyNivis Nix constructor for the alicloud_bastionhost_host_share_key resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
host_share_key_name,
instance_id,
private_key,
id ? null,
pass_phrase ? null,
timeouts ? null,
overrides ? {}
}Required arguments
host_share_key_nameinstance_idprivate_key
Optional arguments
id(defaults tonull)pass_phrase(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
host_share_key_idprivate_key_finger_print
Example
alicloud_bastionhost_host_share_key {
name = "bastionhost_host_share_key";
host_share_key_name = …; # required
instance_id = …; # required
private_key = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.