Mark custom .ec2/aws_id as deprecated
This commit is contained in:
parent
b1e82962b2
commit
b63b1309f1
|
@ -110,6 +110,8 @@ class EC2LatentBuildSlave(AbstractLatentBuildSlave):
|
|||
if not os.path.exists(aws_id_file_path):
|
||||
aws_id_file_path = None
|
||||
if aws_id_file_path and os.path.exists(aws_id_file_path):
|
||||
log.msg('WARNING: EC2LatentBuildSlave is using deprecated '
|
||||
'aws_id file')
|
||||
with open(aws_id_file_path, 'r') as aws_file:
|
||||
identifier = aws_file.readline().strip()
|
||||
secret_identifier = aws_file.readline().strip()
|
||||
|
|
|
@ -46,6 +46,9 @@ Fixes
|
|||
Deprecations, Removals, and Non-Compatible Changes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Providing Latent AWS EC2 credentails by the .ec2/aws_id file is deprecated:
|
||||
Instead, use the standard .aws/credentials file.
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
|
|
Loading…
Reference in New Issue