mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 08:13:12 +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:
|
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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue