aws_m2_deployment

Nivis 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_id
  • application_version
  • environment_id
  • start
Optional arguments
  • force_stop (defaults to null)
  • region (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • deployment_id
  • id
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.