PG-2353: GitHub OIDC role for the PPG OL10 AMI factory#99
Merged
Conversation
Collaborator
Author
Apply notes
|
This was referenced Jun 4, 2026
- Add gha_ppg_ami_factory (github-oidc-role module) assumed by the AMI-build GHA workflow via OIDC, no static keys - Trust the canonical Percona-Lab/jenkins-pipelines master ref only (StringEquals, no wildcard sub) - Add the builder SSM instance profile + an egress-only no-ingress SG so Packer needs no SG-mutation perms - Least-privilege EC2/AMI/SSM policy; Run/terminate/deregister fenced on iit-billing-tag + region; SSM scoped to AWS-StartPortForwardingSession - Source the account id via data.aws_caller_identity; output the role ARN for the repo secret
86b031b to
c8b516f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature
gha_ppg_ami_factoryGitHub-OIDC role (via thegithub-oidc-rolemodule) that the AMI-build workflow assumes, plus a pre-created egress-only builder security group.Why
AWS-StartPortForwardingSession; RunInstances, terminate, and deregister gated oniit-billing-tag; no SG-mutation perms since the SG is pre-created.Tickets