Skip to content

Commit 149c6f4

Browse files
committed
Support PCUI in us-gov-east-1(OSU) region and other future GovCloud regions
1 parent ac5d9c4 commit 149c6f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infrastructure/parallelcluster-ui-cognito.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Parameters:
2727
Default: ''
2828

2929
Conditions:
30-
GovCloud: !Equals [!Ref AWS::Region, 'us-gov-west-1']
30+
GovCloud: !Equals [!Ref 'AWS::Partition', 'aws-us-gov']
3131
UsePermissionBoundary: !Not [ !Equals [ !Ref PermissionsBoundaryPolicy, '' ] ]
3232
UseCustomDomain: !Not [!Equals [!Ref CustomDomain, '']]
3333

infrastructure/parallelcluster-ui.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Conditions:
163163
- !Equals ['3', !Select [ 1, !Split ['.', !Ref Version] ] ]
164164
- !Equals ['4', !Select [ 1, !Split ['.', !Ref Version] ] ]
165165
- !Equals ['5', !Select [ 1, !Split ['.', !Ref Version] ] ]
166-
InGovCloud: !Equals ['us-gov-west-1', !Ref "AWS::Region"]
166+
InGovCloud: !Equals [!Ref 'AWS::Partition', 'aws-us-gov']
167167
UsePermissionBoundary: !Not [!Equals [!Ref PermissionsBoundaryPolicy, '']]
168168
UsePermissionBoundaryPCAPI: !Not [!Equals [!Ref PermissionsBoundaryPolicyPCAPI, '']]
169169
UseIAMRoleAndPolicyPrefix: !Not [!Equals [!Ref IAMRoleAndPolicyPrefix, '']]

0 commit comments

Comments
 (0)