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

feat: Make Packer builder IAM role configurable #4342

Conversation

mattgodbolt
Copy link

Allows the Packer build instance to access resources as a IAM role during the build process. Defaults to empty string, which should replicate existing behaviour.

See #3041.

@mattgodbolt mattgodbolt changed the title Add configuration for the Packer builder IAM role feat: Make Packer builder IAM role configurable Jan 8, 2025
@mattgodbolt mattgodbolt force-pushed the mg/builder_iam_profile branch from 7a524ec to 16e2eb6 Compare January 8, 2025 15:58
@mattgodbolt mattgodbolt marked this pull request as draft January 8, 2025 17:41
@mattgodbolt
Copy link
Author

Drafting after I spotted typos. That'll teach me to make any changes between my branch and a PR....

Allows the Packer build instance to access resources as a IAM role
during the build process. Defaults to empty string, which should
replicate existing behaviour.

See github-aws-runners#3041.
@mattgodbolt mattgodbolt force-pushed the mg/builder_iam_profile branch from 16e2eb6 to d9ee487 Compare January 8, 2025 17:43
@mattgodbolt
Copy link
Author

Ready; sorry for the noise!

@mattgodbolt mattgodbolt marked this pull request as ready for review January 8, 2025 17:44
mattgodbolt referenced this pull request in compiler-explorer/ce-ci Jan 8, 2025
The change in submodule /seems/ not to affect us (anymore?) - reverting
it means the only difference between the submodule and the upstream version
is just PR'd away in https://github.com/philips-labs/terraform-aws-github-runner/pull/4342
so we can in theory consider killing the submodule once that lands.
mattgodbolt referenced this pull request in compiler-explorer/ce-ci Jan 8, 2025
Reverts the yum/apt stuff in the submodule

The change in submodule /seems/ not to affect us (anymore?) - reverting it means the only difference between the submodule and the upstream version is just PR'd away in philips-labs/terraform-aws-github-runner#4342 so we can in theory consider killing the submodule once that lands.

cc @partouf

I built both the arm64 and x64 and did test builds on both. They seem to work.
@npalm
Copy link
Collaborator

npalm commented Jan 9, 2025

Thx but this looks a duplicate of #4278 which I just merged.

@mattgodbolt
Copy link
Author

Wow it absolutely is :) thanks!

@mattgodbolt mattgodbolt closed this Jan 9, 2025
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