Skip to content

Commit

Permalink
Instance state must be running 🤦‍♂️
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhaley committed May 13, 2024
1 parent 3136514 commit 544e52c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/alternat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ func getNatInstancePublicIp(t *testing.T, ec2Client *ec2.Client) (string, error)
Name: aws.String("tag:Name"),
Values: []string{namePrefix + "*"},
},
{
Name: aws.String("instance-state-name"),
Values: []string{"running"},
},
},
}
maxRetries := 6
Expand Down

0 comments on commit 544e52c

Please sign in to comment.