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(multi-runner): allow runner_additional_security_group_ids to apply to multi_runner_config #3221

Merged
merged 9 commits into from
May 23, 2023
Merged

fix(multi-runner): allow runner_additional_security_group_ids to apply to multi_runner_config #3221

merged 9 commits into from
May 23, 2023

Conversation

darklab-sh
Copy link
Contributor

Currently, when specifying the runner_additional_security_group_ids input within the multi_runner_config block, it is ignored. It has to be specified outside the multi_runner_config block, which means all runner configs will receive the same additional security groups. In our use-case, we need to specify different security groups for each config.

This PR supports adding the runner_additional_security_group_ids input either inside or outside of the multi_runner_config block. If added outside, the behavior does not change. All runner configs will receive the security groups. If added inside the multi_runner_config block, the specified security group(s) will only be added to the specified runner config.

I've tested all use cases I can think of, ran the pre-commit checks and updated the documentation. Please let me know if anything else is needed.

@darklab-sh darklab-sh changed the title Adding fix to allow runner_additional_security_group_ids to apply to multi_runner_config fix:allow runner_additional_security_group_ids to apply to multi_runner_config Apr 25, 2023
@darklab-sh darklab-sh changed the title fix:allow runner_additional_security_group_ids to apply to multi_runner_config fix: allow runner_additional_security_group_ids to apply to multi_runner_config Apr 25, 2023
@npalm npalm self-requested a review April 27, 2023 22:39
@npalm npalm changed the title fix: allow runner_additional_security_group_ids to apply to multi_runner_config fix(multi-runner): allow runner_additional_security_group_ids to apply to multi_runner_config Apr 28, 2023
darklab-sh and others added 2 commits May 22, 2023 15:05
Co-authored-by: Niek Palm <npalm@users.noreply.github.com>
npalm
npalm previously approved these changes May 23, 2023
@npalm npalm merged commit 5fb1fa8 into philips-labs:main May 23, 2023
@darklab-sh darklab-sh deleted the multi-runner-sg-fix branch July 19, 2023 15:33
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