aws feature; not simple, but at least possible
aws.amazon.com/blogs/aws/new-import-existing-resources-into-a-cloudformation-stack
docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-new-stack
During this import operation, you need to provide the following.
A template that describes the resources that will be in the new stack and the resource configurations. Each resource in your template must have a DeletionPolicy attribute.
A unique identifier for each target resource. Visit the appropriate service console to obtain unique identifiers.
rahulmuthu80.medium.com/create-cloudformation-template-from-existing-aws-infra-fit-devops
third party tool
AWS CloudFormer | Generate AWS CloudFormation Template with Existing Resources