Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

@hypexr Removed memoizeWith from getAccountId so the incorrect account id will not be returned when deploying from one provider to the next #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 1 addition & 2 deletions src/getAccountId.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const AWS = require('aws-sdk')
const { memoizeWith, identity } = require('ramda')

const getAccountId = async (config) => {
const sts = new AWS.STS(config)
Expand All @@ -9,4 +8,4 @@ const getAccountId = async (config) => {
return res.Account
}

module.exports = memoizeWith(identity, getAccountId)
module.exports = getAccountId