Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Enhance info log message about region for AWS SM backend #641

Merged
merged 1 commit into from
Feb 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/backends/secrets-manager-backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SecretsManagerBackend extends KVBackend {
* @returns {Promise} Promise object representing secret property value.
*/
async _get ({ key, specOptions: { roleArn, region }, keyOptions: { versionStage = 'AWSCURRENT', versionId = null } }) {
this._logger.info(`fetching secret property ${key} with role: ${roleArn || 'pods role'} in region ${region}`)
this._logger.info(`fetching secret property ${key} with role: ${roleArn || 'pods role'} in region: ${region || 'pods region'}`)

let client = this._client
let factoryArgs = null
Expand Down