aws-samples / aws-samples/eks-workshop-v2

fix: Include commands to create Spot Service Linked Role

Open
#110 1 comment 0 reactions 1 assignee Claimed by @sanjeevrg89 View on GitHub
bug content/autoscaling
Dominant language
HCL
Stars
626
Forks
613
Avg merge
2d 7h
Merged PRs (30d)
9

Description

## Expected Behavior

All of the steps necessary to run Karpenter in a new account should be outlined, including creating the EC2 Spot Service Linked Role.

https://karpenter.sh/v0.17.0/getting-started/getting-started-with-terraform/#create-the-ec2-spot-service-linked-role

## Actual Behavior

This step is omitted, which will cause the Karpenter content to break in accounts without the role.

Error in CloudTrail logs:

`The provided credentials do not have permission to create the service-linked role for EC2 Spot Instances.`

## Steps to Reproduce the Problem

Run the Karpenter scenarios either manually or using the automation. Ensure that the Spot Service Linked Role is not present in the account.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.