Skip to content

introduce regions to reduce authorization errors #599

@DawidKrysiak

Description

@DawidKrysiak

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}"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions