aws_m2_deploymentNivis Nix constructor for the aws_m2_deployment 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,
application_id,
application_version,
environment_id,
start,
force_stop ? null,
region ? null,
timeouts ? null,
overrides ? {}
}Required arguments
application_idapplication_versionenvironment_idstart
Optional arguments
force_stop(defaults tonull)region(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
deployment_idid
Example
aws_m2_deployment {
name = "m2_deployment";
application_id = …; # required
application_version = …; # required
environment_id = …; # required
start = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.