{"id":18469511,"url":"https://github.com/miteshsharma/terraformexec","last_synced_at":"2026-04-29T23:03:13.952Z","repository":{"id":109599520,"uuid":"393943452","full_name":"MiteshSharma/TerraformExec","owner":"MiteshSharma","description":"Execute terraform command through go code with Postgres as backend","archived":false,"fork":false,"pushed_at":"2021-08-08T13:14:58.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T18:34:25.631Z","etag":null,"topics":["exec","git","go","postgres","terraform"],"latest_commit_sha":null,"homepage":"","language":"Go","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/MiteshSharma.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-08T11:38:43.000Z","updated_at":"2021-08-08T14:30:57.000Z","dependencies_parsed_at":"2023-07-29T00:45:31.953Z","dependency_job_id":null,"html_url":"https://github.com/MiteshSharma/TerraformExec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FTerraformExec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FTerraformExec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FTerraformExec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FTerraformExec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiteshSharma","download_url":"https://codeload.github.com/MiteshSharma/TerraformExec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252839282,"owners_count":21812084,"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":["exec","git","go","postgres","terraform"],"created_at":"2024-11-06T10:10:43.963Z","updated_at":"2025-10-30T08:52:53.763Z","avatar_url":"https://github.com/MiteshSharma.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TerraformExec\n\nThis project is used to run terraform files using go code. We have git module which clone repository in a given directory. Using cli exec command, go code execute terraform files cloned using git.\n\nWe need a git repository to download tf code and directory where it needs to be downloaded. We are using postgres as terraform backend, so we need to provide a connection staring for this.\n\nGo to main.go, replace repository, directory, any variables to be added and postgres connection string.\n\nActions performed:\n1. Init\n2. Plan\n3. Apply\n4. Output: Returns map of type map[string]interface{} which can be used to fetch output parameters.\n5. Destroy\n\nFor more details around terraform: https://www.terraform.io/ \n\nRequirement:\nterraform cli must be downloaded on system and must be executable. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiteshsharma%2Fterraformexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiteshsharma%2Fterraformexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiteshsharma%2Fterraformexec/lists"}