aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::EMR::Cluster - CapacityReservationOptions

Open
#1,122 0 comments 0 reactions 0 assignees View on GitHub
Coverage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::EMR::Cluster

### Description

AWS::EMR::Cluster currently supports capacity reservations with instance fleets, as per documentation here[1].
Per documentation this feature can be configured with the following:

```
"LaunchSpecifications":
{"OnDemandSpecification": {
"AllocationStrategy": "lowest-price",
"CapacityReservationOptions":
{
"CapacityReservationPreference": "open"
}
}
}

```
The CapacityReservationOptions is currently not supported for AWS::EMR::Cluster in CloudFormation as per documentation here[2].

When testing the above in a CloudFormation template, the following error is received:
`"Encountered unsupported property CapacityReservationOptions"`

Requesting this feature be added as a supported property for AWS::EMR::Cluster in CloudFormation.

[1] https://docs.aws.amazon.com/emr/latest/ManagementGuide/on-demand-capacity-reservations.html
[2] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ondemandprovisioningspecification.html

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::EMR::Cluster documentation and the linked CloudFormation OnDemandProvisioningSpecification reference, then compare them with the EMR capacity-reservation documentation. Done means CloudFormation accepts CapacityReservationOptions under LaunchSpecifications.OnDemandSpecification and the example template no longer reports it as unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.