Skip to content
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

Tag name for update check's ec2 run-instances call #349

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

danehlim
Copy link
Contributor

@danehlim danehlim commented Dec 3, 2024

Summary

Add a "Name" tag to EC2 RunInstances API call in scripts/check-update-security.sh shell script so that it is easier to identify instances launched via this shell script in the calling AWS account.

Implementation details

Use --tag-specifications argument when calling aws ec2 run-instances to add "Name" tag to instance that indicates that the instance is used for checking for security updates (and the platform it is checking security updates for).

Testing

Manually run the modified command locally using personal AWS account and confirm that the launched instance has the expected "Name" tag.

New tests cover the changes: no

Description for the changelog

Tag name for update check's ec2 run-instances call

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@danehlim danehlim requested a review from a team as a code owner December 3, 2024 00:44
@danehlim danehlim force-pushed the tag-check-security-ec2-run-instance branch from 3a54bdb to ba0d6fe Compare December 3, 2024 00:49
@danehlim danehlim merged commit d1415d3 into aws:main Dec 3, 2024
2 checks passed
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.

3 participants