Skip to content

feat: Add capacity reservation permissions to Karpenter IAM policy #3318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

mattholmes15
Copy link
Contributor

@mattholmes15 mattholmes15 commented Mar 7, 2025

…pacity-reservation permission as part of Karpenter version 1.3.0

Description

Karpenter version 1.3.0 now has a feature that allows for On Demand Capacity Reservation Support. The policy attached to the KarpenterController needs to be updated to allow this. More info can be found here: https://github.com/aws/karpenter-provider-aws/releases/tag/v1.3.0

Motivation and Context

As part of this update, the AllowScopedEC2InstanceAccessActions policy needs to be updated to allow for Capacity Reservations to be made through Karpenter. Karpenter have updated their docs for this see - https://github.com/aws/karpenter-provider-aws/pull/7801/files

Breaking Changes

No breaking changes

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

…pacity-reservation permission as part of Karpenter version 1.3.0
@bryantbiggs bryantbiggs changed the title feat: Update AllowScopedEC2InstanceAccessActions policy to include ca… feat: Add capacity reservation permissions to Karpenter IAM policy Mar 7, 2025
@bryantbiggs bryantbiggs merged commit 770ee99 into terraform-aws-modules:master Mar 7, 2025
25 checks passed
antonbabenko pushed a commit that referenced this pull request Mar 7, 2025
## [20.34.0](v20.33.1...v20.34.0) (2025-03-07)

### Features

* Add capacity reservation permissions to Karpenter IAM policy ([#3318](#3318)) ([770ee99](770ee99))
@antonbabenko
Copy link
Member

This PR is included in version 20.34.0 🎉

Copy link

github-actions bot commented Apr 7, 2025

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants