Hi
I want to generate mapping between Terraform AWS Resource argument and equivalent AWS API options.
For eg. In resource type aws_instance
, we have argument called instance_type
Equivalent AWS API for instance_type
is InstanceType
I want to generate complete mapping for all aws resources. So that I can use this to generate Terraform code for my aws infrastructure.
I have wrote one collector in Python, which collects all information about aws resources and store it in JSON. The issue is all information gets stored in AWS API format.
I want to use the mapping to generate terraform code from that JSON.