1
Fork 0

Mark custom .ec2/aws_id as deprecated

This commit is contained in:
Andrew Pilloud 2015-07-13 13:54:11 -07:00
parent b1e82962b2
commit b63b1309f1
2 changed files with 5 additions and 0 deletions

View File

@ -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()

View File

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