Files
floci/tools/docs
Priamo Germosen 546770ab69 feat(cloudformation): provision AWS::EMR::Cluster (#9156)
A template can now create an EMR cluster. It was not served, so the
stack reported CREATE_COMPLETE with nothing behind it. EmrCfnProvisioner
creates it through RunJobFlow, reading the template as RunJobFlow reads
its request, from a method EmrHandler now shares.

- The properties are read as model validation reads them, against the
  registry schema, now in the vendored property types, and a template
  that sets the read-only Id or MasterPublicDNS is refused.
- Ref is the cluster id; Fn::GetAtt gives Id and MasterPublicDNS.
- The master, core and task groups or fleets become RunJobFlow's
  InstanceGroups or InstanceFleets with their roles, a configuration's
  ConfigurationProperties its Properties, and a step's StepProperties
  its Properties. The create completes once the cluster is waiting or
  running, and a cluster that terminates first fails it and is
  terminated again, its termination protection cleared first.
- The properties, and members of Instances, its groups and its fleets,
  that Floci's RunJobFlow keeps nothing of are accepted with a warning,
  and recorded as ignored. Task groups and fleets need unique names, as
  the reference says, and a cluster that ran its steps and ended came
  up, so its create completes.
- An update applies in place what the reference and the update handler
  let change: AutoTerminationPolicy, ManagedScalingPolicy,
  StepConcurrencyLevel, VisibleToAllUsers, TerminationProtected,
  UnhealthyNodeReplacement, a core or task group's InstanceCount and
  AutoScalingPolicy, a core or task fleet's target capacities, and the
  tag keys the stack owns. They are compared with the values the stack
  last applied, resolved, so one a parameter changes counts. Any other
  change, within Instances included, replaces the cluster: the master
  group's count and the master fleet's capacities among them, which
  the API refuses to change.
- A later resource's failure, or a failure of the update itself, puts
  back what it had applied. A terminated cluster fails an update, and a
  termination-protected one refuses the delete, as TerminateJobFlows
  does.
2026-11-21 17:31:03 -04:00
..