Skip to content

Commit

Permalink
Always create network interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mselim00 committed Feb 21, 2025
1 parent 12f0f3e commit 131c223
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ Resources:
SubnetId: {{$networkInterface.SubnetId}}
DeleteOnTermination: {{$networkInterface.DeleteOnTermination}}
{{- end}}
- !Ref AWS::NoValue
SecurityGroupIds:
Fn::If:
- IsEFAEnabled
- !Ref AWS::NoValue
- - !Ref SecurityGroup
- - Description: "Standard network interface"
NetworkCardIndex: 0
DeviceIndex: 0
InterfaceType: 0
Groups: !Ref SecurityGroup
DeleteOnTermination: true
UserData:
Fn::Base64:
Fn::If:
Expand Down Expand Up @@ -201,7 +201,6 @@ Resources:
- Key: Name
Value: !Sub "${ClusterName}-Node"
PropagateAtLaunch: true
# necessary for kubelet's legacy, in-tree cloud provider
- Key: !Sub "kubernetes.io/cluster/${ClusterName}"
Value: owned
PropagateAtLaunch: true

0 comments on commit 131c223

Please sign in to comment.