1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

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 11:40:20 -07:00
committed by Adrien Ferrand
parent 16834a0d78
commit d1753e46f9

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
#-------------------------------------------------------------------------------