Files
floci/tools/docs
Priamo Germosen 0171af4bce fix(emr): give back the subnets, zones, instance profile and security groups a cluster asked for (#9180)
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.
2026-11-22 00:48:38 -04:00
..