{"id":21258632,"url":"https://github.com/praveen1664/translate-terra-form-resources-into-python-classes","last_synced_at":"2026-05-20T09:31:24.420Z","repository":{"id":218409729,"uuid":"122422826","full_name":"praveen1664/Translate-Terra-form-resources-into-Python-Classes","owner":"praveen1664","description":"This is the repository for transforming terra-form releases into python classes","archived":false,"fork":false,"pushed_at":"2019-05-25T10:09:54.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T21:45:19.587Z","etag":null,"topics":["cloud","devops","infrastructure-as-code","python","terraform"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/praveen1664.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-22T02:51:50.000Z","updated_at":"2021-01-26T16:22:36.000Z","dependencies_parsed_at":"2024-01-21T20:06:38.667Z","dependency_job_id":"9be2dd60-0140-487d-8857-0a1762551325","html_url":"https://github.com/praveen1664/Translate-Terra-form-resources-into-Python-Classes","commit_stats":null,"previous_names":["praveen1664/translate-terra-form-resources-into-python-classes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FTranslate-Terra-form-resources-into-Python-Classes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FTranslate-Terra-form-resources-into-Python-Classes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FTranslate-Terra-form-resources-into-Python-Classes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praveen1664%2FTranslate-Terra-form-resources-into-Python-Classes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praveen1664","download_url":"https://codeload.github.com/praveen1664/Translate-Terra-form-resources-into-Python-Classes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695456,"owners_count":20332622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","devops","infrastructure-as-code","python","terraform"],"created_at":"2024-11-21T04:09:56.196Z","updated_at":"2026-05-20T09:31:19.391Z","avatar_url":"https://github.com/praveen1664.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Translate-Terra-form-resources-into-Python-Classes\n\n# terra-py\n# terra-py\nTranslate terraform resources into python classes\n\n\nExample: \nPython\n\n``` \n➜  terra-py git:(master) ✗ python\nPython 2.7.10 (default, Jul 14 2015, 19:46:27)\n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import json\n\u003e\u003e\u003e import tf_plan\n\u003e\u003e\u003e \n\u003e\u003e\u003e args = {'region':'us-west-1', 'name':'isa-nat', 'subnetId':'subnet-12345678', 'keyName':'isa_keypair'}\n\u003e\u003e\u003e \n\u003e\u003e\u003e nat = tf_plan.tfNatInstance(args)\n\u003e\u003e\u003e \n\u003e\u003e\u003e print nat.id\n${aws_instance.isa-nat.id}\n\u003e\u003e\u003e \n\u003e\u003e\u003e print json.dumps(nat.terraform, indent=2)\n{\n  \"isa-nat\": {\n    \"ami\": \"ami-004b0f60\",\n    \"instance_type\": \"t2.micro\",\n    \"provider\": \"aws.us-west-1\",\n    \"subnet_id\": \"subnet-12345678\",\n    \"key_name\": \"isa_keypair\",\n    \"tags\": {\n      \"Name\": \"isa-nat\"\n    },\n    \"associate_public_ip_address\": true\n  }\n}\n\u003e\u003e\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraveen1664%2Ftranslate-terra-form-resources-into-python-classes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraveen1664%2Ftranslate-terra-form-resources-into-python-classes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraveen1664%2Ftranslate-terra-form-resources-into-python-classes/lists"}