-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Labels
Description
SCP-blocked regions cause floods of errors in the logs
To my understanding, the scheduler enters an account and tries to act upon all available regions.
The problem with that is, that some regions are blocked with SCP policies causing:
{IAM Role} not authorized to perform: `tag:GetResources` with an explicit deny in a service control policy
Proposed solution(s)
An additional attribute in DDB to define regions (needs to be account->[regions] to allow for full customisation of regions per account.
Alternatively, to avoid changing the item's attribute:
Implement in the code a catch for a region definition, if exists.
Example:
remote_account_ids : "123456789012{eu-west-1,us-east-1},123456789011{eu-central-1}"
CrypticCabub