Skip to content

Commit

Permalink
Merge pull request #6 from openflighthpc/dev/name-tags
Browse files Browse the repository at this point in the history
Add Name tags for EC2 console
  • Loading branch information
ColonelPanics authored Mar 31, 2020
2 parents 07c5642 + 4be968e commit ec1ad9f
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions templates/aws/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ Resources:
Type: AWS::EC2::Instance
DependsOn: flightcloudclustergateway1pubIPassociation
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_gateway1"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -331,6 +337,12 @@ Resources:
Type: AWS::EC2::Instance
DependsOn: flightcloudclusternode01pubIPassociation
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node01"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -370,6 +382,12 @@ Resources:
Type: AWS::EC2::Instance
DependsOn: flightcloudclusternode02pubIPassociation
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node02"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -411,6 +429,12 @@ Resources:
DependsOn: flightcloudclusternode03pubIPassociation
Condition: CreateNode03
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node03"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -454,6 +478,12 @@ Resources:
DependsOn: flightcloudclusternode04pubIPassociation
Condition: CreateNode04
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node04"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -497,6 +527,12 @@ Resources:
DependsOn: flightcloudclusternode05pubIPassociation
Condition: CreateNode05
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node05"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -540,6 +576,12 @@ Resources:
DependsOn: flightcloudclusternode06pubIPassociation
Condition: CreateNode06
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node06"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -583,6 +625,12 @@ Resources:
DependsOn: flightcloudclusternode07pubIPassociation
Condition: CreateNode07
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node07"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down Expand Up @@ -626,6 +674,12 @@ Resources:
DependsOn: flightcloudclusternode08pubIPassociation
Condition: CreateNode08
Properties:
Tags:
-
Key: "Name"
Value: !Sub
- "${cn}_node08"
- { cn: !Ref clustername }
AvailabilityZone: !Select
- 0
- Fn::GetAZs: !Ref 'AWS::Region'
Expand Down

0 comments on commit ec1ad9f

Please sign in to comment.