mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 03:43:10 +00:00
chore(iam): remove procurement-ingest OIDC deploy role (PLAT-88) (#118)
Some checks failed
ci / ci / ci (push) Has been cancelled
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:
parent
7ac3528750
commit
9f2adabbea
1 changed files with 2 additions and 29 deletions
|
|
@ -1299,33 +1299,6 @@ Resources:
|
|||
Resource:
|
||||
- !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:
|
||||
Type: AWS::IAM::Role
|
||||
Properties:
|
||||
|
|
@ -1483,8 +1456,8 @@ Outputs:
|
|||
Value: !GetAtt ExecAideDeployRole.Arn
|
||||
SeahavenDoorUnlockApiDeployRoleArn:
|
||||
Value: !GetAtt SeahavenDoorUnlockApiDeployRole.Arn
|
||||
ProcurementIngestDeployRoleArn:
|
||||
Value: !GetAtt ProcurementIngestDeployRole.Arn
|
||||
# ProcurementIngestDeployRoleArn removed 2026-08-07 (PLAT-88): HCP sole
|
||||
# mutate path; prod githubdeploy role deleted; mgmt twin already gone.
|
||||
ApmWoAnalysisDeployRoleArn:
|
||||
Value: !GetAtt ApmWoAnalysisDeployRole.Arn
|
||||
SeahavenAccountBaselineDeployRoleArn:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue