Files
floci/tools
Priamo Germosen 5b9e842cd9 feat(cloudformation): provision AWS::EMRContainers::VirtualCluster (#9150)
A template can now create an EMR on EKS virtual cluster. It was not
served, so the stack reported CREATE_COMPLETE with nothing behind it.
The provisioner goes through the service the EMR on EKS API uses, and
does what AWS's own resource handler does:

- The properties are read as the handler's model validation reads them,
  against the registry schema, now in the vendored property types, and
  a template that sets the read-only Arn or Id is refused in the
  handler's words.
- Ref is the virtual cluster id; Fn::GetAtt gives Id and Arn.
- A create sends Name, ContainerProvider, SecurityConfigurationId,
  SessionEnabled and the tags to CreateVirtualCluster.
- Every property but the tags is create-only: a change replaces the
  virtual cluster, and the old one is terminated once the update
  commits.
- A tag change drives the tags to the template's, removing any other
  but an aws: one; a later resource's failure, or a failure of the
  change itself, puts them back.
- An update of a virtual cluster that is terminated or gone fails as
  the handler's does, and the delete of one is taken as done.
2026-11-21 15:03:44 -04:00
..