Skip to content

Commit a51e59f

Browse files
authoredFeb 20, 2023
increase default hop limit to 2 (#371)
1 parent 8795a44 commit a51e59f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎operator/pkg/awsprovider/launchtemplate/reconciler.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ func (c *Controller) createLaunchTemplate(ctx context.Context, dataplane *v1alph
150150
Name: aws.String(instanceProfile),
151151
},
152152
MetadataOptions: &ec2.LaunchTemplateInstanceMetadataOptionsRequest{
153-
HttpTokens: aws.String(ec2.LaunchTemplateHttpTokensStateRequired),
153+
HttpTokens: aws.String(ec2.LaunchTemplateHttpTokensStateRequired),
154+
HttpPutResponseHopLimit: aws.Int64(2),
154155
},
155156
Monitoring: &ec2.LaunchTemplatesMonitoringRequest{Enabled: ptr.Bool(true)},
156157
SecurityGroupIds: []*string{ptr.String(securityGroupID)},

0 commit comments

Comments
 (0)