mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-10-07 16:18:55 +00:00
Compare commits
1 commit
f0a2b7191d
...
ed171513ff
| Author | SHA1 | Date | |
|---|---|---|---|
| ed171513ff |
1 changed files with 29 additions and 4 deletions
|
|
@ -1334,6 +1334,33 @@ Resources:
|
|||
# CDK deploy roles (4 repos)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
SeahavenSlackBotDeployRole:
|
||||
Type: AWS::IAM::Role
|
||||
Properties:
|
||||
RoleName: githubdeploy-seahaven-slack-bot
|
||||
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}/seahaven-slack-bot: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-*
|
||||
|
||||
ExecAideDeployRole:
|
||||
Type: AWS::IAM::Role
|
||||
Properties:
|
||||
|
|
@ -1489,10 +1516,8 @@ Outputs:
|
|||
Value: !GetAtt AfiBackupMonitorDeployRole.Arn
|
||||
PaymentsDashboardDeployRoleArn:
|
||||
Value: !GetAtt PaymentsDashboardDeployRole.Arn
|
||||
# SeahavenSlackBotDeployRoleArn removed 2026-07-27: the role was deleted
|
||||
# out-of-band on 2026-07-23, so this !GetAtt failed as a live IAM read and
|
||||
# broke every stack update. Nothing imported it (the Output had no
|
||||
# ExportName, and no stack imports any export from this stack).
|
||||
SeahavenSlackBotDeployRoleArn:
|
||||
Value: !GetAtt SeahavenSlackBotDeployRole.Arn
|
||||
ExecAideDeployRoleArn:
|
||||
Value: !GetAtt ExecAideDeployRole.Arn
|
||||
SeahavenDoorUnlockApiDeployRoleArn:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue