Skip to content

Commit

Permalink
increase default hop limit to 2 (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Feb 20, 2023
1 parent 8795a44 commit a51e59f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion operator/pkg/awsprovider/launchtemplate/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ func (c *Controller) createLaunchTemplate(ctx context.Context, dataplane *v1alph
Name: aws.String(instanceProfile),
},
MetadataOptions: &ec2.LaunchTemplateInstanceMetadataOptionsRequest{
HttpTokens: aws.String(ec2.LaunchTemplateHttpTokensStateRequired),
HttpTokens: aws.String(ec2.LaunchTemplateHttpTokensStateRequired),
HttpPutResponseHopLimit: aws.Int64(2),
},
Monitoring: &ec2.LaunchTemplatesMonitoringRequest{Enabled: ptr.Bool(true)},
SecurityGroupIds: []*string{ptr.String(securityGroupID)},
Expand Down

0 comments on commit a51e59f

Please sign in to comment.