Ensures we can get multiple endpoints with the same name but different ports. (#1011)
This commit is contained in:
@@ -109,6 +109,8 @@ def get_elb_endpoints(account_number, region, elb_dict):
|
||||
account_number=account_number, region=region)
|
||||
endpoint['policy'] = format_elb_cipher_policy(policy)
|
||||
|
||||
current_app.logger.debug("Found new endpoint. Endpoint: {}".format(endpoint))
|
||||
|
||||
endpoints.append(endpoint)
|
||||
|
||||
return endpoints
|
||||
|
@@ -22,8 +22,6 @@ def sts_client(service, service_type='client'):
|
||||
current_app.config.get('LEMUR_INSTANCE_PROFILE', 'Lemur')
|
||||
)
|
||||
|
||||
current_app.logger.debug('Assuming Role. Role: {0}'.format(arn))
|
||||
|
||||
# TODO add user specific information to RoleSessionName
|
||||
role = sts.assume_role(RoleArn=arn, RoleSessionName='lemur')
|
||||
|
||||
|
Reference in New Issue
Block a user