From f9c65c84e5b1c1a6727a8a2db76dbea983a92b44 Mon Sep 17 00:00:00 2001 From: Nick Griffin Date: Thu, 15 Nov 2018 16:39:46 +0000 Subject: [PATCH] Setting SourceDestCheck to false in AllocENI --- pkg/awsutils/awsutils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/awsutils/awsutils.go b/pkg/awsutils/awsutils.go index 4ce7bcc655..f9be08309f 100644 --- a/pkg/awsutils/awsutils.go +++ b/pkg/awsutils/awsutils.go @@ -555,6 +555,9 @@ func (cache *EC2InstanceMetadataCache) AllocENI(useCustomCfg bool, sg []*string, DeleteOnTermination: aws.Bool(true), }, NetworkInterfaceId: aws.String(eniID), + SourceDestCheck: &ec2.AttributeBooleanValue{ + Value: aws.Bool(false), + }, } start := time.Now()