org-formation / org-formation-cli

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

Register OrgFormation as Resource Provider in AWS #29

Open eduardomourar opened 4 years ago

eduardomourar commented 4 years ago

It would be very nice to have the Organization Formation as a resource provider. This way we can have this as part of a stack to roll out or back anytime in CloudFormation service.

A side note, AWS has a AWS::Organizations in the CloudFormation Roadmap that can probably be leveraged as well in the future.

eduardomourar commented 4 years ago

A new private resource provider can be used as a starting point and it can be added to the CloudFormation registry during account creation. For now OC::Organizations::PasswordPolicy has been implemented here: https://github.com/eduardomourar/aws-resource-provider-passwordpolicy

eduardomourar commented 4 years ago

You can also check the CloudFormation Resource Provider Typescript plugin that is being developed here: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin

eduardomourar commented 4 years ago

A new version of both typescript plugin and the password policy resource provider have been released. It allows the usage of the callback pattern from CloudFormation service itself. This will be quite useful in order to migrate each process (even long running ones) from the org-formation CLI.

eduardomourar commented 4 years ago

We are paving the road to get OrgFormation more and more integrated with the new resource types in this repository: https://github.com/org-formation/aws-resource-providers

I will keep this open until we release v1.