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

Fix AL2023 Support for iam_instance_profile #1975

Merged

Conversation

pjaudiomv
Copy link
Contributor

@pjaudiomv pjaudiomv commented Sep 21, 2024

Issue #, if available:

Description of changes:

This fixes iam_instance_profile support for AL2023, which the variable was added here #1679 but never actually added to the input of builder.

You can see it was added for AL2 (which I tested and works fine as well) but just missed for AL2023 https://github.com/awslabs/amazon-eks-ami/pull/1679/files#diff-c3563ab5a13c6689c9dc12566a56fa84b6d0fbe0b780c749ea4e4119e463e477R90

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

I built the image locally using ssh_interface=session_manager iam_instance_profile=SSMAutomationPacker and was able to successfully build AL2023 over SSM

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

@dgershman
Copy link

I have been waiting for this feature and I'm glad someone did it!

@cartermckinnon
Copy link
Member

/ci build

Copy link
Contributor

@cartermckinnon roger that! I've dispatched a workflow. 👍

Copy link
Contributor

@cartermckinnon the workflow that you requested has completed. 🎉

AMI variantBuildTest
1.23 / al2023success ✅skipped ⏭️
1.24 / al2023success ✅skipped ⏭️
1.25 / al2023success ✅skipped ⏭️
1.26 / al2023success ✅skipped ⏭️
1.27 / al2023success ✅skipped ⏭️
1.28 / al2023success ✅skipped ⏭️
1.29 / al2023success ✅skipped ⏭️
1.30 / al2023success ✅skipped ⏭️

@cartermckinnon
Copy link
Member

@pjaudiomv thanks for the fix!

@cartermckinnon cartermckinnon merged commit 8c7186f into awslabs:main Sep 23, 2024
9 of 10 checks passed
@pjaudiomv
Copy link
Contributor Author

@pjaudiomv thanks for the fix!

no problem, thanks for quick review and merge!

@pjaudiomv pjaudiomv deleted the pj/al2023-iam-instance-profile branch September 23, 2024 23:35
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