chore(iam): remove procurement-ingest OIDC deploy role (PLAT-88) (#118)
Some checks failed
ci / ci / ci (push) Has been cancelled

* chore(iam): remove procurement-ingest OIDC deploy role

* chore(iam): drop procurement-ingest OIDC role output
This commit is contained in:
Adam Moussa 2026-08-07 12:42:07 -04:00 • committed by GitHub
parent 7ac3528750
commit 9f2adabbea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1299,33 +1299,6 @@ Resources:
Resource: Resource:
- !Sub arn:aws:iam::${AWS::AccountId}:role/cdk-hnb659fds-* - !Sub arn:aws:iam::${AWS::AccountId}:role/cdk-hnb659fds-*
ProcurementIngestDeployRole:
Type: AWS::IAM::Role
Properties:
RoleName: githubdeploy-procurement-ingest
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: Allow
Principal:
Federated: !Sub arn:aws:iam::${AWS::AccountId}:oidc-provider/token.actions.githubusercontent.com
Action: sts:AssumeRoleWithWebIdentity
Condition:
StringEquals:
token.actions.githubusercontent.com:aud: sts.amazonaws.com
StringLike:
token.actions.githubusercontent.com:sub: !Sub repo:${GitHubOrg}/procurement-ingest:ref:refs/heads/main
Policies:
- PolicyName: cdk-deploy
PolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: Allow
Action:
- sts:AssumeRole
Resource:
- !Sub arn:aws:iam::${AWS::AccountId}:role/cdk-hnb659fds-*
ApmWoAnalysisDeployRole: ApmWoAnalysisDeployRole:
Type: AWS::IAM::Role Type: AWS::IAM::Role
Properties: Properties:
@ -1483,8 +1456,8 @@ Outputs:
Value: !GetAtt ExecAideDeployRole.Arn Value: !GetAtt ExecAideDeployRole.Arn
SeahavenDoorUnlockApiDeployRoleArn: SeahavenDoorUnlockApiDeployRoleArn:
Value: !GetAtt SeahavenDoorUnlockApiDeployRole.Arn Value: !GetAtt SeahavenDoorUnlockApiDeployRole.Arn
ProcurementIngestDeployRoleArn: # ProcurementIngestDeployRoleArn removed 2026-08-07 (PLAT-88): HCP sole
Value: !GetAtt ProcurementIngestDeployRole.Arn # mutate path; prod githubdeploy role deleted; mgmt twin already gone.
ApmWoAnalysisDeployRoleArn: ApmWoAnalysisDeployRoleArn:
Value: !GetAtt ApmWoAnalysisDeployRole.Arn Value: !GetAtt ApmWoAnalysisDeployRole.Arn
SeahavenAccountBaselineDeployRoleArn: SeahavenAccountBaselineDeployRoleArn: