aws-samples/aws2tf

Feature Requests

Closed this issue ยท 2 comments

Thank you for creating/maintaining such a handy tool ๐Ÿ™

What a request is this?

I'd like to kindly add some ideas/feature requests to be prioritized and supported if possible.
Please correct/guide me if some of them are already supported or can't be implemented due to AWS/TF limitations.

Brief overview of where the requirements/ideas came from

In my case having a single account/profile with up to 20 VPCs/Clusters and huge number of resources associated with them, I have found that specifying all required resources per individual VPC/Cluster or importing all resources in an individual account and then reviewing/filtering the required ones is not efficient at all.

Note: If this is possible by -s <stack set name> then please add some structure/examples.

Suggested features/ideas

  • A flag/option to identify/iterate all resources containing a particular TAG Key (regardless of the value), or Tag Key and Value.
  • A flag/option to identify/iterate all resources that are associated with a particular resource ID that is passed to the command, such as VPC, EC2 instance, etc.
  • Supporting MongoDB Atlas resources as well.
  • A flag/option to generate .tf files with all possible parameters that the relevant TF Provider supports not only the ones that are detected as user-defined or mandatory.
  • A flag/option to Exclude one or more resources from processing from the whole Account/Profile.

PS. Please let me know if more clarification will be required on each of the requests.

Hi, Give the new python version a try - it will cover this point I think

A flag/option to generate .tf files with all possible parameters that the relevant TF Provider supports not only the ones that are detected as user-defined or mandatory.

As it does that by default now via the new Terraform import mechanism

I'll schedule to try and will update my post if that works. Thank you for the update ๐Ÿ™