aws-config-rdk
aws-config-rdk copied to clipboard
Feature request: Safeguard against accidentally deploying to the wrong account.
Sometimes it can be easy to accidentally deploy something to the wrong account via the CLI. It would be good if RDK had a safeguard against this.
One possible solution would be to add an optional Accounts
key to parameters.json
which takes a list of account numbers that the rule can be deployed to. Upon running rdk deploy
RDK could check the active account ID and raise an error if it's not on the list.