aws_launch_configurationNivis Nix constructor for the aws_launch_configuration 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,
image_id,
instance_type,
associate_public_ip_address ? null,
ebs_optimized ? null,
enable_monitoring ? null,
iam_instance_profile ? null,
id ? null,
key_name ? null,
cfg_name ? null,
name_prefix ? null,
placement_tenancy ? null,
region ? null,
security_groups ? null,
spot_price ? null,
user_data ? null,
user_data_base64 ? null,
ebs_block_device ? null,
ephemeral_block_device ? null,
metadata_options ? null,
root_block_device ? null,
overrides ? {}
}Required arguments
image_idinstance_type
Optional arguments
associate_public_ip_address(defaults tonull)ebs_optimized(defaults tonull)enable_monitoring(defaults tonull)iam_instance_profile(defaults tonull)id(defaults tonull)key_name(defaults tonull)cfg_name(defaults tonull)name_prefix(defaults tonull)placement_tenancy(defaults tonull)region(defaults tonull)security_groups(defaults tonull)spot_price(defaults tonull)user_data(defaults tonull)user_data_base64(defaults tonull)ebs_block_device(defaults tonull)ephemeral_block_device(defaults tonull)metadata_options(defaults tonull)root_block_device(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_launch_configuration {
name = "launch_configuration";
image_id = …; # required
instance_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.