Files
floci/docs
Priamo Germosen 5db8d098e7 feat(cloudformation): provision EMR steps, instance groups and instance fleets (#9159)
A template can now create AWS::EMR::Step, AWS::EMR::InstanceGroupConfig
and AWS::EMR::InstanceFleetConfig. None was served, so the stack
reported CREATE_COMPLETE with nothing behind it. EmrCfnProvisioner adds
them through AddJobFlowSteps, AddInstanceGroups and AddInstanceFleet,
reading each as those calls read their requests, from methods EmrHandler
now shares, and against the registry schemas, now in the vendored
property types.

- A step's Ref and Id are its id, and its LogUri and EncryptionKeyArn
  are its StepMonitoringConfiguration. Every property is create-only,
  so a change adds a new step, and a step stays in its cluster's
  history when deleted, as the schema's delete handler calls nothing.
- An instance group's Ref and InstanceGroupId are its id. Its
  InstanceCount and AutoScalingPolicy change in place, and the delete
  removes its policy and shrinks it to nothing, as a group cannot be
  removed from its cluster.
- An instance fleet's Ref and InstanceFleetId are its id. Its target
  capacities change in place through ModifyInstanceFleet, and a change
  to InstanceTypeConfigs or ResizeSpecifications is accepted with a
  warning and not applied, as Floci's ModifyInstanceFleet changes the
  capacities alone. The delete shrinks it to nothing.
- A create-only change adds a new group or fleet; a later resource's
  failure, or a failure of the update itself, puts back what it had
  changed; and a group or fleet whose cluster has ended is left alone.

A group's role and a fleet's type must be TASK, the one value the
template reference allows, and a delete shrinks one once its cluster
is running or waiting, waiting for one still starting, and removes a
policy the group has.
2026-11-21 18:36:49 -04:00
..
2026-03-15 17:43:56 -05:00