aws_lightsail_instanceNivis Nix constructor for the aws_lightsail_instance 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,
availability_zone,
blueprint_id,
bundle_id,
id ? null,
ip_address_type ? null,
key_pair_name ? null,
cfg_name ? null,
region ? null,
tags ? null,
tags_all ? null,
user_data ? null,
add_on ? null,
overrides ? {}
}Required arguments
availability_zoneblueprint_idbundle_id
Optional arguments
id(defaults tonull)ip_address_type(defaults tonull)key_pair_name(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)user_data(defaults tonull)add_on(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncpu_countcreated_atipv6_addressesis_static_ipprivate_ip_addresspublic_ip_addressram_sizeusername
Example
aws_lightsail_instance {
name = "lightsail_instance";
availability_zone = …; # required
blueprint_id = …; # required
bundle_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.