Skip to content

Commit 5cad43f

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
Make custom resource cluster.yaml compatible in all AWS partitions
Signed-off-by: Hanwen <[email protected]>
1 parent 274aac0 commit 5cad43f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudformation/custom_resource/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Resources:
5252
Type: AWS::CloudFormation::Stack
5353
Properties:
5454
TemplateURL: !Sub
55-
- https://${Bucket}.s3.${Region}.amazonaws.com/parallelcluster/${Version}/templates/policies/policies.yaml
55+
- https://${Bucket}.s3.${Region}.${AWS::URLSuffix}/parallelcluster/${Version}/templates/policies/policies.yaml
5656
- { Version: !FindInMap [ParallelCluster, Constants, Version ],
5757
Bucket: !If [UseCustomBucket, !Ref CustomBucket, !Sub "${AWS::Region}-aws-parallelcluster" ],
5858
Region: !Ref AWS::Region }

0 commit comments

Comments
 (0)