Skip to content

Commit b1b4310

Browse files
author
Bob Strahan
committed
fix(scripts): add missing RBAC resources to GovCloud removal list
1 parent 52fd485 commit b1b4310

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ SPDX-License-Identifier: MIT-0
55

66
## [Unreleased]
77

8+
### Fixed
9+
10+
- **GovCloud template: fix unresolved RBAC resource dependencies** — Added `AuthorGroup`, `ViewerGroup`, `GetMyProfileResolver`, and `UpdateUserResolver` to GovCloud removal lists so they are stripped alongside the `UserPool` they depend on.
11+
812
## [0.5.2]
913

1014
### Added

scripts/generate_govcloud_template.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ def __init__(self, verbose: bool = False):
6969
'CognitoAuthorizedRole',
7070
'AdminUser',
7171
'AdminGroup',
72+
'AuthorGroup', # RBAC author group - depends on UserPool
73+
'ViewerGroup', # RBAC viewer group - depends on UserPool
7274
'ReviewerGroup', # HITL reviewer group - depends on UserPool
7375
'AdminUserToGroupAttachment',
7476
'GetDomain', # This depends on Cognito UserPoolDomain - remove it
@@ -136,7 +138,10 @@ def __init__(self, verbose: bool = False):
136138
'CompleteSectionReviewResolver',
137139
'SkipAllSectionsReviewResolver',
138140
'ClaimReviewResolver',
139-
'ReleaseReviewResolver'
141+
'ReleaseReviewResolver',
142+
# RBAC resolvers - depend on GraphQLApi, APPSYNCSTACK, and UserManagementDataSource
143+
'GetMyProfileResolver',
144+
'UpdateUserResolver'
140145
}
141146

142147
# Knowledge Base resources (not supported in GovCloud due to S3 Vectors service unavailability)

0 commit comments

Comments
 (0)