Skip to content

Commit

Permalink
rain linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlauritsen committed Jul 23, 2024
1 parent 71a8818 commit 770f122
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 64 deletions.
24 changes: 12 additions & 12 deletions deployments/aws/templates/ai-unlimited/ai-unlimited-with-alb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWSTemplateFormatVersion: '2010-09-09'
AWSTemplateFormatVersion: "2010-09-09"

Description: 'AWS CloudFormation Template AI Unlimited: AI Unlimited is a instance based service for deploying and suspending clusters of AI Unlimited compute engines, and managing project lifecycles. Note: You will be billed for the AWS resources used if you create a stack from this template.'

Expand Down Expand Up @@ -629,7 +629,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand All @@ -644,7 +644,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand Down Expand Up @@ -678,7 +678,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand Down Expand Up @@ -870,11 +870,11 @@ Resources:
Matcher:
GrpcCode: "0"
Name: !Join
- "-"
- '-'
- - !Select
- 4
- !Split
- "-"
- '-'
- !Select
- 2
- !Split
Expand Down Expand Up @@ -914,14 +914,14 @@ Resources:
FromPort: !Ref AiUnlimitedGrpcPort
ToPort: !Ref AiUnlimitedGrpcPort
SourceSecurityGroupId: !GetAtt LoadBalancerAiUnlimitedSecurityGroup.GroupId
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedHttpPort
ToPort: !Ref AiUnlimitedHttpPort
SourceSecurityGroupId: !Ref SecurityGroup
- !Ref AWS::NoValue
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedGrpcPort
Expand All @@ -943,14 +943,14 @@ Resources:
FromPort: !Ref AiUnlimitedSchedulerHttpPort
ToPort: !Ref AiUnlimitedSchedulerHttpPort
SourceSecurityGroupId: !GetAtt LoadBalancerSchedulerSecurityGroup.GroupId
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedSchedulerHttpPort
ToPort: !Ref AiUnlimitedSchedulerHttpPort
SourceSecurityGroupId: !Ref SecurityGroup
- !Ref AWS::NoValue
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedSchedulerGrpcPort
Expand Down Expand Up @@ -1222,7 +1222,7 @@ Outputs:

InstanceSecurityGroups:
Description: AI Unlimited Security Group
Value: !Join
Value: !Join
- ', '
- - !GetAtt AiUnlimitedSecurityGroup.GroupId
- !GetAtt AiUnlimitedSchedulerSecurityGroup.GroupId
Expand All @@ -1233,7 +1233,7 @@ Outputs:

LoadBalancerSecurityGroups:
Description: AI Unlimited Load Balancer Security Group
Value: !Join
Value: !Join
- ', '
- - !GetAtt LoadBalancerAiUnlimitedSecurityGroup.GroupId
- !GetAtt LoadBalancerSchedulerSecurityGroup.GroupId
Expand Down
22 changes: 11 additions & 11 deletions deployments/aws/templates/ai-unlimited/ai-unlimited-with-nlb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWSTemplateFormatVersion: '2010-09-09'
AWSTemplateFormatVersion: "2010-09-09"

Description: 'AWS CloudFormation Template AI Unlimited: AI Unlimited is a instance based service for deploying and suspending clusters of AI Unlimited compute engines, and managing project lifecycles. Note: You will be billed for the AWS resources used if you create a stack from this template.'

Expand Down Expand Up @@ -625,7 +625,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand Down Expand Up @@ -659,7 +659,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand Down Expand Up @@ -830,11 +830,11 @@ Resources:
HealthCheckTimeoutSeconds: 15
HealthyThresholdCount: 5
Name: !Join
- "-"
- '-'
- - !Select
- 4
- !Split
- "-"
- '-'
- !Select
- 2
- !Split
Expand Down Expand Up @@ -871,14 +871,14 @@ Resources:
FromPort: !Ref AiUnlimitedGrpcPort
ToPort: !Ref AiUnlimitedGrpcPort
SourceSecurityGroupId: !GetAtt LoadBalancerAiUnlimitedSecurityGroup.GroupId
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedHttpPort
ToPort: !Ref AiUnlimitedHttpPort
SourceSecurityGroupId: !Ref SecurityGroup
- !Ref AWS::NoValue
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedGrpcPort
Expand All @@ -900,14 +900,14 @@ Resources:
FromPort: !Ref AiUnlimitedSchedulerHttpPort
ToPort: !Ref AiUnlimitedSchedulerHttpPort
SourceSecurityGroupId: !GetAtt LoadBalancerSchedulerSecurityGroup.GroupId
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedSchedulerHttpPort
ToPort: !Ref AiUnlimitedSchedulerHttpPort
SourceSecurityGroupId: !Ref SecurityGroup
- !Ref AWS::NoValue
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedSchedulerGrpcPort
Expand Down Expand Up @@ -1161,7 +1161,7 @@ Outputs:

InstanceSecurityGroups:
Description: AI Unlimited Security Groups
Value: !Join
Value: !Join
- ', '
- - !GetAtt AiUnlimitedSecurityGroup.GroupId
- !GetAtt AiUnlimitedSchedulerSecurityGroup.GroupId
Expand All @@ -1172,7 +1172,7 @@ Outputs:

LoadBalancerSecurityGroups:
Description: AI Unlimited Load Balancer Security Group
Value: !Join
Value: !Join
- ', '
- - !GetAtt LoadBalancerAiUnlimitedSecurityGroup.GroupId
- !GetAtt LoadBalancerSchedulerSecurityGroup.GroupId
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWSTemplateFormatVersion: '2010-09-09'
AWSTemplateFormatVersion: "2010-09-09"

Description: 'AWS CloudFormation Template AI Unlimited: AI Unlimited is a instance based service for deploying and suspending clusters of AI Unlimited compute engines, and managing project lifecycles. Note: You will be billed for the AWS resources used if you create a stack from this template.'

Expand Down Expand Up @@ -910,7 +910,7 @@ Outputs:

InstanceSecurityGroups:
Description: AI Unlimited Security Group
Value: !Join
Value: !Join
- ', '
- - !GetAtt AiUnlimitedSecurityGroup.GroupId
- !GetAtt AiUnlimitedSchedulerSecurityGroup.GroupId
Expand Down
26 changes: 13 additions & 13 deletions deployments/aws/templates/all-in-one/all-in-one-with-alb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWSTemplateFormatVersion: '2010-09-09'
AWSTemplateFormatVersion: "2010-09-09"

Description: 'AWS CloudFormation Template with AI Unlimited with Jupyter: AI Unlimited is a instance based service for deploying and suspending ai-unlimited clusters, and managing project lifecycles. This template also includes a Jupyter Lab service running on the same host, suitable for demonstration environments. Note: You will be billed for the AWS resources used if you create a stack from this template.'

Expand Down Expand Up @@ -689,7 +689,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand All @@ -704,7 +704,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand Down Expand Up @@ -738,7 +738,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand All @@ -761,7 +761,7 @@ Resources:
- HASPREFIXLIST
- !Ref PrefixList
- !Ref AWS::NoValue
SourceSecurityGroupId: !If
SourceSecurityGroupId: !If
- HASSECURITYGROUP
- !Ref SecurityGroup
- !Ref AWS::NoValue
Expand Down Expand Up @@ -876,11 +876,11 @@ Resources:
Matcher:
GrpcCode: "0"
Name: !Join
- "-"
- '-'
- - !Select
- 4
- !Split
- "-"
- '-'
- !Select
- 2
- !Split
Expand Down Expand Up @@ -1036,14 +1036,14 @@ Resources:
FromPort: !Ref AiUnlimitedGrpcPort
ToPort: !Ref AiUnlimitedGrpcPort
SourceSecurityGroupId: !GetAtt LoadBalancerAiUnlimitedSecurityGroup.GroupId
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedHttpPort
ToPort: !Ref AiUnlimitedHttpPort
SourceSecurityGroupId: !Ref SecurityGroup
- !Ref AWS::NoValue
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedGrpcPort
Expand All @@ -1065,14 +1065,14 @@ Resources:
FromPort: !Ref AiUnlimitedSchedulerHttpPort
ToPort: !Ref AiUnlimitedSchedulerHttpPort
SourceSecurityGroupId: !GetAtt LoadBalancerSchedulerSecurityGroup.GroupId
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedSchedulerHttpPort
ToPort: !Ref AiUnlimitedSchedulerHttpPort
SourceSecurityGroupId: !Ref SecurityGroup
- !Ref AWS::NoValue
- !If
- !If
- HASSECURITYGROUP
- IpProtocol: tcp
FromPort: !Ref AiUnlimitedSchedulerGrpcPort
Expand Down Expand Up @@ -1372,7 +1372,7 @@ Outputs:

InstanceSecurityGroups:
Description: AI Unlimited Security Group
Value: !Join
Value: !Join
- ', '
- - !GetAtt AiUnlimitedSecurityGroup.GroupId
- !GetAtt AiUnlimitedSchedulerSecurityGroup.GroupId
Expand All @@ -1384,7 +1384,7 @@ Outputs:

LoadBalancerSecurityGroups:
Description: AI Unlimited Load Balancer Security Group
Value: !Join
Value: !Join
- ', '
- - !GetAtt LoadBalancerAiUnlimitedSecurityGroup.GroupId
- !GetAtt LoadBalancerSchedulerSecurityGroup.GroupId
Expand Down
Loading

0 comments on commit 770f122

Please sign in to comment.