cmd/kola: add aws profile option
Add --aws-profile option to use different AWS profiles.
@@ -74,6 +74,7 @@ func init() {
}
// Container Linux 1430.0.0 (alpha) on us-west-2
sv(&kola.AWSOptions.Region, "aws-region", defaultRegion, "AWS region")
+ sv(&kola.AWSOptions.Profile, "aws-profile", "default", "AWS profile name")
sv(&kola.AWSOptions.AMI, "aws-ami", "alpha", `AWS AMI ID, or (alpha|beta|stable) to use the latest image`)
sv(&kola.AWSOptions.InstanceType, "aws-type", "t2.small", "AWS instance type")
sv(&kola.AWSOptions.SecurityGroup, "aws-sg", "kola", "AWS security group name")
