diff --git a/infrastructure/parallelcluster-ui.yaml b/infrastructure/parallelcluster-ui.yaml index 11b7b99a..9d1a56ba 100644 --- a/infrastructure/parallelcluster-ui.yaml +++ b/infrastructure/parallelcluster-ui.yaml @@ -575,17 +575,6 @@ Resources: Condition: StringLike: aws:SourceArn: !Sub arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:* - - Sid: ReadWriteEcrPolicy - Effect: Allow - Principal: - Service: !Sub lambda.${AWS::URLSuffix} - Action: - - ecr:DeleteRepositoryPolicy - - ecr:GetRepositoryPolicy - - ecr:SetRepositoryPolicy - Condition: - StringLike: - aws:SourceArn: !Sub arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:* ImageBuilderInstanceRole: Type: AWS::IAM::Role