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

[Feature Request] Add CapacityReservation as an attribute for EC2 instance

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

Description

### Name of the resource

AWS::EC2::CapacityReservation

### Resource name

_No response_

### Description

Capacity reservation specification for an AWS::EC2::Instance is only provided via an AWS::EC2::LaunchTemplate resource.
It would be useful to support to specifying the CapacityReservation as an EC2 instance attribute.

### Other Details

Terraform supports this feature

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#capacity_reservation_specification

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the AWS::EC2::Instance capacity reservation specification and how AWS::EC2::LaunchTemplate currently provides it. Use the linked Terraform capacity_reservation_specification documentation as a comparison point. Done means CloudFormation supports specifying CapacityReservation directly on an EC2 instance, with the supported behavior documented and validated.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.