aws / aws/aws-parallelcluster

Feature: Add support ec2 tags in IMDS

Open
#7,454 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Please add the option to enable instance tags in IMDS for ec2 instances:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html#allow-access-to-tags-in-IMDS
This can be useful in custom scripts, for example, to read an environment tag or node type.

The option can be a part of the IMDS section:
```
Imds:
ImdsSupport: string
EnableInstanceTags: bool
```

Contributor guide

Open the contributing guide

Research direction

Start at the existing Imds configuration section and trace how ImdsSupport is applied to EC2 instances, using the linked AWS IMDS tags documentation for the required behavior. Add EnableInstanceTags there and verify through the relevant configuration or cluster tests that the option enables instance tags while the default remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.