aws_m2_environmentNivis Nix constructor for the aws_m2_environment 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,
engine_type,
instance_type,
apply_changes_during_maintenance_window ? null,
description ? null,
engine_version ? null,
force_update ? null,
kms_key_id ? null,
cfg_name ? null,
preferred_maintenance_window ? null,
publicly_accessible ? null,
region ? null,
security_group_ids ? null,
subnet_ids ? null,
tags ? null,
high_availability_config ? null,
storage_configuration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
engine_typeinstance_type
Optional arguments
apply_changes_during_maintenance_window(defaults tonull)description(defaults tonull)engine_version(defaults tonull)force_update(defaults tonull)kms_key_id(defaults tonull)cfg_name(defaults tonull)preferred_maintenance_window(defaults tonull)publicly_accessible(defaults tonull)region(defaults tonull)security_group_ids(defaults tonull)subnet_ids(defaults tonull)tags(defaults tonull)high_availability_config(defaults tonull)storage_configuration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnenvironment_ididload_balancer_arntags_all
Example
aws_m2_environment {
name = "m2_environment";
engine_type = …; # required
instance_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.