Allow magic profile name none for configuring test farm tests. (#7069)

* Allow magic profile name none.

* Naming is hard.
This commit is contained in:
Brad Warren
2019-05-17 20:40:20 +02:00
committed by Adrien Ferrand
parent 16834a0d78
commit d1753e46f9
+1 -1
View File
@@ -94,7 +94,7 @@ cl_args = parser.parse_args()
# assumes naming: <key_filename> = <keyname>.pem
KEYFILE = cl_args.key_file
KEYNAME = os.path.split(cl_args.key_file)[1].split('.pem')[0]
PROFILE = cl_args.aws_profile
PROFILE = None if cl_args.aws_profile == 'SET_BY_ENV' else cl_args.aws_profile
# Globals
#-------------------------------------------------------------------------------