mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
DescribeCluster's Ec2InstanceAttributes kept only the key name, subnet, zone and managed security groups. The JobFlowRole, the instance fleets' Ec2SubnetIds and Placement.AvailabilityZones, and the additional master and slave security groups that RunJobFlow took were dropped, so a client reading the cluster back, as Terraform's aws_emr_cluster does, saw none of them. - IamInstanceProfile is the JobFlowRole, "The IAM role that was specified when the cluster was launched". - RequestedEc2SubnetIds and RequestedEc2AvailabilityZones are the ones requested, an empty list when none was, as AWS gives them. The subnet is the one Ec2SubnetId names, else the first of Ec2SubnetIds, and the zone the one Placement names, else the first of its AvailabilityZones. - A request naming both subnets and zones is refused with ValidationException, as "RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together". - AdditionalMasterSecurityGroups and AdditionalSlaveSecurityGroups are the ones given, and a list member of another JSON type is refused with SerializationException. - AWS::EMR::Cluster no longer warns that Instances' Ec2SubnetIds and additional security groups are not stored.