Skip to content

feat: Allow to toggle access to EC2 instance tags #2592

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

Merged
merged 3 commits into from
Nov 8, 2022

Conversation

MGSousa
Copy link
Contributor

@MGSousa MGSousa commented Oct 29, 2022

Added variable option for toggle (enabled/disabled) access to EC2 instance tags through metadata service.

@npalm npalm self-requested a review October 31, 2022 13:46
Copy link
Member

@npalm npalm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MGSousa looks good, but curious in what case do you disable the metadaservice_tags? The instance start-up requires on tags. Or do you use an alternative user_data script to start your runners in such way you are not requiring the tags.

@MGSousa
Copy link
Contributor Author

MGSousa commented Oct 31, 2022

@MGSousa looks good, but curious in what case do you disable the metadaservice_tags? The instance start-up requires on tags. Or do you use an alternative user_data script to start your runners in such way you are not requiring the tags.

For this case, I need to disable this metadata service since this restricts "spacing" in tags (aws/aws-sdk#410), and for now, it's the only solution.
Also, I am using a custom user_data.sh script for starting the runners which calls the describe-tags for each instance.

Copy link
Member

@npalm npalm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, need to run a quick deployment test. Added a small suggestion

MGSousa and others added 2 commits November 4, 2022 16:17
Updated description for the metadata_options variable

Co-authored-by: Niek Palm <[email protected]>
@npalm npalm merged commit 55fba22 into github-aws-runners:develop Nov 8, 2022
forest-releaser bot pushed a commit that referenced this pull request Nov 8, 2022
npalm pushed a commit that referenced this pull request Nov 17, 2022
npalm pushed a commit that referenced this pull request Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants