Why does `aws organizations list-roots` return a list instead of a single value?

Viewed 59

The AWS CLI aws organizations list-roots returns a list.

But given an AWS Account/login, it can only belong to 0 or 1 AWS Organization, right? Why did it return a list then (is there ever going be 2 or more items)?

1 Answers

I guess it's for forward-compatibility. In the future, AWS Organizations might support several roots, and then the API would be prepared for that.

Related