cloudmapper
cloudmapper copied to clipboard
organizations.describe_organization({}): An error occurred
python cloudmapper.py collect --config config.json.demo --account demo an error is sent:
organizations.describe_organization({}): An error occurred (AWSOrganizationsNotInUseException) when calling the DescribeOrganization operation: Your account is not a member of an organization. organizations.list_accounts({}): An error occurred (AWSOrganizationsNotInUseException) when calling the ListAccounts operation: Your account is not a member of an organization.
on a mac, (venv)
Affected me too. Is there a workaround?
On Docker Container. https://github.com/duo-labs/cloudmapper#using-a-docker-container
- Option 1 (easiest, short-term fix): Comment out these lines: https://github.com/duo-labs/cloudmapper/blob/main/collect_commands.yaml#L386
- Option 2 (better, long-term fix): Add another exception to this list: https://github.com/duo-labs/cloudmapper/blob/e611d2a05b462c33abb570bed2b1aae491b49fe0/commands/collect.py#L114
- Option 3 (best for your environment): Move your account to an Organization :P
Happy to accept a PR for Option 2.
This issue has been fixed! Let's close it :)