File tree Expand file tree Collapse file tree 3 files changed +31
-6
lines changed
pcs/login_node_for_res/assets Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ Parameters:
1616 Type : String
1717 Default : aws-hpc-recipes
1818 Description : HPC Recipes for AWS S3 bucket
19- # AllowedValues:
20- # - aws-hpc-recipes
21- # - aws-hpc-recipes-dev
19+ AllowedValues :
20+ - aws-hpc-recipes
21+ - aws-hpc-recipes-dev
2222 HpcRecipesBranch :
2323 Type : String
2424 Default : main
@@ -54,9 +54,6 @@ Resources:
5454 DeletionPolicy : Delete
5555 UpdateReplacePolicy : Delete
5656 Properties :
57- Parameters :
58- HpcRecipesS3Bucket : !Ref HpcRecipesS3Bucket
59- HpcRecipesBranch : !Ref HpcRecipesBranch
6057 TemplateURL : !Sub 'https://${HpcRecipesS3Bucket}.s3.us-east-1.amazonaws.com/${HpcRecipesBranch}/recipes/res/res_ready_ami/assets/components/research-and-engineering-studio-vdi-linux.yaml'
6158 TimeoutInMinutes : 10
6259
Original file line number Diff line number Diff line change @@ -69,6 +69,20 @@ Resources:
6969 Effect : Allow
7070 Action : " s3:GetObject"
7171 Resource : !Sub "arn:aws:s3:::${RESEnvironment}-cluster-${AWS::Region}-${AWS::AccountId}/idea/vdc/res-ready-install-script-packages/*"
72+ - Sid : GPUDriverAccess
73+ Effect : Allow
74+ Action :
75+ - s3:GetObject
76+ - s3:ListBucket
77+ Resource :
78+ - " arn:aws:s3:::dcv-license.us-east-1/*"
79+ - " arn:aws:s3:::ec2-linux-nvidia-drivers/*"
80+ - " arn:aws:s3:::ec2-linux-nvidia-drivers"
81+ - " arn:aws:s3:::nvidia-gaming/*"
82+ - " arn:aws:s3:::nvidia-gaming-drivers"
83+ - " arn:aws:s3:::nvidia-gaming-drivers/*"
84+ - " arn:aws:s3:::ec2-amd-linux-drivers/*"
85+ - " arn:aws:s3:::ec2-amd-linux-drivers"
7286 RoleName : !Sub "${AWS::StackName}-RES-PCS-Ec2ImageBuilderRole"
7387
7488 RESEnvironmentImageBuilderIAMInstanceProfile :
Original file line number Diff line number Diff line change @@ -78,6 +78,20 @@ Resources:
7878 Effect : Allow
7979 Action : " s3:GetObject"
8080 Resource : !Sub "arn:${AWS::Partition}:s3:::${EnvironmentName}-cluster-${AWS::Region}-${AWS::AccountId}/idea/vdc/res-ready-install-script-packages/*"
81+ - Sid : GPUDriverAccess
82+ Effect : Allow
83+ Action :
84+ - s3:GetObject
85+ - s3:ListBucket
86+ Resource :
87+ - " arn:aws:s3:::dcv-license.us-east-1/*"
88+ - " arn:aws:s3:::ec2-linux-nvidia-drivers/*"
89+ - " arn:aws:s3:::ec2-linux-nvidia-drivers"
90+ - " arn:aws:s3:::nvidia-gaming/*"
91+ - " arn:aws:s3:::nvidia-gaming-drivers"
92+ - " arn:aws:s3:::nvidia-gaming-drivers/*"
93+ - " arn:aws:s3:::ec2-amd-linux-drivers/*"
94+ - " arn:aws:s3:::ec2-amd-linux-drivers"
8195 RoleName : !Sub "${EnvironmentName}-EC2InstanceProfileForImageBuilder"
8296
8397 RESEC2InstanceProfileForImageBuilder :
You can’t perform that action at this time.
0 commit comments