diff --git a/pkg/verifier/aws/entry_point.go b/pkg/verifier/aws/entry_point.go index e7f92c65..6bb83631 100644 --- a/pkg/verifier/aws/entry_point.go +++ b/pkg/verifier/aws/entry_point.go @@ -5,6 +5,7 @@ import ( "fmt" "os" "strconv" + "time" awsTools "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/ec2" @@ -170,6 +171,9 @@ func (a *AwsVerifier) ValidateEgress(vei verifier.ValidateEgressInput) *output.O keyPair: vei.ImportKeyPair, }) + // SET WAIT AFTER EC2 CREATE - DAVID + time.Sleep(10 * time.Minute) + //If securitygroup was created by network-verifier, delete it as part of cleanup if cleanupSecurityGroup { defer CleanupSecurityGroup(vei, a)