{"id":17675107,"url":"https://github.com/conorgil/tfstate","last_synced_at":"2025-03-30T17:12:07.766Z","repository":{"id":141849430,"uuid":"70618719","full_name":"conorgil/tfstate","owner":"conorgil","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-11T01:42:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T18:47:33.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conorgil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-10-11T17:33:46.000Z","updated_at":"2019-08-05T20:45:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b731d4dd-ce9f-4e0c-9c0b-58c4719c1853","html_url":"https://github.com/conorgil/tfstate","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorgil%2Ftfstate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorgil%2Ftfstate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorgil%2Ftfstate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorgil%2Ftfstate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conorgil","download_url":"https://codeload.github.com/conorgil/tfstate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246351019,"owners_count":20763232,"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":[],"created_at":"2024-10-24T07:10:00.622Z","updated_at":"2025-03-30T17:12:07.734Z","avatar_url":"https://github.com/conorgil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tfstate - Easily get output from terraform state\n\n`tfstate` is a convenience tool that can output terraform output as a JSON\nobject from any supplied terraform state. The terraform state references are\nloaded using a uri format.\n\n## Key Features\n\n* Supports Remote State (S3 only at the moment)\n* Uses a default 60 second cache to reduce network overhead and increase speed of query\n\n## CLI Usage\n\nGet the terraform output for the state stored in an s3 bucket `mybucket` and the\npath `infrastructure/production`:\n\n    $ tfstate --state-uri=s3://mybucket/infrastructure/production\n\n## Library Usage\n\nUsage in a library is also equally as simple:\n\n    import tfstate\n\n    state_uri = \"s3://mybucket/infrastructure/production\"\n\n    output = tfstate.get(state_uri)\n\nThe `output` object is simply a dictionary of the terraform output\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconorgil%2Ftfstate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconorgil%2Ftfstate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconorgil%2Ftfstate/lists"}