mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 15:49:33 -05:00
Move AWS::EKS::Cluster and AWS::EKS::Nodegroup out of the CloudFormationResourceProvisioner monolith into a new EksCfnProvisioner over EksService. A nodegroup belongs to a cluster and its delete needs the cluster name, stored as a create-time attribute, so the two share one provisioner. Ref returns the cluster name for a Cluster and the nodegroup name for a Nodegroup, as the legacy switch did. With the arms gone, the monolith no longer needs its eksService dependency, which is dropped. The move preserves Ref, but it is not a pure move for Fn::GetAtt. Leaving LEGACY_SWITCH subjects these types to CfnSchemaCoverageTest, which requires every readOnly attribute to be published or recorded as a gap. The Cluster arm previously set only Arn and Endpoint, so it now also publishes CertificateAuthorityData and OpenIdConnectIssuerUrl (both available from the model), and four attributes Floci does not model (Cluster ClusterSecurityGroupId, EncryptionConfigKeyArn and Id, and Nodegroup Id) are recorded as gap rows. Both deletes tolerate an already-gone resource through CfnDeletes.safeDelete on ResourceNotFoundException.