AWS Amazon EMR Instance Fleet
This page shows how to write Terraform and CloudFormation for Amazon EMR Instance Fleet and write them securely.
The Instance Fleet in Amazon EMR can be configured in Terraform with the resource name
aws_emr_instance_fleet. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
cluster_idrequired - string
idoptionalcomputed - string
nameoptional - string
provisioned_on_demand_capacityrequiredcomputed - number
provisioned_spot_capacityrequiredcomputed - number
target_on_demand_capacityoptional - number
target_spot_capacityoptional - number
Explanation in Terraform Registry
Provides an Elastic MapReduce Cluster Instance Fleet configuration. See Amazon Elastic MapReduce Documentation for more information.
NOTE: At this time, Instance Fleets cannot be destroyed through the API nor web interface. Instance Fleets are destroyed when the EMR Cluster is destroyed. Terraform will resize any Instance Fleet to zero when destroying the resource.
The InstanceFleetConfig in EMR can be configured in CloudFormation with the resource name
AWS::EMR::InstanceFleetConfig. The following sections describe how to use the resource and its parameters.
ClusterIdrequired - String
InstanceFleetTyperequired - String
InstanceTypeConfigsoptional - List of InstanceTypeConfig
LaunchSpecificationsoptional - InstanceFleetProvisioningSpecifications
Nameoptional - String
TargetOnDemandCapacityoptional - Integer
TargetSpotCapacityoptional - Integer
Explanation in CloudFormation Registry
InstanceFleetConfigto define instance fleets for an EMR cluster. A cluster can not use both instance fleets and instance groups. For more information, see Configure Instance Fleets in the Amazon EMR Management Guide. Note The instance fleet configuration is available only in Amazon EMR versions 4.
0 and later, excluding 5.