org-formation / org-formation-cli

Better than landingzones!
MIT License
1.41k stars 131 forks source link

[Feature] Manage Organization resources using CloudFormation #580

Open diegoroccia opened 1 month ago

diegoroccia commented 1 month ago

Subject of the issue

AWS Cloudformation added support for the following new resource types

But org-formation still manages them via API calls and not via CloudFormation. Having the resources managed via CloudFormation would make it easier to migrate from/to org-formation.

Your environment

Steps to reproduce

Tell us how to reproduce this issue. Please provide ofn projct files if possible, you can use this template as a base. https://plnkr.co/edit/m568SDw2KPufQsUl

Expected behaviour

There should be stacks for the Organization, the OUs, the Accounts and policies

Actual behaviour

no stacks are listed there

yannickvr commented 1 month ago

Not an issue for most/many, but CloudFormation has a resource limit of 500 resources, so migrating to CF would limit OFN to manage a maximum of 500 accounts.

diegoroccia commented 1 month ago

@yannickvr the tool could create multiple stacks to overcome the limit. Also, this could be an opt in feature, since not everyone cares about it