mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
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.